CN104063381A - Multilevel tree menu display method and terminal - Google Patents

Multilevel tree menu display method and terminal Download PDF

Info

Publication number
CN104063381A
CN104063381A CN201310088123.0A CN201310088123A CN104063381A CN 104063381 A CN104063381 A CN 104063381A CN 201310088123 A CN201310088123 A CN 201310088123A CN 104063381 A CN104063381 A CN 104063381A
Authority
CN
China
Prior art keywords
node
nodes
contraction
operations
destination
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
CN201310088123.0A
Other languages
Chinese (zh)
Other versions
CN104063381B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310088123.0A priority Critical patent/CN104063381B/en
Publication of CN104063381A publication Critical patent/CN104063381A/en
Application granted granted Critical
Publication of CN104063381B publication Critical patent/CN104063381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a multilevel tree menu display method and a terminal, and belongs to the display field. The multilevel tree menu display method is designed to solve problems that nodes of a multilevel tree menu in the prior art are numerous and occupy display space and the nodes are difficult to look up. The multilevel tree menu display method comprises steps as follows: displaying the multilevel tree menu; acquiring a plurality of target nodes in the multilevel tree menu, wherein the number of times for selection operation executed on the nodes doesn't exceed the preset number of times for operation; acquiring at least two target nodes belonging to the same father node from the plurality of target nodes; and shrinking the at least two target nodes belonging to the same father node to a concealed node under the father node.

Description

