New! View global litigation for patent families

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
Grant status
Application
Patent type
Prior art keywords
tree
tress
views
user
data
Prior art date
Application number
CN 201110059496
Other languages
Chinese (zh)
Other versions
CN102117333B (en )
Inventor
林金枝
薄晓军
郑博文
Original Assignee
北京神舟航天软件技术有限公司
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

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 subview 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 multi-view method browse tree structure of the data

技术领域 FIELD

[0001] 本发明提供一种高效的树形结构数据的浏览方法,使用本发明来浏览树型结构数据的时候既可以像传统树控件浏览完整树形结构数据,也可以单独浏览树形结构数据的分支,即使树形结构数据节点很多,层次很深,也能够保持浏览的高效性。 [0001] The present invention provides an efficient tree structure data browsing method, when using the present invention to browse tree structure data can either browse the complete tree structure data like a conventional tree control, the browse tree structure data may be separately branch, even if a lot of data node tree structure, hierarchy is deep, it is possible to maintain the efficiency of browsing.

背景技术 Background technique

[0002] 术语解释: [0002] Explanation of terms:

[0003] 树:指计算机中用来表示数据的一种数据结构,有时也特指用来展示树形结构数据的界面控件。 [0003] Tree: computer means a data structure used to represent data sometimes refers specifically to interface controls display tree structure data.

[0004] 主树:完整的树形结构数据。 [0004] The primary tree: the complete tree structure data.

[0005] 子树:主树上非根树节点及其下级节点代表的树形结构数据。 [0005] subtree: a non-root node of the tree and its subordinate tree node represents the primary tree structure data.

[0006] 主视图:展示主树的视图。 [0006] a front view: a view showing the primary tree.

[0007] 子视图:展示子树的视图。 [0007] sub-views: a view showing sub-tree.

[0008] 多视图:浏览树形结构数据时,既可以浏览主树,也可以单独浏览子树,即树形结构数据可以有多个视图,主视图用来查看树的全貌,子视图用来详细查看子树分支。 [0008] The multi-view: When the browse tree structure data, the main tree browser may be, a separate sub-tree can browse, i.e., tree structure data may have a plurality of views, a front view of the tree to view the picture, for subview detailed view sub-tree branch.

[0009] 目前,树形结构数据都是在一个窗口内使用一个树控件来浏览,用户在一个树控件内浏览整个树形结构数据,例如windows资源管理器左侧的目录夹树。 [0009] Currently, the tree structure data are used within a window of a tree control to navigate the user to browse the entire tree structure data in a tree control, such as a directory on the left side of the windows Explorer folder tree. 为了便于浏览, 有的软件可以在新窗口中多次打开同一树形结构数据。 For easier navigation, and some software can open the same tree structure data multiple times in a new window.

[0010] 由于现有树形结构数据浏览方法都是使用一个树控件来展示完整树形结构数据, 因此,当树节点较多,特别是层次较深时,在有限的窗口内浏览数据,用户可能需要来回滚动以查看其关心的树节点,其效率很低,浏览体验很差。 [0010] Thus, when more tree node, especially when deeper level, browsing data, users within a limited window due to the existing tree-structured data browsing method is to use a tree control to show the complete tree structure data, may need to scroll back and forth to see their tree node concerned, its efficiency is very low, the browsing experience is poor.

发明内容 SUMMARY

[0011] 为了解决上述问题,本发明提出了一种使用多视图的方法,该方法让用户既可以查看完整的树形结构数据,又可以单独查看其关心的树形结构分支,用户可以轻易地在各个视图间切换,相同数据在不同视图中的状态完全一致。 [0011] In order to solve the above problems, the present invention provides a method of using the multi-view, which allows users to view complete both tree structure data, the tree structure and can check its separate branches of interest, the user can easily switch between the various views, the same data state in exactly the different views.

[0012] 本发明采用的技术方案如下: [0012] The present invention employs the following technical solutions:

