CN102117333A - 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
CN102117333A
CN102117333A CN 201110059496 CN201110059496A CN102117333A CN 102117333 A CN102117333 A CN 102117333A CN 201110059496 CN201110059496 CN 201110059496 CN 201110059496 A CN201110059496 A CN 201110059496A CN 102117333 A CN102117333 A CN 102117333A
Authority
CN
China
Prior art keywords
view
tree
state
sub
user
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
CN 201110059496
Other languages
Chinese (zh)
Other versions
CN102117333B (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

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 tree structure data efficiently, both can browse complete tree structure data when using the present invention to browse tree-type structure data as the traditional tree control, also can browse the branch of tree structure data separately, 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, also refer in particular to the interface control that is used for showing tree structure data sometimes.
Main tree: complete tree structure data.
Subtree: the tree structure data of main last 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 subtree separately, promptly 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 use a tree control to browse 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, the software that has can repeatedly be opened same tree structure data in new window.
Because existing tree structure data browsing method all is to use a tree control to show complete tree structure data, therefore, when tree node more, when particularly level is dark, 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, this method allows the user both can check complete tree structure data, can check the tree structure branch of its care again separately, 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 the front view that should lead tree;
2) the subtree structure of selecting according to the user is 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) user's Select 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.
The detailed step of described switch view step 3) 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 that the goal tree node is determined 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 operating command 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 opening the tree browser once more, 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, is recovering step below;
3.6) open the tree browser once more;
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 bigger, the user often only is concerned about one or certain several subbranch again, adopts view mode more than this kind to browse, and the user can either browse certain tree branch separately, can check complete tree at any time again, like this with regard to can not be owing to tree is too big the notice of dispersion user, simultaneously, when between view, navigating, the consistance that can keep tree state again, transitions smooth had both increased browse efficiency, improved viewing experience again.Need not to launch step by step to find the 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
Switching synoptic diagram between many views that Fig. 1 represents for the present invention.
Embodiment
The present invention uses many views to add memory 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 the front view that should lead tree;
2) the subtree structure of selecting according to the user is 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) user's Select 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.
The detailed step of described switch view step 3) 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 that the goal tree node is determined 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 operating command 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 opening the tree browser once more, 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, is recovering step below;
3.6) open the tree browser once more;
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.
Describe in detail below
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 determining by tree node A, be front view; 20 representatives be the sub-view of determining by tree node F, this view shows tree node F, G and H; 30 representatives be the sub-view of determining 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 all has a tree control corresponding with it, is responsible for showing the data in this view.
Owing to there are a plurality of views behind, window only shows a view again 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,, carry out " returning front view " order shown in 22 and can show front view if current demonstration is the view shown in 20, 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 that the goal tree node is determined 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 bigger, the user often only is concerned about one or certain several subbranch again, adopts view mode more than this kind to browse, and the user can either browse certain tree branch separately, can check complete tree at any time again, like this with regard to can not be owing to tree is too big the notice of dispersion user, simultaneously, when between view, navigating, the consistance that can keep tree state again, transitions smooth had both increased browse efficiency, improved viewing experience again.
Again the notion of " synchronously " that occur in the step 2 is made an explanation below 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 node are hidden, and could guarantee the state consistency of same node point in two views like this.
Realize synchronous way:
At first write down the state of sub-view 20 each node:
Whether F launches (denying) and whether chooses (denying)
Whether G launches (denying) and whether chooses (denying)
Whether H launches (denying) and whether chooses (denying)
The state of corresponding node on the front view is set then:
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 the browse state when cutting out last time rapidly, all will be expanded to the tree node of its concern step by step 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: the tree state that will work as front view is 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, is recovering step below;
Step 6: open the tree browser once more;
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 at every turn, consistent when the expansion of each tree node is closed with last time fully with selected state, promptly remember the state of setting automatically.