The display packing of multistage tree menu and terminal
Technical field
The present invention relates to demonstration field, relate in particular to a kind of display packing and terminal of multistage tree menu.
Background technology
Universal along with terminal, the Classification Management of carrying out data by terminal becomes one of approach realizing digital management with showing, and wherein, multistage tree menu is the exhibition method of data conventional in the process of enterprise operation and management.In multistage tree menu, user can pass through to click a node in one-level, thereby shows the next stage node of storing in this node.
In existing multistage tree menu, for enterprise, every one-level can comprise a large amount of nodes, and in the time that terminal shows tree menu, user needs node one by one to launch to search needed node.So, expanding node makes multistage tree menu take a large amount of display spaces one by one, and user also needs loaded down with trivial details operation just can find needed node.
Summary of the invention
Embodiments of the invention provide a kind of display packing and terminal of multistage tree menu, can save the display space of terminal, are convenient to user and search conventional node to save the running time.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the invention provides a kind of display packing of multistage tree menu, comprising:
Show multistage tree menu;
In described multistage tree menu, obtain user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node;
In described multiple destination nodes, obtain at least two destination nodes that belong to same father node;
Described at least two destination nodes that belong to same father node are contracted to the concealed nodes under described father node.
In conjunction with a first aspect of the present invention, in the possible implementation of the first of first aspect present invention, after the selection number of operations of the described user of the obtaining selection operation performed to each node exceeds multiple destination nodes of preset number of operations, also comprise:
Obtain the sequencing numbers of described multiple destination nodes;
Described in described multiple destination nodes, obtain at least two destination nodes that belong to same father node, be specially:
In described multiple destination nodes, obtain at least two sequencing numbers continuously and belong to the destination node of same father node;
Described described at least two destination nodes that belong to same father node are contracted to the concealed nodes under described father node, are specially:
By described at least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under described father node.
In conjunction with the possible implementation of the first of a first aspect of the present invention or first aspect, in the possible implementation of the second of a first aspect of the present invention, after the multistage tree menu of described demonstration, also comprise:
Receive the performed node contraction operation of user;
From described node contraction operation, obtain multiple manual contraction nodes;
In the time that described multiple manual contraction nodes belong to same father node, at least two manual contraction section points that belong to same father node are contracted to a concealed nodes;
Described at least two the selection number of operations that belong to the manual contraction node of same father node are adjusted into default value, and described default value does not exceed described preset number of operations.
In conjunction with the possible implementation of the second of a first aspect of the present invention, in the third possible implementation of a first aspect of the present invention, described method, also comprises:
Obtained the quantity of the node of contraction, described in complete the quantity of the node of contraction, comprised contraction destination node quantity or complete at least one in the quantity of manual contraction node of contraction;
Described quantity is shown in to corresponding concealed nodes around.
In conjunction with the third possible implementation of the possible implementation of the first of a first aspect of the present invention or first aspect or first aspect, in the 4th kind of possible implementation of a first aspect of the present invention, described method, also comprises:
Receive user for the performed expansion operation of described concealed nodes;
In described multistage tree menu, to described expansion operation for concealed nodes launch.
Second aspect, the invention provides a kind of terminal, comprising:
Display unit, for showing multistage tree menu;
Comparing unit, at described multistage tree menu, obtains user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node;
Determining unit, at described multiple destination nodes, obtains at least two destination nodes that belong to same father node;
Shrink unit, be contracted to the concealed nodes under described father node for the destination node that belongs to same father node by described at least two.
In conjunction with a second aspect of the present invention, in the possible implementation of the first of a second aspect of the present invention, described terminal, also comprises:
Sequencing numbers acquiring unit, for obtaining the sequencing numbers of multiple destination nodes;
Described determining unit, specifically in described multiple destination nodes, obtains at least two sequencing numbers continuously and belongs to the destination node of same father node;
Described contraction unit, specifically for when by described at least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under described father node.
In conjunction with the possible implementation of the first of a second aspect of the present invention or second aspect, in the possible implementation of the second of a second aspect of the present invention, described terminal, also comprises:
Node contraction operation acquiring unit, for receiving the performed node contraction operation of user;
Described determining unit, also for obtaining multiple manual contraction nodes from described node contraction operation;
Described contraction unit, also in the time that described multiple manual contraction nodes belong to same father node, is contracted to a concealed nodes by least two manual contraction section points that belong to same father node;
Reset unit, is adjusted into default value for the selection number of operations that belongs to the manual contraction node of same father node by least two, and described default value does not exceed described preset number of operations.
In conjunction with the possible implementation of the second of a second aspect of the present invention, in the third possible implementation of a second aspect of the present invention, described terminal, also comprises:
Counting unit, for having obtained the quantity of node of contraction, described in complete the quantity of the node of contraction, comprised contraction destination node quantity or complete at least one in the quantity of manual contraction node of contraction;
Described display unit, also for being shown in corresponding concealed nodes around by described quantity.
In conjunction with the third possible implementation of the possible implementation of the first of a second aspect of the present invention or second aspect or second aspect, in the 4th kind of possible implementation of a second aspect of the present invention, described terminal, also comprises:
Launch operation acquiring unit, also for receiving user for the performed expansion operation of described concealed nodes;
Launch unit, at described multistage tree menu, to described expansion operation for concealed nodes launch.
The display packing of a kind of multistage tree menu that the embodiment of the present invention provides and terminal, select the selection number of operations of node by obtaining user, and contrast according to this selection number of operations and preset number of operations, what definite selection number of operations did not exceed preset number of operations is the less destination node of number of times of user's executable operations, thereby the node that user is seldom checked is as destination node, and the destination node belonging under same father node is contracted in a concealed nodes, thereby save the display space in terminal, and being convenient to user searches and has saved the time consuming while searching node node.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The multistage tree menu of Fig. 1 for storing in terminal of the present invention;
Fig. 2 is the process flow diagram of the display packing of multistage tree menu of the present invention;
Fig. 3 is the schematic diagram after the multistage tree menu shown in Fig. 1 is shunk;
Fig. 4 is after the multistage tree menu shown in Fig. 1 is shunk and has marked the schematic diagram of the quantity of the node of contraction;
The multistage tree menu of Fig. 5 for storing in another embodiment of the present invention middle plateform computer;
Fig. 6 is the process flow diagram of the display packing of multistage tree menu in another embodiment of the present invention;
Fig. 7 is the schematic diagram after multistage tree menu in Fig. 5 is shunk;
Fig. 8 carries 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 structural representation of the terminal described in the embodiment of the present invention;
Figure 11 is the structural representation of the panel computer described in the embodiment of the present invention;
Figure 12 is the structural representation of the panel computer described in another embodiment of the present invention.
Embodiment
Display packing and terminal below in conjunction with accompanying drawing to the multistage tree menu of the embodiment of the present invention are described in detail.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In order to facilitate user that the mass data of storing in terminal is managed and shown, can adopt the form of multistage tree menu to show.For example, in terminal, store multistage tree menu as shown in Figure 1, in this multistage tree menu, at least comprise five ranks; This rank starts step-by-step calculation from root node, belongs to the node that also can be called a rank of different father nodes; Start in such a way to calculate, the first order is commercial affairs; The second level is market distribution; The third level is that continent distributes, and wherein comprises the nodes such as Asia, North America, Europe, South America, Oceania and Africa; The fourth stage is distribution of countries, take Asia as example, wherein comprises the nodes such as China, Japan and Korea S; Level V is that area distributes, and taking China as example, wherein comprises the nodes such as Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu; Select behind area user, the related data that can demonstrate the business in corresponding area is shown, in showing, can this node be carried out associated with the file of storing in terminal, in the time that user clicks this node, show that corresponding file is to show the needed data of user.
Whether the relation of father node and child node points to same father node by child node judges, for example Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu node belong to same father node, i.e. China; Therefore, just can know that these nodes of Chinese node and Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu are the relation of father node and child node.
In addition, taking level V as example, for each node in level V, it belongs to same father node " China ", and in the process of showing, terminal can be obtained the sequencing numbers of each node that level V comprises, and determines the displaying order of level V node according to the order of this sequencing numbers.
Certainly the node comprising in above-mentioned each rank and each rank need to arrange according to user's actual needs, be that rank number is not limited to above-mentioned illustrational rank number and node number with the node number comprising, and putting in order of each node also can be adjusted according to the actual needs.
In order to take less display space, and be convenient to user needed conventional node is searched to save searching the time of conventional node, in the process that multistage tree menu is shown, the invention provides a kind of display packing of multistage tree menu, as shown in Figure 2, comprising:
S100, show multistage tree menu.
Terminal is obtained above-mentioned multistage tree menu, and according to the attribute information of storing of each node in obtained multistage tree menu, and this attribute information comprises nodename, selects number of operations, the information such as sequencing numbers and affiliated father node.
Determine and select the selection operation of number of operations can comprise various ways, for example this selection operation can be clicked for user the operation of node, also can launch a node or load the operation etc. of a corresponding file of node for user, those skilled in the art's understanding is, the form of corresponding selection operation can be set arbitrarily, only need determine the node that needs to keep displaying according to the performed selection number of operations of user, not make too many restrictions at this.
This selection number of operations can be set to a default value in the time of this node loading for the first time, for example can be set to 0, certainly according to the expansion of node or the needs of contraction for new loading in multistage tree menu, this default value also can be set to other value.Carry out while selecting operation to select corresponding node user, the mode that can carry out by pointing touch-control on touch screen realizes, also the mode that can select by external input equipments such as user's operating mouse and/or keyboards realizes and it will be understood by those skilled in the art that, above-mentioned selection operation can comprise one or more operations that same input equipment is performed, also can comprise the operation performed by different input equipments, this is not restricted.In the time that user carries out selection operation to a node, the selection number of operations comprising in this node is changed.
Terminal is according to the attribute information of each obtained node, multistage tree menu is loaded, and generate corresponding multistage tree menu according to this attribute information, in the display device of terminal, show, in the process showing, can be by figure or symbol being set before each node to embody this node be in deployed condition, contraction state or show whether this node also exists child node etc.In example multistage tree menu as shown in Figure 1, before node, show the node of frame, have child node just can be understood as this node, as nodes such as commercial affairs and market distributions; Corresponding,, there is not child node just can be understood as this node, as the node such as Beijing and Shanghai in the node of display box not before node.In addition, can determine that this node is in deployed condition or contraction state by symbol shown in this frame, be plus sige as what show in the frame before Japanese node, illustrate that this node comprises child node and in contraction state, and what show in frame before Chinese node is minus sign, illustrate that this node comprises child node and in deployed condition.Certainly, the show state that node is concrete, also can mark in other way, and such as triangle represents in deployed condition and circular represent in contraction state etc., and this is not restricted.
After multistage tree menu shows, user can launch node as required and shrink, search with this data that comprised in needed node, in this course, select number of operations to change with the selection operation according to user, this change can be for to increase progressively, to successively decrease or to carry out plus-minus successively with the numerical value of a setting, as long as can the performed operation of recording user.
S101, in multistage tree menu, obtain user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection of each node operation.
After the set time period, terminal can scan each node in multistage tree menu, thereby obtains in the time period of process, and to each node, performed selection operates corresponding selection number of operations to user; The child node for example comprising for Chinese node, in elapsed time section, user is 30 times to the performed selection number of operations of Beijing node, it is 10 times to the performed selection number of operations of Shanghai node, it is 7 times to the performed selection number of operations of Guangdong node, being 20 times to the performed selection number of operations of Zhejiang node, is 9 times to the performed selection number of operations of Jiangsu node.
Need explanation time, in the time that user selects operation to a child node, the selection number of operations of the superior node corresponding with the expansion of this child node also will change, for instance, in the time that the selection number of operations of Guangdong node changes, the father node Asia node of the father node China node of Guangdong node, Chinese node, the father node market distribution node of Asia node and the father node of market distribution node commercial affairs node need respectively to increase progressively; So, just there will not be child node to select the contradiction of the selection number of operations of number of operations and the corresponding father node of this child node, and situation about causing confusion while causing showing multistage tree menu.In addition, in the time that user selects operation to child node, the variation of the selection number of operations of superior node also can arrange the different value of increase and decrease, for example, make the selection number of operations of child node add at 1 o'clock in click child node, and its father node increases by 0.5.Can expect, also can different preset number of operations be set for each rank, for example, the preset number of operations of level V is 15, and the preset number of operations of the fourth stage is 40, certainly, this preset number of operations need to arrange according to actual sight, and this is not restricted.
Obtained in terminal after the selection number of operations of each node, preset number of operations pre-stored in the selection number of operations to each node and terminal compares; It is 15 times that this preset number of operations for example can be set, can know that according to the contrast of the selection number of operations of each node and preset number of operations the selection number of operations of Beijing node and Zhejiang node is greater than preset number of operations, and the selection number of operations of Shanghai node, Guangdong node and Jiangsu node is less than preset number of operations.
Now, can determine destination node according to the comparing result of the selection number of operations of above-mentioned each node and preset number of operations, can carry out being retracted to the node not showing in a concealed nodes to it thereby this destination node refers to that number of times that user inquires about is less.
It should be noted that, according to the difference of the default value of the selection number of operations of each node and each numerical value changing, while determining destination node institute according to selection number of operations and the also difference of comparative result of preset number of operations.For example, when select the default value of number of operations be set to 40, default select number of times be 15 and user carry out while once selecting operation to make to select number of operations to successively decrease, be understandable that, for a node, select number of operations more the bright user of novel to browse the number of times of the data in this node just more, corresponding, selecting number of operations, larger to illustrate that user browses the number of times of the data in this node just fewer; Certainly in terminal, also can carry out contrary setting, for example, when select the default value of number of operations be set to 0, default select number of times be 15 and user carry out while once selecting operation to make to select number of operations to increase progressively, be understandable that, for a node, select the larger explanation of number of operations user to browse the number of times of the data in this node just more, corresponding, selecting number of operations, less to illustrate that user browses the number of times of the data in this node just fewer; To those skilled in the art, select the default value of number of operations, this selection number of operations and according to after the rule of the change of selecting operation institute to carry out selection number of operations, just can determine the destination node that need to be retracted in concealed nodes by arranging in terminal.For example, the determined destination node of terminal is Shanghai node, Guangdong node and Jiangsu node.
General, the number of determined destination node is multiple, because in the time that the number of this destination node is one, even if be retracted to the object that also cannot realize the shared display space of the multistage tree menu of minimizing in a concealed nodes.
S102, in multiple destination nodes, obtain at least two destination nodes that belong to same father node.
In above-mentioned steps, determine that Shanghai node, Guangdong node and Jiangsu node are after destination node, terminal needs further to judge whether determined destination node belongs to same father node, because if when the destination node that does not belong to same father node is contracted to same concealed nodes, can cause the confusion of multistage tree menu structure, for example, Beijing node and Japanese node contraction obviously not met to the prototype structure of multistage tree menu to same concealed nodes.
Carrying out destination node while judging, just can determine according to the attribute information in destination node the father node that each destination node belongs to, for example, Shanghai node, Guangdong node and Jiangsu node belong to a father node simultaneously, be Chinese node, institute can be in Shanghai node, Guangdong node and Jiangsu node contraction to concealed nodes to determine.
S103, at least two destination nodes that belong to same father node are contracted to the concealed nodes under this father node.
In multiple destination nodes, determine after at least two destination nodes that belong to same father node, need the destination node to belonging to same father node to shrink.
For instance, this shrinks and can realize in the following way node:
In the attribute information of each node, add the project of " demonstration situation ", whether this demonstration situation shows at multistage tree menu for this node of mark, and can switch corresponding node show or hide in multistage tree menu by the change of the information that records in demonstration situation, for example, in the time that this show state is 1, this node is in show state, this node is presented in multistage tree menu and shows, and in the time that this show state is 0, this node is in hidden state, and this node is not presented in multistage tree menu.
Under each father node, can set in advance a concealed nodes, also there is the attribute information of this demonstration situation in this concealed nodes; In the time not there is not the destination node that needs contraction, the information recording in this demonstration situation is 0, keeps hidden state, in the time there is destination node, this demonstration situation is adjusted into 1, becomes show state, and now this concealed nodes shows under corresponding father node.This concealed nodes can show the arbitrary position in all child nodes of father node, and the sequencing numbers in the attribute information of this concealed nodes only need to be set, for example, concealed nodes can be set and appear at last of all child nodes.
Determining after destination node by above-mentioned steps, first, by the demonstration situation of adjustment aim node, the destination node that belongs to same father node is adjusted into hidden state from show state, in multistage tree menu, do not show the destination node that belongs to same father node, so just can vacate display space; Secondly, the demonstration situation of the default concealed nodes under this father node is adjusted to show state from hidden state; Finally, set up and belong to the destination node of same father node and the incidence relation of this concealed nodes.So, just can determine and under this concealed nodes, shrink the above-mentioned destination node that belongs to same father node.
In addition, also can in this father node, not set in advance concealed nodes, but determining after the destination node that belongs to same father node that existence needs to shrink, first, under this father node, generate this concealed nodes, in this concealed nodes, also need to comprise the attribute informations such as nodename, sequencing numbers and affiliated father node; Secondly, the demonstration situation of the destination node that belongs to same father node is adjusted into hidden state from show state; Finally, set up and belong to the destination node of same father node and the incidence relation of this concealed nodes.So also can realize above-mentioned to the object that does not need the destination node that belongs to same father node showing to shrink.
For the multistage tree menu shown in Fig. 1, in multistage tree menu, set up a father node and point to that Chinese node, nodename are set to not show, sequencing numbers is set to 20 node, i.e. above-mentioned concealed nodes; The demonstration situation of Shanghai node, Guangdong node and Jiangsu node is adjusted into hidden state from show state so that Shanghai node, Guangdong node and Jiangsu node do not show with multistage tree menu in; Set up associated between this concealed nodes and Shanghai node, Guangdong node and Jiangsu node, so just complete the contraction for destination node.
In addition, in order not upset the sequence of each node in original multistage tree menu, described method, after the selection number of operations that obtains user's selection operation performed to each node does not exceed multiple destination nodes of preset number of operations, also comprises: the sequencing numbers that obtains multiple destination nodes; Describedly in multiple destination nodes, obtain the destination node that two of Zhai Shao belong to same father node, be specially: in multiple destination nodes, obtain at least two sequencing numbers continuously and belong to the destination node of same father node; Described at least two destination nodes that belong to same father node are contracted to the concealed nodes under this father node, be specially: by least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under this father node, sequencing numbers is discontinuous not to be shunk.Now, because may there are multiple concealed nodes simultaneously, so terminal need to be obtained the sequencing numbers of a destination node in the destination node that needs to shrink, the sequencing numbers of the concealed nodes generating can be set to the sequencing numbers of a destination node, so, just can on the position of this destination node, there is generated concealed nodes, in the time that user is switched show state and hidden state, just can not upset the sequence of each node in original multistage tree menu.
In the process showing at multistage tree menu, except terminal realizes the contraction of node automatically, can also shrink by the manual mode of user.
First, receive the operation of the performed node contraction of user, this node contraction operation with select operation similar, can be by touch screen, carry out as the mode such as mouse and/or keyboard of external input equipment, this node contraction operation can arrange respectively multiple operation format, and this is not restricted; General, this node contraction operation, corresponding number of nodes is also multiple, and user is in the time carrying out this node contraction operation, and corresponding node can be continuous or interval, but corresponding node must be the node that belongs to same father node.
Secondly, from node contraction operation, obtain multiple manual contraction nodes.
Afterwards, manual contraction section point is contracted in a concealed nodes, and the nodal operation number of times that manually shrinks node is adjusted into default value, , by above-mentioned described contraction mode, manual contraction section point is shunk, for fear of node contraction operation and terminal issuable conflict between contraction automatically, complete after contraction, at least two selection number of operations that belong to the manual contraction node of same father node need to be resetted, can be reset to the default value having arranged, or also can will select number of operations to be reset to arbitrary value, only however can manually shrink with automatically shrink between there is conflict, described default value does not exceed preset number of operations, thereby avoid through after a period of time, the node that the back of the body shrinks can the demonstration again according to selecting the comparison of number of operations and preset number of operations, cannot keep the state manually shrinking.
In order to make user distincter in the multistage tree menu that completes contraction, the quantity of the node shrinking in each concealed nodes, optionally, described method, also comprise: the quantity of having obtained the node of contraction, complete the quantity of the node of contraction, comprised contraction manual contraction node quantity or complete at least one in the destination node of contraction; This quantity is shown in to corresponding concealed nodes around; For example, in multistage tree menu as shown in Figure 1, the quantity of the node comprising in a concealed nodes is presented on this concealed nodes position afterwards, show that multistage tree menu after this quantity as shown in Figure 4, in concealed nodes as shown in Figure 4 " does not show ", contraction has Shanghai node, Guangdong node and Jiangsu node, these three nodes.
It should be noted that, after shrinking according to the comparative result of selecting number of operations and preset number of operations in terminal and shrinking according to user's node contraction operation, can carry out this step, so that the number of nodes that is contracted to concealed nodes is shown to the position that this concealed nodes is corresponding, understand intuitively thereby be convenient to user the number of nodes comprising in concealed nodes.
Further, in carrying out multistage tree menu by said process, when the contraction of node, can also be set a time period, in this time period, terminal pins is carried out record to user to the performed operation of all nodes; When after this time period, the selection number of operations to node and the relation of preset number of operations judge again, and the contraction to node in multistage tree menu again, so, just can complete completing of circulation according to user's operation and shrink and launch.Optionally, through this time period and complete after the contraction of node, the selection number of operations of each node can be resetted, user's operation in the next time period of the new record of laying equal stress on, with the operation of the recording user of this time segment, avoid the cumulative contraction of node causing of time and the problem that the situation of expansion remains unchanged.
In addition, for user can check the node shrinking in concealed nodes, described method, also comprises: first, receive user for the performed expansion operation of this concealed nodes; Secondly in multistage tree menu, to this expansion operation for concealed nodes launch.; in the time that user launches operation to this concealed nodes; terminal is according to the incidence relation between destination node and concealed nodes; this demonstration situation by this destination node can be adjusted into show state from hidden state; and the demonstration situation of this concealed nodes is adjusted into hidden state from show state; so, just having completed user launches the destination node having shunk.
Wherein, above-mentioned selection operation and expansion operation can be set to identical or different modes of operation, and in general this node contraction operation needs and select operation different with expansion operation.For example, if when terminal receives the performed selection operation of user, expansion operation and node contraction operation by mouse, can and launch operation by this selection operation and all be set to left mouse button clicking operation, and node contraction operation can be set to scope and selects operation and select to click operation by right key on the selected node of operation by mouse in scope and realize.In addition, in the time that input equipment is touch screen, this selection operation and launch operation and can be set to a finger performed some selection operation on touch screen, and node contraction operation can be by multiple fingers performed expansion selection operation on touch screen.Certainly, for selecting operation, launching operation and node contraction operation, need to determine according to actual input equipment, it will be appreciated by those skilled in the art that, terminal only different operations or different operational scenarios need to be set, so that can be distinguished just and can realize to these several operations respectively.
Optionally, after the adjustment of demonstration situation that completes concealed nodes and destination node, also can delete this concealed nodes and generate this concealed nodes with correspondence.
It should be noted that, above-mentionedly just listed vanishing target node, concealed nodes is occurred and set up destination node and concealed nodes between two kinds of associated modes, to those skilled in the art, also can realize in other way, not repeat them here; And the process of above-mentioned contraction and expansion is not limited to above-mentioned flow process, the execution sequence of this flow process also can carry out front and back to be exchanged.
Optionally, adding after the multistage tree menu of storing in mounted terminal, also can first complete after the contraction of each node according to selection number of operations, then carry out the demonstration of multistage tree menu, for the order that shows and shrink, also can not be restricted.And, in the time of the judgement of shrinking, can carry out according to the rank order of setting, for example, can start judgement from the higher node of rank, in the time that definite higher node of this rank does not shrink, again more low-level node is judged, so, after just can avoiding superior node being shunk, repeatedly downstream site is shunk, more convenient while making user's expanding node.But concrete situation can be selected according to the actual needs, this is not restricted.
The display packing of a kind of multistage tree menu that the embodiment of the present invention provides, select the selection number of operations of node by obtaining user, and contrast according to this selection number of operations and preset number of operations, thereby the node that user is seldom checked is as destination node, and the destination node belonging under same father node is contracted in a concealed nodes, thereby save the display space in terminal, and be convenient to user node is searched and saved the time consuming while searching node.
For those skilled in the art understand the technical scheme of the display packing of the multistage tree menu that the embodiment of the present invention provides better, below by specific embodiment, the display packing of multistage tree menu provided by the invention is elaborated.
The present embodiment is taking panel computer as example, and the display packing of the multistage tree menu of the present embodiment, as shown in Figure 5, comprising:
S1, user click application program, and panel computer starts this application program, obtain in this application program and comprise multistage tree menu, and multistage tree menu is shown.
Concrete, in this step, on panel computer, showing in the process of above-mentioned multistage tree menu, panel computer first can obtain each node of multistage tree menu, and shows this multistage tree menu according to the relation of father node institute mark.
The multistage tree menu comprising in this application program as shown in Figure 6, comprises five ranks at this multistage tree menu; The first order is commercial affairs; The second level is market distribution; The third level is that continent distributes, and wherein comprises Asia, North America, Europe, South America, Oceania and African node; The fourth stage is distribution of countries, take Asia as example, wherein comprises China, Japan and Korea S's node; Level V is that area distributes, and taking China as example, wherein comprises Beijing, Shanghai, Guangdong, Zhejiang and Jiangsu node, taking Japan as example, wherein comprises Tokyo and Osaka node, taking Korea S as example, wherein comprises Soul and Pusan's node.
S2, panel computer contrast to the selection number of operations in the attribute information of the each node of this multistage tree menu with for set preset number of operations at different levels, obtain user is greater than preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node.
According to the performed selection operation of user in the past, in the attribute information of each node, selection number of operations is respectively: in level V, and Beijing node 20 times, Shanghai node 10 times, Guangdong node 8 times, 13 times, Zhejiang, 17 times, Jiangsu, 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, Korea S's 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 times, Oceania node 8 times, African node 12 times; In the second level, market distribution node 155 times; In the first order, commercial node 160 times.
In the present embodiment, for different ranks, different preset number of operations is set, the preset number of operations of for example first order is 50, the preset number of operations of the second level is 40, the preset number of operations of the preset number of operations 30 of the third level, the fourth stage is 20, the preset number of operations of level V is 15.
So,, according to the selection number of operations of each node and preset number of operations at different levels, determine respectively the multiple destination nodes at different levels.In the present embodiment, start judgement from the higher node of rank, and determine that the node of selecting number of operations to be greater than preset number of operations is destination node, according to selection number of operations and the preset number of operations of each node in the present embodiment, in the first order, the selection number of operations of commercial node is greater than the preset number of operations of this rank, and commercial node is non-destination node, in the second level, the selection number of operations of market distribution node is greater than the preset number of operations of this rank, and market distribution node is non-destination node, in the third level, Asia node, the selection number of operations of Europe node is greater than the preset number of operations of this rank, and North America node, South America node, the selection number of operations of Oceania node and African node is less than the preset number of operations of this rank, therefore Asia node and European node are non-destination node, North America node, South America node, Oceania node and African node are destination node, this is in the third level, determine North America node, South America node, Oceania node and African node are destination node, can no longer judge the child node of above-mentioned four nodes, and the child node only Asia node and European node being comprised judges, similar because judging flow process, judge for the child node under the node of Asia at this, at the fourth stage, the selection number of operations of China's node is greater than the preset number of operations of this rank, and the selection number of operations of Japanese node and Korea S's node is less than the preset number of operations of this rank, so Japanese node and Korea S's node are destination node, in level V, the child node comprising for Chinese node, Shanghai node, Guangdong node and Zhejiang node are destination node.
S3, panel computer obtain at least two destination nodes that belong to same father node in multiple destination nodes.
Panel computer is according to the father node in the attribute information of at least two targets of having determined, determines in above-mentioned destination node, whether there is the destination node that belongs to same father node.
In the present embodiment, Shanghai node, Guangdong node, Zhejiang node belong to same father node, i.e. Chinese node; Japan's node, Korea S's node belong to same father node, i.e. Asia node; North America node, South America node, Oceania node and African node belong to same father node.
S4, panel computer be according to the sequencing numbers in the attribute information of each node, and whether at least two of judgements belong to the sequencing numbers of destination node of same father node respectively continuous.
If continuously, perform step S5; If discontinuous, finish to adjust.
Can know by judgement, in the third level, the sequencing numbers of South America node, Oceania node and African node is continuous, because there is no the destination node continuous with North America node, so avoid sequence chaotic, North America node does not shrink; In the fourth stage, the child node comprising for Asia node, the sequencing numbers of Japanese node and Korea S's node is continuous; In level V, the child node comprising for Chinese node, the sequencing numbers of Shanghai node, Guangdong node and Zhejiang node is continuous.
S5, panel computer by least two sequencing numbers continuously and the destination node that belongs to same father node be retracted in a concealed nodes.
Determining that after the destination node that needs to shrink, panel computer need to be carried out contraction to destination node, to reduce display space.
Concrete, in this step of the present embodiment, panel computer can mainly be carried out following a few small step:
S50, panel computer by least two sequencing numbers continuously and the destination node that belongs to same father node adjust to hidden state from show state.
In attribute information in node, comprise demonstration situation this, belong to after same father node and the continuous destination node of sequencing numbers having determined, respectively by South America node in the third level, Oceania node and African node, Japanese node in the fourth stage and Korea S's node, the continuous demonstration situation of the sequencing numbers of Shanghai node, Guangdong node and Zhejiang node in level V is adjusted into 0 from 1, is adjusted into hidden state from show state; Wherein, the destination node that need to be retracted to a concealed nodes can be referred to as to one group of destination node.
S51, panel computer generate a concealed nodes according to each group destination node, and the sequencing numbers of this concealed nodes is consistent with the sequencing numbers of the arbitrary destination node in this group.
In this step of this enforcement, generate a concealed nodes for one group of destination node, and nodename is set to " not showing "; The sequencing numbers of concealed nodes arranges according to the sequencing numbers of this group destination node of correspondence, for example the sequencing numbers of the concealed nodes in Chinese node can be set to 2, after the node of Beijing, show, the sequencing numbers of the concealed nodes in the node of Asia is also 2, after Chinese node, show, the sequencing numbers of the concealed nodes in market distribution node is 4, after European node, shows.
Now, need the sequencing numbers of the set corresponding former destination node of sequencing numbers of concealed nodes to be set to sky, or other can not affect other numerals of former destination node and concealed nodes sequence.
By above-mentioned steps, just can complete the shrinkage operation in the time starting application program, in the display device of panel computer, show multistage tree menu as shown in Figure 7, and start to record displaying time.
S52, panel computer are set up the incidence relation of each group destination node and corresponding concealed nodes.
S6, judge whether the displaying time that panel computer records exceeds Preset Time interval.
If exceeded, perform step 2; If do not exceeded, continue to record displaying time.
In another embodiment, between step 1-6, user can continue to check the data that comprise in node, now still can record the number of times of selecting operation.
In said process, user can by the operation of manual node contraction manual the node in multistage tree menu is carried out to manual contraction.
S7, user carry out node contraction operation to node, and panel computer receives this node contraction operation.
S8, panel computer judge that whether this manually shrink in node at least two and belong to same father node.
If so, perform step S90; If not, perform step S91, point out this node contraction operation of user to complete, the manual contraction section point that does not belong to same father node cannot be retracted to a concealed nodes.
This manually shrinks node is that node contraction operates selected node, in this step, the node below the Asia node in multistage tree menu is carried out to node contraction operation, wherein, operates corresponding node by this node contraction of textbox mark.
S90, panel computer are contracted at least two manual contraction section points that belong to same father node in a concealed nodes, and this selection number of operations that manually shrinks node is adjusted into default value.
The process of above-mentioned contraction and step S50, S51, S52 are similar, have just changed destination node into manual contraction node.After contraction completes, form multistage tree menu as shown in Figure 8, and panel computer is adjusted into default value by selection number of operations that this manually shrinks node automatically, for example 0, and after manually having shunk, perform step S91, recorded displaying time is resetted.After step S91, again record displaying time.
After completing shrinkage operation,, after step S6, S9, described method, also needs to carry out following steps:
S10, after contraction completes, determined the quantity of the node of contraction.
S11, quantity is shown in to corresponding concealed nodes around.
The node that this completes contraction, comprises at least one in manual contraction node or destination node; The multi-level display menu as shown in Figure 8 forming afterwards taking step 9 is as example, and in the time completing contraction, the concealed nodes of level V, comprises 3 nodes that complete contraction; The concealed nodes of the fourth stage, comprises 2 nodes that complete contraction; The concealed nodes of the third level, comprises 5 concealed nodes, and the quantity of concealed nodes is shown as shown in Figure 9.
In described method, in the time having shown concealed nodes in panel computer, can the node that complete contraction in concealed nodes be launched by user's expansion operation.
Be in described method, comprise:
S12, user carry out and launch operation, and panel computer receives performed expansion operation.
S13, panel computer in multistage tree menu, to launch operation for concealed nodes launch.
The process of launching is contrary with the process of contraction, the node that first concealed nodes comprises, and the incidence relation between the node comprising according to concealed nodes and concealed nodes, the demonstration situation of the node that concealed nodes is comprised is adjusted into show state; Secondly, the correlation attribute information of concealed nodes will be deleted.Wherein, when the sequencing numbers assignment of a node in the node in said process, concealed nodes being comprised is during to the sequencing numbers of concealed nodes, also need to adjust the sequencing numbers of this node is recovered.
Corresponding with the display packing of a kind of multistage tree menu of the present invention, the present invention also provides a kind of terminal 2, as shown in figure 10, comprising:
Display unit 200, for showing multistage tree menu;
Comparing unit 201, at multistage tree menu, obtains user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node;
Determining unit 202, at multiple destination nodes, obtains at least two destination nodes that belong to same father node;
Shrink unit 203, be contracted to the concealed nodes under this father node for the destination node that belongs to same father node by least two.
Optionally, described terminal 2, also comprise:
Sequencing numbers acquiring unit 204, for obtaining the sequencing numbers of multiple destination nodes.Further, described determining unit 202, specifically in multiple destination nodes, obtains at least two sequencing numbers continuously and belongs to the destination node of same father node
This contraction unit 203, specifically for by least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under this father node.
Optionally, described terminal 2, also comprises:
Node contraction operation acquiring unit 205, for receiving the performed node contraction operation of user;
This determining unit 202, also for obtaining multiple manual contraction nodes from node contraction operation;
This contraction unit 203, also, in the time that at least two manual contraction nodes of multiple manual contraction nodes belong to same father node, is contracted to a concealed nodes by least two manual contraction section points that belong to same father node;
Reset unit 206, is adjusted into default value for the selection number of operations that belongs to the manual contraction node of same father node by least two, and this default value does not exceed described preset number of operations.
Optionally, described terminal 1, also comprises:
Counting unit 207, for having obtained the quantity of node of contraction, the quantity that this completes the node of contraction, comprised contraction destination node quantity or complete at least one in the quantity of manual contraction node of contraction;
This display unit 200, also for being shown in corresponding concealed nodes around by this quantity.
Optionally, described terminal 2, also comprises:
Launch operation acquiring unit 208, also for obtaining user for the performed expansion operation of concealed nodes;
Launch unit 209, for according to select operation, in multistage tree menu, to select operation for concealed nodes launch.
A kind of terminal that the embodiment of the present invention provides, select the selection number of operations of node by obtaining user, and contrast according to this selection number of operations and preset number of operations, thereby the node that user is seldom checked is as destination node, and the destination node belonging under same father node is contracted in a concealed nodes, thereby save the display space in terminal, and be convenient to user node is searched and saved the time consuming while searching node.
Figure 11 shows the structure of the above-mentioned terminal of the present invention 2, structure by this terminal 2 can be for implementing the method described in the embodiment of the present invention, for convenience of explanation, only show the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the method for the present invention.
This terminal can be for comprising PC (Personal Computer, PC), mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the terminal device such as vehicle-mounted computer, be example taking terminal as panel computer, shown in Figure 11 is the block diagram of the part-structure of the panel computer 300 that the terminal that provides to the embodiment of the present invention is relevant.Panel computer 300, comprises the parts such as input equipment 310, storer 320, display device 330, processor 340 and power supply 350.It will be understood by those skilled in the art that the handset structure shown in Figure 11 does not form the restriction to panel computer, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.
Below in conjunction with Figure 11, each component parts of panel computer 300 is specifically introduced:
Input equipment 310 can be used for receiving the instruction of input, and generation is inputted with the key signals that user arranges and function control is relevant of panel computer 300.Input equipment 310 can comprise contact panel 311 and other input equipments 312.Contact panel 311, also referred to as touch-screen, can collect user or near touch operation (using any applicable object or near the operations of annex on contact panel 311 or contact panel 311 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, contact panel, 311 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 340, and the order that energy receiving processor 340 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 311.Except contact panel 311, input equipment 310 can also comprise other input equipments 312.Particularly, other input equipments 312 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Storer 320 can be used for storing software program and module, and processor 340 is stored in software program and the module of storer 320 by operation, thereby carries out various function application and the data processing of panel computer 300.Storer 320 can mainly comprise storage program district and storage data field, and wherein, the application program that storage program district can storage operation system, at least one function is required also exists corresponding icon; The data (such as voice data, phone directory etc.) that create according to the use of panel computer 300 etc. can be stored in storage data field.In addition, storer 320 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Display device 330 can be used for showing the information inputted by user or the various menus of the information that offers user and panel computer 300.Display device 330 can comprise display panel 331, optionally, can adopt LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-EmittingDiode, Organic Light Emitting Diode) configure display panel 331.Further, contact panel 311 can cover display panel 331, when contact panel 311 detect thereon or near touch operation after, send processor 340 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 340 on display panel 311.Although in Figure 11, contact panel 311 and display panel 331 be as two independently parts realize input and the input function of panel computer 300, but in certain embodiments, can be by integrated to contact panel 311 and display panel 331 and realize the input and output function of panel computer 300.
Processor 340 is control centers of panel computer 300, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out the software program and/or the module that are stored in storer 320, and call the data that are stored in storer 320, carry out various functions and the deal with data of panel computer 300, thereby mobile phone is carried out to integral monitoring.Optionally, processor 340 can comprise one or more processing units; Preferably, processor 340 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 340.
Panel computer 300 also comprises the power supply 350 (such as battery) to all parts power supply, preferably, power supply can be connected with processor 340 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, panel computer 300 can also comprise camera, bluetooth module etc., does not repeat them here.
In the embodiment of the present invention, as shown in figure 12, storer 320, touch screen 360 and processor 340 that this panel computer 300 is included, also have following functions:
Storer 320, for storing multistage tree menu, this multistage tree menu comprises some nodes, in these some nodes, comprise respectively attribute information, this attribute information comprises the information such as nodename, demonstration situation, father node, selection number of operations and sequencing numbers, and these some nodes are divided into some ranks according to father node pointed; In this storer 320, also store 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 comprises two parts, for the display panel 331 display page being shown and load and the contact panel 311 that the performed touch control operation of user is obtained, this touch screen 360 can load and show multistage tree menu, also can obtain the performed touch control operation of user; This touch control operation can comprise: for starting the clicking operation of the application program that panel computer 300 stores, be used for the selection operation of the selection number of operations that changes each node, for making panel computer 300 be contracted to the node contraction operation of concealed nodes to manual contraction section point, for launching the expansion operation etc. of the node that concealed nodes comprises, certainly, it will be appreciated by those skilled in the art that, touch control operation can also comprise the operation that other touch screens 360 can be identified.
Described processor 340, at multistage tree menu, obtains user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node; In multiple destination nodes, obtain at least two destination nodes that belong to same father node; At least two destination nodes that belong to same father node are contracted to the concealed nodes under father node.
In embodiments of the present invention, in order not upset the sequence of each node in original multistage tree menu, at processor 340, after the selection number of operations that obtains user's selection operation performed to each node does not exceed the step of multiple destination nodes of preset number of operations, described processor 340 is also for obtaining the sequencing numbers of multiple destination nodes.Described processor 340, in multiple destination nodes, while obtaining at least two destination nodes that belong to same father node, specifically in multiple destination nodes, obtains at least two sequencing numbers continuously and belongs to the destination node of same father node; In the time that the destination node that at least two is belonged to same father node is contracted to the concealed nodes under father node, specifically for by least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under father node.
In an embodiment of the present invention, in order can and to hide by the demonstration of the manual knot modification of user's operation, described processor 340, also for receiving the performed node contraction operation of user; From node contraction operation, obtain multiple manual contraction nodes and go out manual contraction section point with the formal notation of textbox on demonstration touch screen 360; In the time that multiple manual contraction nodes belong to same father node, at least two manual contraction section points that belong to same father node are contracted to a concealed nodes; At least two selection number of operations that belong to the manual contraction node of same father node are adjusted into default value, and this default value is for exceeding preset number of operations.
In an embodiment of the present invention, for processor 340 described in the number of nodes that makes to shrink in the distincter concealed nodes of user, also for obtained contraction node quantity and be recorded in storer 320, the node that this completes contraction, comprises destination node or manually shrinks at least one in node; On touch screen 360, this quantity is shown in to corresponding concealed nodes around.
In embodiments of the present invention, described processor 340 is also for obtaining user for the performed expansion operation of concealed nodes; In multistage tree menu, to described selection operation for concealed nodes launch.
Carry out in the process of shrinking at above-mentioned processor 340, described processor 340 is specifically for first, in the time comprising the concealed nodes in hidden state under each father node, by the demonstration situation of adjustment aim node, the destination node that belongs to same father node is adjusted into hidden state from show state, in multistage tree menu, do not show the destination node that belongs to same father node, so just can vacate display space; Secondly, the demonstration situation of the default concealed nodes under this father node is adjusted to show state from hidden state; Finally, set up and belong to the destination node of same father node and the incidence relation of this concealed nodes.So, just can determine and under this concealed nodes, shrink the above-mentioned destination node that belongs to same father node.
In addition, also can in this father node, not set in advance concealed nodes, but determine and existed after the destination node that belongs to same father node that needs to shrink at processor 340, first, under this father node, generate this concealed nodes, in this concealed nodes, also need to comprise the attribute informations such as nodename, sequencing numbers and affiliated father node; Secondly, the demonstration situation of the destination node that belongs to same father node is adjusted into hidden state from show state; Finally, set up and belong to the destination node of same father node and the incidence relation of this concealed nodes.
The display packing of a kind of multistage tree menu that the embodiment of the present invention provides and terminal, select the selection number of operations of node by obtaining user, and carry out according to this selection number of operations and preset number of operations right, thereby the node that user is seldom checked is as destination node, and the destination node belonging under same father node is contracted in a concealed nodes, thereby save the display space in terminal, and be convenient to user node is searched and saved the time consuming while searching node.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (10)