[0013] 一种多视图浏览树形结构数据的方法,包括步骤: [0013] A multi-view browse tree structure data, comprising the steps of:

[0014] 1)使用树控件构造树形结构数据的主树,将对应该主树的主视图放入树浏览器内; [0014] 1) the primary tree using a tree control structure tree structure data, the main tree will be placed in the main tree browser view;

[0015] 2)根据用户选择的子树构造对应该子树的子视图,将该子视图放入树浏览器内; [0015] 2) The user selects the sub-tree structure of view should subtree, the applet into the browser tree;

[0016] 3)根据用户的切换命令在视图之间进行切换。 [0016] 3) to switch between views according to the handover command of the user.

[0017] 进一步地: [0017] Further:

[0018] 所述构建子视图步骤2)的详细步骤是: [0018] The constructs view Step 2) The detailed steps are:

[0019] 2.1)用户选择子树; [0019] 2.1) the user selects a sub-tree;

[0020] 2. 2)构造一个包括用户所选的树节点及其下级节点的子树; [0020] 2.2) Construct a node and its sub-tree of a lower node selected by the user;

3[0021] 2. 3)隐去当前显示的视图,将对应该子树的子视图放入树浏览器内。 3 [0021] 2.3) faded currently displayed view, it will be a sub-sub-tree into the tree view browser.

[0022] 所述切换视图步骤3)的详细步骤是: Detailed steps [0022] In view of the switching step 3) is:

[0023] 3. 1)将当前视图中子树的状态同步至主视图的主树上,使主视图中对应树节点及其分支的状态与当前视图中子树的状态一致; [0023] 3.1) the status of the current view to the synchronization of subtrees of the main tree, a front view, a front view in a state corresponding to a branch tree node and its current state is consistent with the view of the subtree;

[0024] 3. 2)构建子视图,加载用户所选的目标树节点及其下级节点数据,如果目标树节点确定的子视图已经存在,则本步骤省略; [0024] 3.2) Construction subview, load target tree node and a lower node data selected by a user, if the applet determines the target tree node already exists, then this step can be omitted;

[0025] 3. 3)从主视图的主树上恢复目标视图子树的状态; [0025] 3.3) the target state is restored from the main view subtree front view of the tree;

[0026] 3.4)隐藏当前视图并显示目标视图。 [0026] 3.4) hides the current view and display the target view.

[0027] 当用户的操作命令是向上时,则隐去当前显示的视图,转而显示当前视图中根节点的父节点所确定的子视图; [0027] When a user's operation command is upward, the faded currently displayed view, instead of the current view display sub-root parent node determined;

[0028] 当操作命令是返回主视图时,则隐去当前显示的视图,转而显示主视图。 [0028] When the return operation command is a front view, a view is faded currently displayed, the main view display instead.

[0029] 进一步包括记忆和恢复步骤4):当关闭树浏览器时,记忆当前浏览状态,再次打开树浏览器时,恢复记忆的浏览状态。 [0029] further comprising a memory and recovery steps 4): When closing the tree browser, browse the current state of the memory, the tree open the browser again, to resume browsing state memory.

[0030] 所述的记忆和恢复步骤4)的详细步骤是: [0030] Recovery of the memory and step 4) The detailed steps are:

[0031] 3. 1)用户发出关闭树浏览器命令; [0031] 3.1) the user issues a command to close the browser tree;

[0032] 3. 2)记录当前视图的根节点; [0032] 3.2) recording the root node of the current view;

[0033] 3. 3)将当前视图的树状态同步至主视图树上; [0033] 3.3) The current status of the tree to the front view as the view of the tree;

[0034] 3. 4)记录主视图树的状态; [0034] 3.4) the recording state of a front view of the tree;

[0035] 3. 5)关闭树浏览器,至此视图已被记忆,下面是恢复步骤; [0035] 3.5) closing tree browser view has been so far the memory, the following step is the recovery;

