CN102117333B - Method for browsing tree-like structural data at multiple views - Google Patents

Method for browsing tree-like structural data at multiple views Download PDF

Info

Publication number
CN102117333B
CN102117333B CN 201110059496 CN201110059496A CN102117333B CN 102117333 B CN102117333 B CN 102117333B CN 201110059496 CN201110059496 CN 201110059496 CN 201110059496 A CN201110059496 A CN 201110059496A CN 102117333 B CN102117333 B CN 102117333B
Authority
CN
China
Prior art keywords
view
tree
state
sub
browser
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
Application number
CN 201110059496
Other languages
Chinese (zh)
Other versions
CN102117333A (en
Inventor
林金枝
薄晓军
郑博文
温小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shenzhou Aerospace Software Technology Co.,Ltd.
Original Assignee
BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd filed Critical BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Priority to CN 201110059496 priority Critical patent/CN102117333B/en
Publication of CN102117333A publication Critical patent/CN102117333A/en
Application granted granted Critical
Publication of CN102117333B publication Critical patent/CN102117333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for browsing tree-like structural data at multiple views, which comprises the following steps: (1) constructing a main tree of the tree-like structural data by using a tree control and placing a main view corresponding to the main tree into a tress browser; (2) constructing a sub view corresponding a sub tress according to the selected sub tree and placing the sub view in the tress browser; (3) switching among the views according to a switch command of a user; and (4) remembering the current browsing state when the tress browser is closed, and restoring the remembered browsing state when the tress browser is reopened. By using the method, the user can be allowed to view the complete tree-like structural data and independently view the cared tree-like branches, and in addition, the user can easily switch among various views and the states of the same data in different views are completely consistent. The user is free from the gradual expansion to find the cared tress nodes or views after opening the structure tress, and the tree browser can be automatically restored to the lastly-closed state, so that the work efficiency of the user is greatly improved.

Description

The method of many views browsings tree structure data
Technical field
The invention provides a kind of browsing method of efficient tree structure data, both can browse complete tree structure data as the traditional tree control when browsing tree-type structure data with the present invention, also can browse separately the branch of tree structure data, even the tree structure data node is a lot, level is very dark, also can keep the high efficiency of browsing.
Background technology
Terminological interpretation:
Tree: refer to be used in the computing machine representing a kind of data structure of data, sometimes also refer in particular to show the interface control of tree structure data.
Main tree: complete tree structure data.
Subtree: the tree structure data of the main upper non-tree node of tree and downstream site representative thereof.
Front view: the view of showing main tree.
Sub-view: the view of showing subtree.
Many views: when browsing tree structure data, both can browse main tree, and also can browse separately subtree, namely tree structure data can have a plurality of views, and front view is used for checking the overall picture of tree, and sub-view is used for checking in detail subtree branch.
At present, tree structure data all is to browse with a tree control in a window, and the user browses whole tree structure data in a tree control, for example: the catalogue folder tree in windows explorer left side.For the ease of browsing, some software can repeatedly be opened same tree structure data in new window.
Because existing tree structure data browsing method all is to show complete tree structure data with a tree control, therefore, when tree node more, when particularly level is darker, browsing data in limited window, the user may need to roll back and forth to check the tree node of its care, and its efficient is very low, and viewing experience is very poor.
Summary of the invention
In order to address the above problem, the present invention proposes a kind of method of using many views, the method allows the user both can check complete tree structure data, can check separately again the tree structure branch of its care, the user can be switched between each view easily, and the state of identical data in different views is in full accord.
The technical solution used in the present invention is as follows:
A kind of method of many views browsings tree structure data comprises step:
1) uses the master of tree control structure tree structure data to set, will put into the tree browser to the front view that should lead tree;
2) according to the subtree of user selection structure to sub-view that should subtree, should sub-view put into and set browser;
3) switching command according to the user switches between view.
Further:
The sub-view of described structure step 2) detailed step is:
2.1) the user selection subtree;
2.2) subtree that comprises user-selected tree node and downstream site thereof of structure;
2.3) conceal the view of current demonstration, will put into the tree browser to sub-view that should subtree.
Described switch view step 3) detailed step is:
3.1) state synchronized that will work as front view neutron tree to the main tree of front view, make the state of corresponding tree node in the front view and branch thereof and state consistency when front view neutron tree;
3.2) make up sub-view, load user-selected goal tree node and downstream site data thereof, if the sub-view of goal tree node determination exists, then this step is omitted;
3.3) set the state that recovers the target view subtree from the master of front view;
3.4) hide when front view and display-object view.
When user's operational order is upwards the time, then conceal the view of current demonstration, then show the determined sub-view of father node of root node in front view;
When operational order is when returning front view, then conceal the view of current demonstration, then show front view.
Further comprise memory and recovering step 4): when closing the tree browser, remember current browse state, when again opening the tree browser, the browse state of refresh memory.
Described memory and recovering step 4) detailed step be:
3.1) user sends and close the tree browser command;
3.2) record is when the root node of front view;
3.3) will work as the tree state of front view synchronously to the front view tree;
3.4) state of record front view tree;
3.5) close the tree browser, so far view is remembered, and the below is recovering step;
3.6) again open the tree browser;
3.7) load the front view tree, in record, recover the state that front view is set;
3.8) open sub-view, load the root node in the record, according to the state of the sub-Views tree of recovering state of front view tree.
The present invention has the following advantages:
If tree-type structure data is larger, the user often only is concerned about again one or certain several subbranch, adopts view mode more than this kind to browse, and the user can either browse separately certain tree branch, can check at any time complete tree again, like this with regard to can not be owing to tree be too large the notice of dispersion user, simultaneously, when between view, navigating, the consistance that can keep again tree state, transitions smooth had both increased browse efficiency, improved again viewing experience.Need not to launch step by step to find tree node or the view of its concern behind user's Unclosing structure tree, the tree browser can return to the state when cutting out last time automatically, has greatly improved user's work efficiency.
Description of drawings
Fig. 1 is the switching schematic diagram between many views of representing of the present invention.
Embodiment
The present invention adds memory with many views and browses tree structure data, comprises step:
1) uses the master of tree control structure tree structure data to set, will put into the tree browser to the front view that should lead tree;
2) according to the subtree of user selection structure to sub-view that should subtree, should sub-view put into and set browser;
3) switching command according to the user switches between view.
The sub-view of described structure step 2) detailed step is:
2.1) the user selection subtree;
2.2) subtree that comprises user-selected tree node and downstream site thereof of structure;
2.3) conceal the view of current demonstration, will put into the tree browser to sub-view that should subtree.
Described switch view step 3) detailed step is:
3.1) state synchronized that will work as front view neutron tree to the main tree of front view, make the state of corresponding tree node in the front view and branch thereof and state consistency when front view neutron tree;
3.2) make up sub-view, load user-selected goal tree node and downstream site data thereof, if the sub-view of goal tree node determination exists, then this step is omitted;
3.3) set the state that recovers the target view subtree from the master of front view;
3.4) hide when front view and display-object view.
When user's operational order is upwards the time, then conceal the view of current demonstration, then show the determined sub-view of father node of root node in front view; When operational order is when returning front view, then conceal the view of current demonstration, then show front view.
The present invention further comprises memory and recovering step 4): when closing the tree browser, remember current browse state, when again opening the tree browser, the browse state of refresh memory.Its detailed step is:
3.1) user sends and close the tree browser command;
3.2) record is when the root node of front view;
3.3) will work as the tree state of front view synchronously to the front view tree;
3.4) state of record front view tree;
3.5) close the tree browser, so far view is remembered, and the below is recovering step;
3.6) again open the tree browser;
3.7) load the front view tree, in record, recover the state that front view is set;
3.8) open sub-view, load the root node in the record, according to the state of the sub-Views tree of recovering state of front view tree.
The below describes in detail
One, many views browsings
A complete tree structure data has various views, and each tree node on the tree structure can both be unique be determined a view, as shown in Figure 1,10 representatives be the complete tree-structured views of being determined by tree node A, be front view; 20 representatives be the sub-view of being determined by tree node F, this view shows tree node F, G and H; 30 representatives be the sub-view of being determined by tree node C, this sub-view shows tree node C and downstream site thereof.Certainly other node such as B, D etc. have also determined the view of oneself.
In the present invention, all views are all showed in the same position of same window, and can only be showed a view at every turn, when a view is visible, other view all is in hidden state, and each view has a tree control corresponding with it, is responsible for showing the data in this view.
Owing to there being a plurality of views behind, window only shows again a view at every turn, therefore, must provide a plurality of orders, the user can freely be switched between a plurality of views, the invention provides following 3 view switching commands: " entering ", " making progress " and " returning front view ".
" enter " order and be used for showing that working as front view chooses the determined sub-view of node, illustrate with Fig. 1, the user chooses the F tree node shown in 11 in the view shown in 10, carry out 12 " entering " order, window just shows the view shown in 20, in the view shown in 20 in the view shown in the state and 10 of 21 indicated F tree nodes and branch thereof the state of 11 indicated F nodes and branch thereof in full accord.Equally, the user chooses the F tree node shown in 31 in the view shown in 30, carry out 33 " entering " order, window just shows the view shown in 20, in the view shown in 20 in the view shown in the state and 30 of 21 indicated F tree nodes and branch thereof the state of 31 indicated F nodes and branch thereof in full accord.
The order that " makes progress " is used for showing the determined sub-view of father node when the front view root node, can be used for enlarging indication range, illustrate with Fig. 1, the user carries out 23 " making progress " order in the view shown in 20, window just shows the view shown in 30, in this view in the front view shown in the state and 10 of C tree node shown in 32 and branch thereof the state of C tree node and branch thereof in full accord.
Order is used for showing front view " to return front view ", no matter which sub-view current demonstration is, the user can use this order to show front view, check complete tree structure data, illustrate with Fig. 1, if current demonstration is the view shown in 20, carries out " returning front view " order shown in 22 and can show front view, if current demonstration is the view shown in 30, carries out " returning front view " order shown in 34 and also can show front view.
The view switch step is as follows:
Step 1: the user sends the view switching command;
Step 2: the state (comprise launch and selected state etc.) that will work as front view neutron tree makes the state and the state consistency of setting when the front view neutron of corresponding tree node in the front view and branch thereof synchronously to the main tree of front view;
Step 3: newly-built sub-view, loaded targets tree node and downstream site data thereof, if the sub-view of goal tree node determination exists, then this step is omitted;
Step 4: the state that recovers the target view subtree from the main tree of front view;
Step 5: hide when front view and display-object view.
The advantage of this method is as follows: if tree-type structure data is larger, the user often only is concerned about again one or certain several subbranch, adopts view mode more than this kind to browse, and the user can either browse separately certain tree branch, can check at any time complete tree again, like this with regard to can not be owing to tree be too large the notice of dispersion user, simultaneously, when between view, navigating, the consistance that can keep again tree state, transitions smooth had both increased browse efficiency, improved again viewing experience.
The below makes an explanation to the concept of " synchronously " that occur in the step 2 and the way that realization is synchronous is described:
State synchronized: the example with Fig. 1 is explained, when the sub-view 20 of browser display, "-" symbol that the user can click the F node left side stashes G and H, at this moment sub-view 20 will only show F node (being used for showing that the tree control of sub-view all has this function), and be on the Front view 10 of backstage hidden state, G and H node but are in show state.Therefore, must make the F on the Front view 10 be in non-deployed condition, G and H hiding nodes, the like this state consistency of same node point in two views of guarantee.
Realize synchronous way:
At first record the state of sub-view 20 each node:
Whether F launches (no) and whether chooses (no)
Whether G launches (no) and whether chooses (no)
Whether H launches (no) and whether chooses (no)
Then the state of corresponding node on the front view is set:
F packs up F and does not choose
G packs up G and does not choose
H packs up H and does not choose
Two, memory and recovery browse state
Adopt this method, the tree browser can return to rapidly the browse state when cutting out last time, all will be expanded to step by step the tree node of its concern or open corresponding view when making the user avoid opening the tree browser at every turn.
Memory is as follows with recovering step:
Step 1: the user sends and closes the tree browser command;
Step 2: record is when the front view root node;
Step 3: will work as the tree state of front view synchronously to the front view tree;
Step 4: the state of record front view tree;
Step 5: the tree browser cuts out, and so far view is remembered, and the below is recovering step;
Step 6: again open the tree browser;
Step 7: load the front view tree, in record, recover the state that front view is set;
Step 8: open sub-view, load the root node in the record, according to the state of the sub-Views tree of recovering state of front view tree.
Open when browsing, the expansion of each tree node and selected state are consistent when closing with last time fully at every turn, i.e. the state set of automatic Memory.