Claims (6)

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 the front view that should lead tree;
2) the subtree structure of selecting according to the user is to sub-view that should subtree, should sub-view put into and set browser;
3) switching command according to the user switches between 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) user's Select 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 is characterized in that:
The detailed step of described switch view step 3) 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 that the goal tree node is determined 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.
4. as the method for the described many views browsings tree structure data of one of claim 1 to 3, it is characterized in that:
When user's operating command 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.
5. 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 opening the tree browser once more, the browse state of refresh memory.
6. as the method for many views browsings tree structure data as described in the claim 5, it is characterized in that:
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, is recovering step below;
3.6) open the tree browser once more;
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.
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 true CN102117333A (en) 2011-07-06
CN102117333B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014153970A1 (en) * 2013-03-26 2014-10-02 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
CN105574088A (en) * 2015-12-11 2016-05-11 成都科来软件有限公司 Configurable tree data display method and apparatus
US9582368B2 (en) 2013-03-26 2017-02-28 Tencent Technology (Shenzhen) Company Limited Method and apparatus for text input protection
CN107209630A (en) * 2014-12-19 2017-09-26 汤姆逊许可公司 Data processing equipment and method for rendering tree construction
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
CN116467037A (en) * 2023-06-09 2023-07-21 成都融见软件科技有限公司 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 Free 2.7》 20110201 TreeSize TreeSize Free 2.7 http://www.geardownload.com/system/treesize-free-download.html 全文 1,2 , *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014153970A1 (en) * 2013-03-26 2014-10-02 Tencent Technology (Shenzhen) Company Limited Method and apparatus for text input protection
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
CN107209630A (en) * 2014-12-19 2017-09-26 汤姆逊许可公司 Data processing equipment and method for rendering tree construction
CN107209630B (en) * 2014-12-19 2020-09-22 交互数字Ce专利控股公司 Data processing apparatus and method for rendering a tree structure
US11163420B2 (en) 2014-12-19 2021-11-02 Interdigital Madison Patent Holdings, Sas 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
CN116467037A (en) * 2023-06-09 2023-07-21 成都融见软件科技有限公司 Graphic user interface work state recovery method
CN116467037B (en) * 2023-06-09 2023-09-22 成都融见软件科技有限公司 Graphic user interface work state recovery method

Also Published As

Publication number Publication date
CN102117333B (en) 2013-01-02

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
CN104081395B (en) For accessing the user interface of document from computing device
CN104238896B (en) The display methods and device of function menu
CN104704460B (en) Stackable working space on the electronic device
CN102067166B (en) Synchronized conversation-centric message list and message reading pane
US7242413B2 (en) Methods, systems and computer program products for controlling tree diagram graphical user interfaces and/or for partially collapsing tree diagrams
CN106354582B (en) A kind of continuous data protection method
CN103105995B (en) Display packing and electronic equipment
CN101262376B (en) A method and system for modifying configuration of network device in batch mode
CN103853611B (en) The method and electronic equipment that text between application program is fast replicated
CN103593107B (en) interface display method and device
US7793219B1 (en) Construction of multimedia compositions
CN105453048A (en) Managing and using remote applications on a mobile device
CN105528159B (en) A kind of operating method and operating device of picture
CN106814949A (en) A kind of cocos game editing machine control interfaces management method
CN102662591B (en) Data processing method and device
CN103870130A (en) Method and system for presenting interface in terminal
CN105138227B (en) A kind of icon display method and terminal
CN103902609A (en) File displaying method and device
CN104820625B (en) A kind of data record, backup and the restoration methods of Information management system
CN103823641B (en) The virtual volume system of a kind of on-line rapid estimation and its implementation
CN103677505B (en) The method and apparatus for opening the page
CN103488376A (en) Desktop assembly fusing, combining and splitting method and equipment
CN108228168A (en) A kind of revocation, the abstract method of recovery operation

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

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.

CP03 Change of name, title or address