[0036] 3.6)再次打开树浏览器; [0036] 3.6) to open the tree browser again;

[0037] 3. 7)加载主视图树,从记录里恢复主视图树的状态; [0037] 3.7) loads the main tree view, a front view of the recovery from the tree in the recording state;

[0038] 3. 8)打开子视图,加载记录里的根节点,根据主视图树的状态恢复子视图树的状态。 [0038] 3.8) subview open, loaded in the root record, restore the state tree from child view a front view of a state tree.

[0039] 本发明具有以下优点: [0039] The present invention has the following advantages:

[0040] 如果树型结构数据比较大,用户又往往只关心一个或某几个小分支,采用此种多视图方式浏览,用户既能够单独浏览某个树分支,又能够随时查看完整的树,这样就不会由于树太大而分散用户的注意力,同时,在视图间导航时,又能够保持树状态的一致性,过渡平滑,既增加浏览效率,又提高浏览体验。 [0040] If the tree structure data is relatively large, the user is often only interested in one or a few small branches, the use of such multi-view browsing mode, users can browse both the individual branches of a tree, and can always see the full tree, this is not because the tree is too large to distract the user, while at the inter-view navigation, but also to maintain the consistency of the state tree, the transition smooth, both to increase browsing efficiency, but also improve the browsing experience. 用户打开结构树后无需逐级展开找到其关注的树节点或视图,树浏览器会自动恢复至上次关闭时的状态,极大提高了用户的工作效率。 Users do not need to open the tree to find tree node or drilldown view of its concerns, the tree browser will automatically return to the state when you last shut down, greatly increasing user productivity.

附图说明 BRIEF DESCRIPTION

[0041] 图1为本发明展现的多视图之间的切换示意图。 [0041] FIG switching between multi-view show a schematic view of the present disclosure. 具体实施方式 detailed description

[0042] 本发明使用多视图加记忆来浏览树形结构数据,包括步骤: [0042] The present invention is used to browse the multiview plus tree structure data memory, comprising the steps of:

[0043] 1)使用树控件构造树形结构数据的主树,将对应该主树的主视图放入树浏览器内; [0043] 1) the primary tree using a tree control structure tree structure data, the main tree will be placed in the main tree browser view;

[0044] 2)根据用户选择的子树构造对应该子树的子视图,将该子视图放入树浏览器内; [0044] 2) The user selects the sub-tree structure of view should subtree, the applet into the browser tree;

[0045] 3)根据用户的切换命令在视图之间进行切换。 [0045] 3) to switch between views according to the handover command of the user. [0046] 所述构建子视图步骤2)的详细步骤是: [0046] The constructs view Step 2) The detailed steps are:

[0047] 2. 1)用户选择子树; [0047] 2.1) the user selects a sub-tree;

[0048] 2. 2)构造一个包括用户所选的树节点及其下级节点的子树; [0048] 2.2) Construct a node and its sub-tree of a lower node selected by the user;

[0049] 2. 3)隐去当前显示的视图,将对应该子树的子视图放入树浏览器内。 [0049] 2.3) faded currently displayed view, will be a sub-sub-tree into the tree view browser.

[0050] 所述切换视图步骤3)的详细步骤是: Detailed steps [0050] The switching view Step 3) is:

[0051] 3. 1)将当前视图中子树的状态同步至主视图的主树上,使主视图中对应树节点及其分支的状态与当前视图中子树的状态一致; [0051] 3.1) the status of the current view to the synchronization of subtrees of the main tree, a front view, a front view in a state corresponding to a branch tree node and its current state is consistent with the view of the subtree;

[0052] 3. 2)构建子视图,加载用户所选的目标树节点及其下级节点数据,如果目标树节点确定的子视图已经存在,则本步骤省略; [0052] 3.2) Construction subview, load target tree node and a lower node data selected by a user, if the applet determines the target tree node already exists, then this step can be omitted;