Claims (5)

1. the method for views browsing tree structure data more than a kind is characterized in that comprising step:
1) uses the master of tree control structure tree structure data to set, will put into the tree browser to the front view that should lead tree;
2) according to the subtree of user selection structure to sub-view that should subtree, should sub-view put into and set browser;
3) switching command according to the user switches between view;
Described switch view step 3) detailed step is:
3.1) state synchronized that will work as front view neutron tree to the main tree of front view, make the state of corresponding tree node in the front view and branch thereof and state consistency when front view neutron tree;
3.2) make up sub-view, load user-selected goal tree node and downstream site data thereof, if the sub-view of goal tree node determination exists, then this step is omitted;
3.3) set the state that recovers the target view subtree from the master of front view;
3.4) hide when front view and display-object view.
2. the method for many views browsings tree structure data as claimed in claim 1 is characterized in that:
The sub-view of described structure step 2) detailed step is:
2.1) the user selection subtree;
2.2) subtree that comprises user-selected tree node and downstream site thereof of structure;
2.3) conceal the view of current demonstration, will put into the tree browser to sub-view that should subtree.
3. the method for many views browsings tree structure data as claimed in claim 1 or 2 is characterized in that:
When user's operational order is upwards the time, then conceal the view of current demonstration, then show the determined sub-view of father node of root node in front view;
When operational order is when returning front view, then conceal the view of current demonstration, then show front view.
4. the method for many views browsings tree structure data as claimed in claim 1 is characterized in that:
Further comprise memory and recovering step 4): when closing the tree browser, remember current browse state, when again opening the tree browser, the browse state of refresh memory.
5. the method for many views browsings tree structure data as claimed in claim 4 is characterized in that:
Described memory and recovering step 4) detailed step be:
4.1) user sends and close the tree browser command;
4.2) record is when the root node of front view;
4.3) will work as the tree state of front view synchronously to the front view tree;
4.4) state of record front view tree;
4.5) close the tree browser, so far the state of front view and current sub-view is remembered, and the below is recovering step;
4.6) again open the tree browser;
4.7) load the front view tree, in record, recover the state that front view is set;
4.8) open sub-view, load the root node in the record, according to the state of the sub-Views tree of recovering state of front view tree.
CN 201110059496 2011-03-11 2011-03-11 Method for browsing tree-like structural data at multiple views Active CN102117333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110059496 CN102117333B (en) 2011-03-11 2011-03-11 Method for browsing tree-like structural data at multiple views

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110059496 CN102117333B (en) 2011-03-11 2011-03-11 Method for browsing tree-like structural data at multiple views