1. a display packing for multistage tree menu, is characterized in that, comprising:
Show multistage tree menu;
In described multistage tree menu, obtain user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node;
In described multiple destination nodes, obtain at least two destination nodes that belong to same father node;
Described at least two destination nodes that belong to same father node are contracted to the concealed nodes under described father node.
2. method according to claim 1, is characterized in that, after the selection number of operations of the described user of the obtaining selection operation performed to each node does not exceed multiple destination nodes of preset number of operations, also comprises:
Obtain the sequencing numbers of described multiple destination nodes;
Described in described multiple destination nodes, obtain at least two destination nodes that belong to same father node, be specially:
In described multiple destination nodes, obtain at least two sequencing numbers continuously and belong to the destination node of same father node;
Described described at least two destination nodes that belong to same father node are contracted to the concealed nodes under described father node, are specially:
By described at least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under described father node.
3. method according to claim 1 and 2, is characterized in that, after the multistage tree menu of described demonstration, also comprises:
Receive the performed node contraction operation of user;
From described node contraction operation, obtain multiple manual contraction nodes;
In the time that described multiple manual contraction nodes belong to same father node, at least two manual contraction section points that belong to same father node are contracted to a concealed nodes;
Described at least two the selection number of operations that belong to the manual contraction node of same father node are adjusted into default value, and described default value does not exceed described preset number of operations.
4. method according to claim 3, is characterized in that, also comprises:
Obtained the quantity of the node of contraction, described in complete the quantity of the node of contraction, comprised contraction destination node quantity or complete at least one in the quantity of manual contraction node of contraction;
Described quantity is shown in to corresponding concealed nodes around.
5. according to the method described in claim 1,2 or 4, it is characterized in that, also comprise:
Receive user for the performed expansion operation of described concealed nodes;
In described multistage tree menu, to described expansion operation for concealed nodes launch.
6. a terminal, is characterized in that, comprising:
Display unit, for showing multistage tree menu;
Comparing unit, at described multistage tree menu, obtains user does not exceed preset number of operations multiple destination nodes to the selection number of operations of the performed selection operation of each node;
Determining unit, at described multiple destination nodes, obtains at least two destination nodes that belong to same father node;
Shrink unit, be contracted to the concealed nodes under described father node for the destination node that belongs to same father node by described at least two.
7. terminal according to claim 6, is characterized in that, also comprises:
Sequencing numbers acquiring unit, for obtaining the sequencing numbers of multiple destination nodes;
Described determining unit, specifically in described multiple destination nodes, obtains at least two sequencing numbers continuously and belongs to the destination node of same father node;
Described contraction unit, specifically for when by described at least two sequencing numbers continuously and the destination node that belongs to same father node be contracted to the concealed nodes under described father node.
8. according to the terminal described in claim 6 or 7, it is characterized in that, also comprise:
Node contraction operation acquiring unit, for receiving the performed node contraction operation of user;
Described determining unit, also for obtaining multiple manual contraction nodes from described node contraction operation;
Described contraction unit, also, in the time that at least two manual contraction nodes of described multiple manual contraction nodes belong to same father node, is contracted to a concealed nodes by least two manual contraction section points that belong to same father node;
Reset unit, is adjusted into default value for the selection number of operations that belongs to the manual contraction node of same father node by least two, and described default value does not exceed described preset number of operations.
9. terminal according to claim 8, is characterized in that, also comprises:
Counting unit, for having obtained the quantity of node of contraction, described in complete the quantity of the node of contraction, comprised contraction destination node quantity or complete at least one in the quantity of manual contraction node of contraction;
Described display unit, also for being shown in corresponding concealed nodes around by described quantity.
10. according to the terminal described in claim 6,7 or 9, it is characterized in that, also comprise:
Launch operation acquiring unit, also for receiving user for the performed expansion operation of described concealed nodes;
Launch unit, at described multistage tree menu, to described expansion operation for concealed nodes launch.
CN201310088123.0A 2013-03-19 2013-03-19 The display methods and terminal of multistage tree menu Active CN104063381B (en)

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 true CN104063381A (en) 2014-09-24
CN104063381B 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)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615339A (en) * 2015-01-22 2015-05-13 百度在线网络技术(北京)有限公司 Control showing method and device
CN105468365A (en) * 2015-11-20 2016-04-06 厦门雅迅网络股份有限公司 Method for solving tree control node quantity restriction
CN105488128A (en) * 2015-11-24 2016-04-13 北京中电普华信息技术有限公司 Tree structure display method and system
CN105786829A (en) * 2014-12-19 2016-07-20 深圳云之家网络有限公司 Tree-form data structure display method and device
CN106569687A (en) * 2016-10-19 2017-04-19 北京三快在线科技有限公司 Icon arrangement method and apparatus for virtual buttons, and terminal
CN106933460A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of page info acquisition, sending method, apparatus and system
CN107545057A (en) * 2017-08-29 2018-01-05 广州视源电子科技股份有限公司 Show method, apparatus, equipment and the storage medium of mind map
CN109324856A (en) * 2018-08-17 2019-02-12 平安科技(深圳)有限公司 Menu treating method, device, computer equipment and storage medium
CN110601866A (en) * 2018-06-13 2019-12-20 阿里巴巴集团控股有限公司 Flow analysis system, data acquisition device, data processing device and method
CN110659096A (en) * 2019-09-20 2020-01-07 北京浪潮数据技术有限公司 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
CN111581449A (en) * 2020-05-18 2020-08-25 网易(杭州)网络有限公司 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
CN114281228A (en) * 2020-12-28 2022-04-05 海信视像科技股份有限公司 Display device and control method for displaying multilevel menu panel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447826A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Subframe allocation method, processing method and device thereof
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
CN102156697A (en) * 2010-02-11 2011-08-17 北京易路联动技术有限公司 Method and terminal equipment for realizing webpage application through widget
CN102520933A (en) * 2011-11-28 2012-06-27 深圳市五巨科技有限公司 Method and device for establishing tree menu based on user right

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447826A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Subframe allocation method, processing method and device thereof
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
CN102156697A (en) * 2010-02-11 2011-08-17 北京易路联动技术有限公司 Method and terminal equipment for realizing webpage application through widget
CN102520933A (en) * 2011-11-28 2012-06-27 深圳市五巨科技有限公司 Method and device for establishing tree menu based on user right