[0053] 3. 3)从主视图的主树上恢复目标视图子树的状态; [0053] 3.3) the target state is restored from the main view subtree front view of the tree;

[0054] 3.4)隐藏当前视图并显示目标视图。 [0054] 3.4) hides the current view and display the target view.

[0055] 当用户的操作命令是向上时,则隐去当前显示的视图,转而显示当前视图中根节点的父节点所确定的子视图;当操作命令是返回主视图时,则隐去当前显示的视图,转而显示主视图。 [0055] When a user's operation command is upward, the faded currently displayed view, instead of the current view display sub-root parent node determined; when the return operation command is a front view, the current display is faded view, a front view is displayed instead.

[0056] 本发明进一步包括记忆和恢复步骤4):当关闭树浏览器时,记忆当前浏览状态, 再次打开树浏览器时,恢复记忆的浏览状态。 [0056] The present invention further comprises a memory and recovery steps 4): When closing the tree browser, browse the current state of the memory, the tree open the browser again, to resume browsing state memory. 其详细步骤是: The detailed steps of:

[0057] 3. 1)用户发出关闭树浏览器命令; [0057] 3.1) the user issues a command to close the browser tree;

[0058] 3. 2)记录当前视图的根节点; [0058] 3.2) recording the root node of the current view;

[0059] 3. 3)将当前视图的树状态同步至主视图树上; [0059] 3.3) The current status of the tree to the front view as the view of the tree;

[0060] 3. 4)记录主视图树的状态; [0060] 3.4) the recording state of a front view of the tree;

[0061] 3. 5)关闭树浏览器,至此视图已被记忆,下面是恢复步骤; [0061] 3.5) closing tree browser view has been so far the memory, the following step is the recovery;

[0062] 3. 6)再次打开树浏览器; [0062] 3.6) Open the tree browser again;

[0063] 3. 7)加载主视图树,从记录里恢复主视图树的状态; [0063] 3.7) loads the main tree view, a front view of the recovery from the tree in the recording state;

[0064] 3. 8)打开子视图,加载记录里的根节点,根据主视图树的状态恢复子视图树的状态。 [0064] 3.8) subview open, loaded in the root record, restore the state tree from child view a front view of a state tree.

[0065] 下面详细说明 [0065] The following detailed description

[0066] 一、多视图浏览 [0066] First, the multi-view browsing

[0067] 一个完整的树形结构数据有许许多多的视图,树形结构上的每个树节点都能唯一确定一个视图,如图1所示,10所代表的是由树节点A确定的完整树形结构视图,即为主视图;20所代表的是由树节点F确定的子视图,该视图展示树节点F、G和H ;30所代表的是由树节点C确定的子视图,该子视图展示树节点C及其下级节点。 [0067] a complete tree structure data have many views, each tree node in the tree structure can uniquely identify a view, shown in Figure 1, 10 is determined by the representative tree of the node A full tree view, i.e. a front view; 20 represents a view of the sub-tree of the node F is determined, this view showing a tree node F, G and H; 30 represents a sub-tree nodes determined by the view C, this view shows the sub-tree nodes and lower nodes C. 当然其它节点如B、D等也确定了自己的视图。 Of course, other nodes such as B, D, also determined in view of their own.

[0068] 在本发明中,所有视图都在同一个窗口的同一个位置展示,且每次只能展示一个视图,当一个视图可见时,其它视图都处于隐藏状态,每个视图都有一个树控件与之对应, 负责展示该视图中的数据。 [0068] In the present invention, all views in the same window display at the same position, and can not show a view, a view when seen in the other views are hidden, each view has a tree the corresponding control, responsible for displaying the data in this view.