Publications (2)

Publication Number Publication Date
CN102117333A CN102117333A (en) 2011-07-06
CN102117333B true CN102117333B (en) 2013-01-02

Family

ID=44216103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110059496 Active CN102117333B (en) 2011-03-11 2011-03-11 Method for browsing tree-like structural data at multiple views

Country Status (1)

Country Link
CN (1) CN102117333B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077194A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Text input protection method and text input protection device
US9582368B2 (en) 2013-03-26 2017-02-28 Tencent Technology (Shenzhen) Company Limited Method and apparatus for text input protection
CN105512118A (en) * 2014-09-22 2016-04-20 珠海金山办公软件有限公司 User demand feedback method and device
EP3035179A1 (en) * 2014-12-19 2016-06-22 Thomson Licensing Data processing apparatus and method for rendering a tree structure
CN105574088A (en) * 2015-12-11 2016-05-11 成都科来软件有限公司 Configurable tree data display method and apparatus
CN107391091A (en) * 2016-05-17 2017-11-24 武汉宏途科技有限公司 A kind of panorama multi-view system and its construction method based on father and son's state
CN107844350A (en) * 2017-10-20 2018-03-27 北京集奥聚合科技有限公司 A kind of screening technique and device for visualizing multi-level state
CN108280195A (en) * 2018-01-26 2018-07-13 五八有限公司 Querying method, device, equipment based on index slip and storage medium
CN116467037B (en) * 2023-06-09 2023-09-22 成都融见软件科技有限公司 Graphic user interface work state recovery method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1614927A (en) * 2004-11-18 2005-05-11 北京锐安科技有限公司 Method for realizing tree-shaped structure in B/S structure
US7343378B2 (en) * 2004-03-29 2008-03-11 Microsoft Corporation Generation of meaningful names in flattened hierarchical structures
CN101470727A (en) * 2007-12-24 2009-07-01 新奥特(北京)视频技术有限公司 Method and system for editing and processing tree-form data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7343378B2 (en) * 2004-03-29 2008-03-11 Microsoft Corporation Generation of meaningful names in flattened hierarchical structures
CN1614927A (en) * 2004-11-18 2005-05-11 北京锐安科技有限公司 Method for realizing tree-shaped structure in B/S structure
CN101470727A (en) * 2007-12-24 2009-07-01 新奥特(北京)视频技术有限公司 Method and system for editing and processing tree-form data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TreeSize.TreeSize Free 2.7.《TreeSize Free 2.7》.http://www.geardownload.com/system/treesize-free-download.html,2011,全文. *

