Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a file node viewing method based on a file thought graph according to an embodiment of the present invention, where the method includes steps S110 to S140.
Step S110, generating a retrieval window on a thought guide graph interface, and outputting and displaying a retrieval result when receiving an event for performing node retrieval on the retrieval window;
step S120, when a selected instruction of the retrieval result is received, positioning and jumping to a node corresponding to the retrieval result and taking the node as a target retrieval node;
in this embodiment, in the computer file management system based on the mind map, a large number of nodes are often displayed on the mind map interface, which causes certain difficulty in viewing for the user. In order to facilitate a user to quickly position a node to be checked, a retrieval window is generated in a thought guide graph interface, node retrieval is carried out in the retrieval window, and a retrieval result is output and displayed; and when a selected instruction of the retrieval result is received, positioning and jumping to a node corresponding to the retrieval result, and taking the node as a target retrieval node. The node retrieval can be carried out through retrieving relevant field information of the node, wherein the relevant field information of the node comprises an associated file name, a name of individual name, a node label and a text remark of the node.
As shown in fig. 2, in an embodiment, step S110 includes:
step S111, when an event of triggering action of a search function button in the mind map interface is detected, generating the retrieval window on the mind map interface, wherein the retrieval window is provided with an input frame and an opening button;
step S112, when an input instruction for carrying out retrieval key words on the input box is received, determining the retrieval key words;
and step S113, when an event of triggering the start button is detected, retrieving in the thought guide graph interface based on the retrieval key word, generating a result display list, and displaying the retrieval result in the result display list.
In the embodiment, the related keywords of the target retrieval node are input into the retrieval window, the node to be checked is found in a retrieval matching mode, and the retrieval result is displayed in a visual effect. The specific operation process is as follows: generating a retrieval function button in a mind map interface, and generating a retrieval window in the mind map interface when detecting an event of triggering action of the search function button in the mind map interface, wherein the retrieval window is provided with an input frame and an opening button; when an input instruction for searching keywords for an input frame is received, determining the search keywords; when an event of triggering action of the opening button is detected, searching is conducted in the thinking guide picture interface based on the search key words, a result display list is generated, and the search result is displayed in the result display list.
For example, as shown in fig. 8, when the search function button 2.1 on the left side of the document management page is clicked, the outer frame of the search function button 2.1 is changed into a dotted line, a search window 2.2 pops up on the right side of the search function button 2.1, and an input box 2.21 and a search button 2.22 are arranged in the search window 2.2; inputting a retrieval keyword in an input box 2.21, and clicking a search button 2.22 below the input box to run retrieval matching related nodes; after the matching is completed, the state of displaying the search result is entered, as shown in fig. 9, at this time, the search window 2.2 on the right side of the search function button 2.1 is changed into the search result display list 2.3, the scroll bar 2.4 on the right side of the search result display list 2.3 is dragged to view a plurality of search results, the matched search result 2.5 in the list is clicked, the position of the node 2.6 corresponding to the search result 2.5 is located and jumped to, and the corresponding node enters the selected state (the node is selected by the dashed outline box) to prompt the user of the matching result. The operation of quitting the retrieval result display state is to click a blank space 2.7 of the thinking graph interface, the retrieval result display list 2.3 disappears, the corresponding node 2.6 cancels the selected state, and the outer frame of the retrieval button 2.1 restores the solid line state.
Step S130, when a preview instruction of a target browsing node is received, generating a preview window of an associated file of the target browsing node, and displaying the associated file in the preview window;
in this embodiment, in order to facilitate a user to view an associated file corresponding to a node, when a preview instruction for a target browsing node is received, a preview window of the associated file of the target browsing node is generated, and the associated file is displayed in the preview window. The associated file can be previewed in a windowing mode in a mind map interface by not opening the associated file corresponding to the node, so that a user can quickly confirm whether the associated file is a required file or a file version. It should be noted that the preview window cannot modify the associated file, and only displays the file content of the associated file.
In addition, the file formats supporting the preview include common document file formats such as doc, docx, ppt, pptx, txt, pdf, and the like, mainstream video formats such as mp4, avi, flv, rmvb, and the like, mainstream audio formats such as mp3, wma, ape, and the like, and mainstream picture formats such as jpeg, png, and gif, and the like.
As shown in fig. 3, in an embodiment, step S130 includes:
step S131, when an event of the trigger action of the preview function button is detected, detecting the format of the associated file of the target browsing node;
step S1321, if the format of the associated file supports preview, generating the preview window in the mind map interface and displaying the associated file in the preview window;
step S1322, if the format of the associated file does not support the preview, displaying preset prompt information.
In this embodiment, when it is detected that the preview function button is triggered, the format of the associated file of the target browsing node is detected; if the format of the associated file supports the preview in the local terminal, generating a preview window in the mind map interface and displaying the associated file in the preview window; and if the format of the associated file does not support the local preview at the terminal, displaying preset prompt information to prompt a user that the associated file cannot be previewed.
For example, as shown in fig. 10, the operation of previewing the file is to click the preview function button 3.1 on the left side of the file node, at this time, the file node 3.2 enters a selected state (the node is selected by the frame of the dotted line outline), and at the same time, the preview window 3.3 appears on the right side of the thought graph interface to preview the file, and the scroll bar 3.4 on the right side of the preview window is dragged to scroll up and down the document file. Further, it is required to know that if the associated file of the file node is a video file and an audio file, the fast preview popup of the multimedia files such as the video file, the audio file and the like supports the functions of playing/pausing and clicking/dragging progress jump; if the associated file is a picture file, the fast viewing window supports rolling mouse wheel zooming and clicking a left mouse button to drag and view, and the details are not repeated here.
For example, as shown in fig. 11, when the file quick preview button 4.1 is clicked, the node 4.0 enters the selected state (the node is framed by the dashed outline), and if the format of the associated file does not support preview, a popup window on the right side of the mind map interface prompts that "the format file does not support quick preview" 4.2. Clicking the 'confirm' button 4.3 of the popup closes the popup, the node 4.0 exits the selected state, and the dotted outline is cancelled.
And step S140, when a hyperlink opening instruction for the target browsing node is received, opening the associated file according to a preset opening mode.
In this embodiment, besides the associated file of the node can be previewed, the associated file can be directly opened through the hyperlink between the node and the associated file, the associated file is viewed through the default application of the associated file, and the associated file is edited and browsed. Specifically, when a hyperlink opening instruction for a target browsing node is received, the associated file is opened according to a preset file opening mode.
It should be noted that the step identifiers of steps S110 to S140 are only for convenience of description and illustration, and the execution sequence of steps S110 to S120, step S130, and step S140 is not limited, and the execution sequence of steps S110 to S120, step S130, and step S140 may be adjusted according to the actual application requirement.
As shown in fig. 4, in an embodiment, step S140 includes:
step S141, when a hyperlink opening instruction for the target browsing node is received, detecting whether the hyperlink association between the target browsing node and the associated file is normal;
step S1421, if yes, opening the associated file according to a preset opening mode;
step S1422, if not, displaying a node processing function button, wherein the node processing function button comprises a deleting button for deleting a node and a rebinding button for rebinding the target browsing node;
step S1431, when an event of triggering action on the deleting button is detected, deleting the target browsing node;
step S1432, when the event of the trigger action to the rebind button is detected, generating a file entry bar in the thought chart interface, and performing hyperlink association on the target browsing node and the selected source file through the file entry bar.
In this embodiment, in order to facilitate the user to view the associated file information of the node, the associated file may be opened through a hyperlink between the node and the associated file. Specifically, when a hyperlink opening instruction for the target browsing node is received, whether the hyperlink association between the target browsing node and the associated file is normal is detected; if so, opening the associated file according to a preset associated file opening mode; and if not, displaying a node processing function button, wherein the node processing function button comprises a deleting button for deleting the node and a rebinding button for rebinding the target browsing node. If an event of a trigger action of a user on a deletion button is detected, deleting the target browsing node; and when an event of triggering action of the re-binding button is detected, generating a file import column on the thinking guide graph interface, and performing hyperlink association on the target browsing node and the selected associated file through the file import column.
For example, in fig. 12, the operation of opening and viewing the associated file is: when the 5.0 underline of the associated file name of the node is the solid line 5.1, namely the hyperlink state of the node is normal, clicking the 5.0 associated file name opens the file in the default opening mode of the associated file for browsing or editing. When the node 5.2 associated file name is underlined as a dotted line 5.3, that is, the node hyperlink status exception indicates that the associated file cannot be opened due to deletion of the associated file or a hyperlink path error, the node processing window 5.4 prompts "node hyperlink status exception" and asks "how to process the node? ", there are two buttons" remove "5.41 and" rebind "5.42 under the pop-up window. If the "remove" button 5.41 is clicked, the node disappears from the document management page and is moved into the recycle bin; if the 'rebinding' button 5.42 is clicked, the four function buttons 5.5 on the left side of the thought map interface are hidden, meanwhile, as shown in fig. 13, a file import column 5.6 is displayed on the left side of the file management page, a source file 5.7 of which the node needs to be rebinding is found in the file import column, a mouse is moved to the line of the source file 5.7 in the file import column, after an underline prompt appears below the source file name, the source file 5.7 is clicked to rebind, the rebinding file import column 5.6 disappears, and the four function buttons 5.5 on the left side of the thought map interface reappear. The new associated filename underlining line of node 5.2 after rebinding will change from dotted line 5.3 to solid line 5.8 to indicate that the node hyperlink status is normal.
In an embodiment, the file node viewing method based on the file thought graph provided in the embodiment of the present invention further includes:
step S150, a target sequencing node is obtained, and when an event for sequencing child nodes of the target sequencing node is received, a sequencing result is output.
In this embodiment, in addition to generating a search window on the thought-guiding graph interface for the user to search for the nodes, the invention further has a node sorting function, and the node sorting function adjusts the node arrangement sequence by sorting the nodes, so that the node arrangement sequence is more beautiful.
As shown in FIG. 5, in one embodiment, step 150 includes:
step 151, when a selected event for a parent node in the mind map interface is received, taking the parent node as the target sorting node and displaying a sorting button;
152, when receiving an opening instruction of the sorting button, displaying a file attribute bar containing a plurality of file attributes;
step 153, when receiving a selection instruction for any file attribute in the file attribute column, taking the selected file attribute as a target file attribute, and sorting the child nodes according to the target file attribute to obtain the sorting result.
In this embodiment, in order to improve the arrangement regularity of the nodes, the nodes in the thought-derivative graph may be sorted. When a selected event for a father node in the thinking guide graph interface is received, the father node is used as a target sorting node and a sorting button is displayed; when an opening instruction for a sorting button is received, a file attribute column containing a plurality of file attributes is displayed; when a selection instruction for any file attribute in the file attribute column is received, the selected file attribute is used as a target file attribute, and the child nodes are sorted according to the target file attribute to obtain a sorted child node sorting result.
For example, as shown in fig. 14, the operation of sorting the node 6.1 is to click the parent node 6.1, so that the parent node 6.1 enters the selected state (the node is selected by the dashed outline box), and then click the sorting button 6.2 appearing on the right side of the mind map interface, a pop-up window on the left side of the button shows the file attribute column 6.3 of a plurality of file attributes, and the file attribute options include seven items, namely "default", "importance", "file size", "modification time", "associated file name", "file type", and "node label". Each file attribute is equivalent to a sort rule, and after the file attribute needing to be sorted is clicked, the next-level child nodes of the selected father node are sorted. The "default" sorting rule is a node sorting state after node sorting and arrangement. If the file attribute 'importance' 6.4 selected by the user is received, sorting is carried out according to the importance of the child node 6.7 of the parent node 6.1.
As shown in fig. 6, in an embodiment, step S153 includes:
step S1531, displaying a sorting direction button in the sorting button, wherein the current sorting direction is displayed in the sorting direction button;
step S1532, when receiving the switching instruction to the sorting direction button, re-sorting the sorting results in the reverse direction, and updating the current sorting direction in the sorting direction button.
In this embodiment, the sorting includes a forward direction and a reverse direction according to the actual application requirement. Specifically, a sorting direction button is displayed in the sorting button, and the current sorting direction is displayed on the sorting direction button; and when a switching instruction of the sorting direction button is received, re-sorting the sorting results in the reverse direction, and updating the current sorting direction in the sorting direction button.
For example, as shown in fig. 15, based on fig. 14, after the user selects a certain file attribute, the sorting state is entered, the outer frame of the sorting button 6.2 is in a dotted line shape, the sorting icon in the center of the sorting button 6.2 is replaced by an arrow icon 6.5 of "↓" or "×" which indicates the sorting direction in which the sorting rule is currently located, and clicking the arrow icon 6.5 can switch the sorting direction. The meaning of the arrow of "↓" is to sort the next level child nodes of the selected father node from small to large according to the current sorting rule; the meaning of the arrow [ × "is that the child nodes at the next level of the selected parent node are sorted from large to small according to the current sorting rule. The sorting is performed for the first time in the order of "×") by default.
Further, under each sort rule, a size attribute of each rule needs to be specified. Illustratively, for three sorting rules of "importance", "file size" and "modification time", a higher importance level indicates a larger size, and a lower importance level indicates a smaller size; the larger the size of the associated file is, the larger the size is, and the smaller the size of the associated file is, the smaller the size is; the later the modification time of the associated file, the larger the representation size, and the earlier the modification time of the associated file, the smaller the representation size. For three sorting rules of 'associated file name', 'file type' and 'node label', sorting is carried out according to the first text character of the information attribute during sorting, the priority of the number is highest during sorting, the priority of English letters is second, and the priority of Chinese is third. In the figures, a direction of 0 to + ∞indicatesa direction from small to large; in english, the direction of a to z represents a small to large direction; in chinese, the direction from a to z in english spelling of a pinyin indicates a small to large direction. And if the attributes except the associated file names are the same after being sorted according to a certain sorting rule, performing secondary sorting in the attributes of the same type and the size of the associated file names. In addition, when the last sort rule takes effect, the operation of switching the sort rule clicks the left arrow 6.6 button on the left side of the sort button on the right side of the file attribute column to pop up the file attribute column on the left side, and the switching of the sort rule is completed by selecting a new file attribute.
The method generates a retrieval window in a thought guide graph interface, provides a node retrieval function, helps a user to quickly locate a target viewing node, realizes quick viewing of a file node by previewing or directly opening an associated file of the target viewing node, and improves the viewing efficiency of the file node.
The embodiment of the invention also provides a file node viewing device based on the file thought map, which is used for executing any embodiment of the file node viewing method based on the file thought map. Specifically, referring to fig. 7, fig. 7 is a schematic block diagram of a file node viewing apparatus based on a file mind map according to an embodiment of the present invention. The file node view management apparatus 100 based on the file thought graph may be configured in a server.
As shown in fig. 7, the file node viewing apparatus 100 based on the file thought graph includes a retrieval module 110, a positioning module 120, a preview module 130, and a viewing module 140.
The system comprises a retrieval module, a searching module and a searching module, wherein the retrieval module is used for generating a retrieval window on a thought guide graph interface, and outputting and displaying a retrieval result when receiving an event for performing node retrieval on the retrieval window;
the positioning module is used for positioning and jumping to a node corresponding to the retrieval result when receiving a selected instruction of the retrieval result, and the node is used as a target retrieval node;
the preview module is used for generating a preview window of the associated file of the target browsing node when a preview instruction of the target browsing node is received, and displaying the associated file in the preview window;
and the viewing module is used for opening the associated file according to a preset opening mode when receiving a hyperlink opening instruction of the target browsing node.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the file node viewing method based on the file thought graph as described above when executing the computer program.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the file node viewing method based on a file mind map as described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.