[0069] 由于背后存在多个视图,窗口每次又只显示一个视图,因此,必须提供多个命令, 使用户能够在多个视图间自由切换,本发明提供如下3个视图切换命令:“进入”、“向上”和“返回主视图”。 [0069] Because of the presence of a plurality of views behind each window and display only one view, therefore, must provide a plurality of commands that allow the user to switch between a plurality of views, the present invention provides three views handover command: "Enter "," up "and" return to the main view. "

[0070] “进入”命令用来显示当前视图选中节点所确定的子视图,以图1来说明,用户在10所示的视图中选中11所示的F树节点,执行12 “进入”命令,窗口就显示20所示的视图,20所示的视图中21所指示的F树节点及其分支的状态与10所示的视图中11所指示的F节点及其分支的状态完全一致。 [0070] "enter" command to display the current view selected child node determined to FIG. 1 will be described, the user selects a tree node F 11 in the view shown in FIG. 10, 12 perform "enter" command, status window is displayed and node F tree view of a branch 20 shown in the view 20 shown, indicated 21 and 10 in the view shown in F state and the node indicated by branch 11 exactly. 同样,用户在30所示的视图中选中31所示的F树节点, 执行33 “进入”命令,窗口就显示20所示的视图,20所示的视图中21所指示的F树节点及其分支的状态与30所示的视图中31所指示的F节点及其分支的状态完全一致。 Similarly, the user selects the view shown in F tree node 30 as shown in 31, 33 perform "enter" command, the view window is shown in the display 20, view F tree node 20 as shown and indicated in 21 and the state of the branch 30 in the view shown in F state and the node indicated by branch 31 exactly.

[0071] “向上”命令用来显示当前视图根节点的父节点所确定的子视图,可以用来扩大显示范围,以图1来说明,用户在20所示的视图中执行23 “向上”命令,窗口就显示30所示的视图,该视图中32所示C树节点及其分支的状态与10所示的主视图中C树节点及其分支的状态完全一致。 [0071] "up" command to display the current view sub-root parent node of the determined can be used to expand the display range will be described in FIG. 1, a user 23 performs the "up" command as shown in view 20 , the window is displayed in the view shown in FIG 30, the state shown in view C node tree and its branches 32 and 10 shown in a front view a tree node C and its branches consistent state.

[0072] “返回主视图”命令用来显示主视图,不管当前显示的是哪个子视图,用户都可以使用该命令显示主视图,查看完整树形结构数据,以图1来说明,如果当前显示的是20所示的视图,执行22所示的“返回主视图”命令即可显示主视图,如果当前显示的是30所示的视图,执行;34所示的“返回主视图”命令也可显示主视图。 [0072] "return to the main view" command to display the front view, regardless of which sub currently displayed view, the user can use this command to display a front view, view complete tree structure data will be described in FIG. 1, if the currently displayed 20 is a view as shown, in FIG. 22 performs "return to the main view" command to display the front view, if the view is currently displayed as shown in 30 is performed; "return to the main view of the" command shown in FIG. 34 may also be shows a perspective view.

[0073] 视图切换步骤如下: [0073] view of the switching step is as follows:

[0074] 步骤1 :用户发出视图切换命令; [0074] Step 1: View user issues a handover command;

[0075] 步骤2 :将当前视图中子树的状态(包括展开和选中状态等)同步至主视图的主树上,使主视图中对应树节点及其分支的状态与当前视图中子树的状态一致; [0075] Step 2: The current view of subtrees state (including selected and expanded, etc.) to the primary tree synchronization front view of the front view of the tree node corresponding to the state of the current view and its branches subtree consistent state;

[0076] 步骤3 :新建子视图,加载目标树节点及其下级节点数据,如果目标树节点确定的子视图已经存在,则本步骤省略; [0076] Step 3: Create subview, load target tree node and a lower node data, if the applet determines the target tree node already exists, then this step can be omitted;

[0077] 步骤4 :从主视图的主树上恢复目标视图子树的状态; [0077] Step 4: Recovery subtree target view from a front view of the state of the primary tree;