Also Published As

Publication number Publication date
CN102117333A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102117333B (en) Method for browsing tree-like structural data at multiple views
CN105144063B (en) Software application automatically saves mode and manual preservation mode
CN104238896B (en) The display methods and device of function menu
CN104704460B (en) Stackable working space on the electronic device
CN103853611B (en) The method and electronic equipment that text between application program is fast replicated
CN101262376B (en) A method and system for modifying configuration of network device in batch mode
CN104081395B (en) For accessing the user interface of document from computing device
CN106354582B (en) A kind of continuous data protection method
CN103105995B (en) Display packing and electronic equipment
CN105677195B (en) A kind of application management system and method for intelligent terminal
CN103593107B (en) interface display method and device
CN103488473A (en) Managing system and managing method for application program of mobile terminal
BRPI0912366B1 (en) machine-implemented method to replicate an animation effect from one object to another in a presentation file and processing device
CN105453048A (en) Managing and using remote applications on a mobile device
CN105528159B (en) A kind of operating method and operating device of picture
CN101510207A (en) Tree menu dynamic maintenance method and apparatus based on web page
CN106814949A (en) A kind of cocos game editing machine control interfaces management method
CN105138227B (en) A kind of icon display method and terminal
CN104820625B (en) A kind of data record, backup and the restoration methods of Information management system
CN103902609A (en) File displaying method and device
CN103677505B (en) The method and apparatus for opening the page
CN103823641B (en) The virtual volume system of a kind of on-line rapid estimation and its implementation
CN103970420A (en) Unfolding method of folder
CN104991702B (en) A kind of method and terminal of terminal display picture
CN104598023B (en) A kind of method and device by gesture identification select file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Lin Jinzhi

Inventor after: Bao Xiaojun

Inventor after: Zheng Bowen

Inventor after: Wen Xiaolong

Inventor before: Lin Jinzhi

Inventor before: Bao Xiaojun

Inventor before: Zheng Bowen

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LIN JINZHI BAO XIAOJUN ZHENG BOWEN TO: LIN JINZHI BAO XIAOJUN ZHENG BOWEN WEN XIAOLONG

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100094 No. 28, Yongfeng Road, Beijing, Haidian District

Patentee after: Beijing Shenzhou Aerospace Software Technology Co.,Ltd.

Address before: 100094 No. 28, Yongfeng Road, Haidian District, Haidian District, Beijing

Patentee before: BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co.,Ltd.