Cited By (20)

* Cited by examiner, † Cited by third party
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
CN104615339A (en) * 2015-01-22 2015-05-13 百度在线网络技术(北京)有限公司 Control showing method and device
CN105468365A (en) * 2015-11-20 2016-04-06 厦门雅迅网络股份有限公司 Method for solving tree control node quantity restriction
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
CN106933460A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 A kind of page info acquisition, sending method, apparatus 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
CN110601866A (en) * 2018-06-13 2019-12-20 阿里巴巴集团控股有限公司 Flow analysis system, data acquisition device, data processing device and method
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
CN110659096A (en) * 2019-09-20 2020-01-07 北京浪潮数据技术有限公司 Method, device, system and storage medium for displaying network topological graph
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
CN111581449A (en) * 2020-05-18 2020-08-25 网易(杭州)网络有限公司 Task node execution method and device, computer equipment and medium
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
CN114281228A (en) * 2020-12-28 2022-04-05 海信视像科技股份有限公司 Display device and control method for displaying multilevel menu panel
CN114138984A (en) * 2021-12-08 2022-03-04 安天科技集团股份有限公司 Relationship map updating method and device, computing equipment and storage medium

Also Published As

Publication number Publication date
CN104063381B (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN104063381A (en) Multilevel tree menu display method and terminal
US9851865B2 (en) Method for managing application and electronic device thereof
CN107832330B (en) Searching method and terminal equipment
CN103034445B (en) The method of the self-defined unlock interface of a kind of mobile terminal device and mobile terminal device
CN103809871A (en) Processing method and mobile terminal for icon of application program
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
WO2017202051A1 (en) Method and device for processing application icon, and electronic apparatus
CN103500116A (en) Method and system for clearing data generated by application program
CN104850296B (en) Method and device for displaying page content
CN104238897A (en) Menu item displaying method and device
CN112148165A (en) Display method and device and electronic equipment
CN112035752A (en) Resource searching method and device, electronic equipment and readable storage medium
CN105095221A (en) Method and device for searching information records in touch screen terminal
CN105205066B (en) Picture searching method and device
CN106856543A (en) A kind of image display method, device and mobile terminal
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
JP2018502404A (en) Message display method, message display device, and message display device
CN109144348B (en) Method and device for realizing shortcut menu in application
CN103294389A (en) Apparatus and method of handing a touch input in a terminal
CN107665140A (en) A kind of display methods and mobile terminal of application program shortcut
CN103019509A (en) Terminal and main screen searching method
CN113407075A (en) Icon sorting method and device and electronic equipment
US11460971B2 (en) Control method and electronic device
EP4354293A1 (en) Detection method and apparatus, and electronic device
CN112578961B (en) Application identifier display method and device

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