[0078] 步骤5 :隐藏当前视图并显示目标视图。 [0078] Step 5: Hide the current view and the view display target.

[0079] 本方法的优点如下:如果树型结构数据比较大,用户又往往只关心一个或某几个小分支,采用此种多视图方式浏览,用户既能够单独浏览某个树分支,又能够随时查看完整的树,这样就不会由于树太大而分散用户的注意力,同时,在视图间导航时,又能够保持树状态的一致性,过渡平滑,既增加浏览效率,又提高浏览体验。 [0079] The advantage of this method is as follows: If the data tree structure is relatively large, the user is often only concerned with one or a few small branches, the use of such multi-view browsing mode, a user can browse both the tree branch alone, but also to always see the full tree, so it will not because the tree is too large to distract the user, while at the inter-view navigation, but also to maintain the consistency of the state tree, the transition smooth, both to increase browsing efficiency, but also improves the browsing experience .

[0080] 下面再对步骤2中出现的“同步”的概念进行解释并说明实现同步的做法: [0080] Here again the concept of "synchronization" appears in step 2 be explained and approach for achieving synchronization:

[0081] 状态同步:以图1的例子来解释,当浏览器显示子视图20时,用户可以单击F节点左边的“_”符号使G和H隐藏起来,这时子视图20将只显示F节点(用来显示子视图的树控件都拥有该功能),而处于后台隐藏状态的主视图10上,G和H节点却处于显示状态。 [0081] Synchronization Status: In the example of FIG. 1 explained, is displayed when the browser applet 20, the user can click on the left of node F "_" symbol to make G and H to hide, when the sub-view will only display 20 node F (to display a tree view of the sub-control have the function), and is a front view of the background hidden state 10, G and H, but is the node display state. 因此,必须使主视图10上的F处于非展开状态,G和H节点隐藏,这样才能保证两个视图中相同节点的状态一致。 Thus, F must be on the front view 10 in the non-deployed state, G and H hidden nodes, so as to ensure a consistent state of the two views of the same node.

[0082] 实现同步的做法: [0082] synchronized approach:

[0083] 首先记录子视图20各节点的状态: [0083] First recording sub-view state of each node 20:

[0084] F是否展开(否)是否选中(否) [0084] F whether to proceed (no) is selected (NO)

[0085] G是否展开(否)是否选中(否) [0085] G whether to proceed (no) is selected (NO)

[0086] H是否展开(否)是否选中(否) [0086] H whether to proceed (no) is selected (NO)

[0087] 然后设置主视图上对应节点的状态: [0087] and then set the state of the front view of the corresponding node:

[0088] F收起F不选中 [0088] F F away is not selected

[0089] G收起G不选中[0090] H收起H不选中 [0089] G G Collapse is not selected [0090] H H is not selected Collapse

[0091] 二、记忆与恢复浏览状态 [0091] Second, memory and restore the view state

[0092] 采用本方法,树浏览器可以迅速恢复至上次关闭时的浏览状态,使用户避免每次打开树浏览器时都要逐级展开至其关注的树节点或打开相应的视图。 [0092] According to the present method, the browser tree can be restored quickly to browse time of the last close, allows the user to avoid having to open each time progressively expanded to the browser tree which tree node of interest or open the respective view.

[0093] 记忆与恢复步骤如下: [0093] Memory and recovery steps as follows:

[0094] 步骤1 :用户发出关闭树浏览器命令; [0094] Step 1: The user issues a Close command tree browser;

[0095] 步骤2 :记录当前视图根节点; [0095] Step 2: Record the current view of the root node;

[0096] 步骤3 :将当前视图的树状态同步至主视图树上; [0096] Step 3: The current status of the tree to the front view as the view of the tree;

[0097] 步骤4 :记录主视图树的状态; [0097] Step 4: a front view of the recording state of the tree;

[0098] 步骤5 :树浏览器关闭,至此视图已被记忆,下面是恢复步骤; [0098] Step 5: Tree browser is closed, so far has been the view memory, the following step is the recovery;

[0099] 步骤6 :再次打开树浏览器; [0099] Step 6: Open the tree browser again;

[0100] 步骤7 :加载主视图树,从记录里恢复主视图树的状态; [0100] Step 7: Load main view tree, tree recovery from a front view in the state of the recording;

[0101] 步骤8 :打开子视图,加载记录里的根节点,根据主视图树的状态恢复子视图树的状态。 [0101] Step 8: Open the subview load record in the root node, to restore the state of the state of the sub-tree view of a front view of the tree.

[0102] 每次打开浏览时,各个树节点的展开和选中状态完全与上回关闭时一致,即自动记忆树的状态。 [0102] Every time when you open the browser, each tree node expanded and selected exactly the same time on the back closed, namely automatic memory state of the tree.

Claims (6)

  1. 1. 一种多视图浏览树形结构数据的方法,其特征在于包括步骤:1)使用树控件构造树形结构数据的主树,将对应该主树的主视图放入树浏览器内;2)根据用户选择的子树构造对应该子树的子视图,将该子视图放入树浏览器内;3)根据用户的切换命令在视图之间进行切换。 A multi-view browse tree structure data process, comprising the steps of: a) using a master control tree structure tree structure data, will be a front view of the primary tree into the tree browser; 2 ) the configuration of the user-selected sub-tree of subtrees should applet, the applet into the browser tree; 3) according to the handover command of the user to switch between views.
  2. 2.如权利要求1所述的多视图浏览树形结构数据的方法,其特征在于: 所述构建子视图步骤2、的详细步骤是:.2. 1)用户选择子树;.2. 2)构造一个包括用户所选的树节点及其下级节点的子树;.2. 3)隐去当前显示的视图,将对应该子树的子视图放入树浏览器内。 2. The multi-view according to claim 1 tree structure data browsing method, characterized in that: said step of constructing a detailed view of the sub-step 2, are: 1 .2) the user selects subtree; 0.22. ) configuration tree node and a lower node comprises a sub-tree selected by the user; .2 3) withheld currently displayed view, it will be subtree into the tree browser view.
  3. 3.如权利要求1所述的多视图浏览树形结构数据的方法,其特征在于: 所述切换视图步骤幻的详细步骤是:.3. 1)将当前视图中子树的状态同步至主视图的主树上,使主视图中对应树节点及其分支的状态与当前视图中子树的状态一致;.3. 2)构建子视图,加载用户所选的目标树节点及其下级节点数据,如果目标树节点确定的子视图已经存在,则本步骤省略;.3. 3)从主视图的主树上恢复目标视图子树的状态; 3.4)隐藏当前视图并显示目标视图。 3. The multi-view according to claim 1 tree structure data browsing method, characterized in that: said switching step phantom view of the detailed steps are: 1 .3) the status of the current view to the main synchronization subtrees primary tree view, a front view in a state corresponding to a branch tree node and its current state is consistent with the view of the subtree; .3 2) Construction subview, load target tree node and a lower node selected by the user data , if the applet determines the target tree node already exists, then this step can be omitted; .3 3) the target state is restored from the main view subtree front view of the tree; 3.4) hide the current view and the view display target.
  4. 4.如权利要求1至3之一所述的多视图浏览树形结构数据的方法,其特征在于:当用户的操作命令是向上时,则隐去当前显示的视图,转而显示当前视图中根节点的父节点所确定的子视图;当操作命令是返回主视图时,则隐去当前显示的视图,转而显示主视图。 4. The method of claim 1 multiview to any one of claims 3 browse tree data structure, wherein: when the user operation command is upward, the faded currently displayed view, instead of the current view root child node of the parent view determined; when the return operation command is a front view, a view is faded currently displayed, the main view display instead.
  5. 5.如权利要求1所述的多视图浏览树形结构数据的方法,其特征在于:进一步包括记忆和恢复步骤4):当关闭树浏览器时,记忆当前浏览状态,再次打开树浏览器时,恢复记忆的浏览状态。 When closed tree browser, memory current viewing status, open the tree browser again: 5. The multi-view according to claim 1 tree structure data browsing method, characterized by: further comprising a memory and a recovery step 4) , view the status of recovered memory.
  6. 6.如权利要求5所述多视图浏览树形结构数据的方法,其特征在于: 所述的记忆和恢复步骤4)的详细步骤是:.3. 1)用户发出关闭树浏览器命令; 3. 2)记录当前视图的根节点; 3. 3)将当前视图的树状态同步至主视图树上; 3. 4)记录主视图树的状态;.3. 5)关闭树浏览器,至此视图已被记忆,下面是恢复步骤; 3. 6)再次打开树浏览器;.3. 7)加载主视图树,从记录里恢复主视图树的状态;.3. 8)打开子视图,加载记录里的根节点,根据主视图树的状态恢复子视图树的状态。 The multi-view tree structure data browsing method of claim 5, wherein: said memory recovery step 4) and the steps are detailed: 1 .3) the user issues a Close command tree browser; 3 2) the root node records the current view; 3.3) the current state of the tree to the front view as the view of the tree; 3.4) the recording state of a front view of the tree; .3 5) Close tree browser view point It has memorized, following the restoration step; 3.6) open the tree browser again; .3 7) loads the main tree view, a front view of recovery from the tree in the recording state; .3 8) subview open, loading the recording in the root node, the tree view of the state of the sub restoring the state of a front view of the tree.
CN 201110059496 2011-03-11 2011-03-11 Method for browsing tree-like structural data at multiple views 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 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 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 (2)

* 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

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 (2)

* 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

Also Published As

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

Similar Documents

Publication Publication Date Title
US20020030703A1 (en) System and method to display and manage data within hierarchies and polyarchies of information
US5555354A (en) Method and apparatus for navigation within three-dimensional information landscape
US20090144651A1 (en) Interactive frames for images and videos displayed in a presentation application
US20090138113A1 (en) Systems, methods, and computer program products for home and landscape design
Bezerianos et al. Graphdice: A system for exploring multivariate social networks
US6944830B2 (en) System and method for browsing hierarchically based node-link structures based on an estimated degree of interest
Tominski et al. CGV—An interactive graph visualization system
US20020118214A1 (en) System and method for browsing node-link structures based on an estimated degree of interest
Sjöstrand et al. A brief introduction to PYTHIA 8.1
US6271846B1 (en) Method for reanchoring branches within a directory tree
US20050251757A1 (en) Display of enlarged visual container graphical user interface (GUI) components during GUI layout or design
US8560494B1 (en) Visual data importer
CN101944204A (en) Geographic information system applied to power system and method for improving display efficiency thereof
CN101477558A (en) Browser label management method and multi-page browsing system
US20040075688A1 (en) System, method and computer program product for managing CAD data
US20110321029A1 (en) Upgrade management of application components
Liebig et al. Ontotrack: Combining browsing and editing with reasoning and explaining for owl lite ontologies
US20130263047A1 (en) Methods and apparatus for providing graphical view of digital content
Cohen et al. Constraint-based tiled windows
US20070198930A1 (en) Methods, Systems and Computer Program Products for Controlling Tree Diagram Graphical User Interfaces and/or For Partially Collapsing Tree Diagrams
US20110145738A1 (en) Nested roadmap navigation in a graphical user interface
Salmon et al. Perspective: Semantic Data Management for the Home.
Lin et al. Structure-preserving retargeting of irregular 3D architecture
US20060098025A1 (en) Color management method and apparatus thereof
CN102681774A (en) Method and device for controlling application interface through gesture and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
COR Bibliographic change or correction in the description

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

C53 Change or modification
C14 Granted