CN116894007B - Catalog information display method, device, computing equipment and storage medium - Google Patents
Catalog information display method, device, computing equipment and storage medium Download PDFInfo
- Publication number
- CN116894007B CN116894007B CN202311132363.6A CN202311132363A CN116894007B CN 116894007 B CN116894007 B CN 116894007B CN 202311132363 A CN202311132363 A CN 202311132363A CN 116894007 B CN116894007 B CN 116894007B
- Authority
- CN
- China
- Prior art keywords
- folder
- target folder
- directory
- file manager
- displaying
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a directory information display method, a device, a computing device and a storage medium, which relate to the technical field of computers and aim to solve the technical problem that the prior directory information display method makes the process of checking the hierarchical relationship of folders more complex for a user, and the method comprises the following steps: in response to an operation of selecting a target folder in the file manager, computing directory information of the target folder, the directory information including a hierarchical value of the target folder from its root directory and a maximum hierarchical value of the path target folder from the root directory of the target folder; and displaying the catalog information in the file manager through a preset visual effect. It can be known that the invention can directly display the level value of the current folder from the root directory of the current folder and the maximum level value of the current folder from the root directory of the current folder, so that the user can intuitively check the interlayer level relation of the file, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a computing device, and a storage medium for displaying directory information.
Background
In the existing operating system, files are managed by a file manager, and the display of directory information is also realized by the file manager. Directory information, which may be understood as directory hierarchy information corresponding to a folder that is currently open. The manner of displaying the directory information by the file manager is as follows: when a user selects any folder in the file manager, the number of folders or the number of files under the selected folder is displayed under the file manager. As shown in fig. 1, the navigation bar 1-1 shows the content of the lower folder B of the folder a, wherein the folder B includes the folder C, the folder D, the document a and the folder a, and when the folder C is selected, the lower folder of the selected folder C is displayed at the status bar 1-2 of the document manager to include three items. However, in the existing folder display method, the user cannot intuitively determine the total depth of the current directory, and if the user wants to know which directories exist under the current directory when the directories are deep, that is, the folder directory levels are more, the user needs to search the deep directories one by one in a mouse click mode, so that the process of viewing the folder level relationship by the user is complex, which is inconvenient for the user and results in poor user experience.
Accordingly, it is desirable to provide a method for displaying directory information to solve the technical problem that the existing method for displaying directory information makes the process of viewing the folder hierarchy more complicated.
Disclosure of Invention
To this end, embodiments of the present invention provide a directory information display method, apparatus, computing device, and storage medium in an effort to solve or at least alleviate the above-identified problems.
According to an aspect of the embodiment of the present invention, there is provided a directory information display method, adapted to be executed in a file manager, the method including: in response to an operation of selecting a target folder in the file manager, computing directory information of the target folder, wherein the directory information includes a first depth value corresponding to a hierarchical value of the target folder from its root directory and a second depth value corresponding to a maximum hierarchical value of the pathway target folder from the root directory of the target folder; and displaying the catalog information in the file manager through a preset visual effect.
Optionally, the preset visual effect is a progress bar, and displaying the directory information in the file manager through the preset visual effect includes: setting a second depth value as a range of a progress bar, setting a first depth value as a current progress of the progress bar, and creating the progress bar; the created progress bar and directory information are displayed at predetermined locations of the file manager.
Optionally, the predetermined location includes a location to which a navigation bar of the file manager belongs and a location to which a status bar of the file manager belongs.
Optionally, the preset visual effect is a floating frame, and displaying the directory information in the file manager through the preset visual effect includes: responding to the operation of moving the mouse cursor to the target file in the navigation bar, and creating a suspension frame; the directory information is displayed in a hover frame.
Optionally, the directory information display method provided by the invention further includes: in response to moving the mouse cursor to an area other than the navigation bar and the hover frame, the hover frame is deleted.
Optionally, presetting the visual effect as a page, and displaying the catalog information in the file manager through the preset visual effect includes: creating a new page; the directory information and contents of the target folder are displayed in the new page.
Optionally, the directory information display method provided by the invention further includes: and responding to the operation of triggering the preset visual effect, and displaying a tree directory structure diagram of all hierarchical relations of the path target folder from the root directory of the target folder.
Optionally, the manner of triggering the preset visual effect includes triggering a progress bar, triggering a floating frame and triggering catalog information in a new page.
Optionally, the directory information display method provided by the invention further includes: and responding to the operation of selecting any folder in the tree directory structure diagram, taking the selected folder as a target folder, and opening the target folder.
Optionally, in response to an operation of selecting any folder in the tree directory structure diagram, taking the selected folder as a target folder, and opening the target folder includes: responding to the operation of selecting any folder in the tree directory structure diagram, and taking the selected folder as a target folder; judging whether the focus enters the primitive of the target folder, if so, searching the path of the target folder; and opening the target folder according to the searched path.
According to another aspect of the present invention, there is provided a directory information display apparatus adapted to be executed in a file manager, the apparatus comprising: a directory information determining module adapted to calculate directory information of the target folder in response to an operation of selecting the target folder in the file manager, wherein the directory information includes a first depth value corresponding to a hierarchical value of the target folder from its root directory and a second depth value corresponding to a maximum hierarchical value of the path target folder from the root directory of the target folder; and the catalog information display module is suitable for displaying the catalog information calculated in the catalog information determination module in the file manager through presetting a visual effect.
According to yet another aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method as described above.
According to another aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the directory information display method of the embodiment of the invention, in response to an operation of selecting a target folder in a file manager, directory information of the target folder is calculated, the directory information includes a hierarchical value of the target folder from a root directory thereof and a maximum hierarchical value of a path target folder from the root directory of the target folder, and the directory information is displayed in the file manager through a preset visualization effect. Therefore, the directory information display method provided by the invention directly displays the level value of the current folder from the root directory of the current folder and the maximum level value of the current folder from the root directory of the current folder, so that a user can intuitively check the level relation of the file interlayer without searching the deep directory one by one in a mouse click mode, and the user experience is improved.
And secondly, when the directory information is triggered, the complete directory structure of the path target folder starting from the root directory of the target folder can be displayed in the file manager, so that the user can clearly and intuitively check the complete directory structure of the path target folder starting from the root directory of the target folder according to the tree directory structure diagram, and the user experience is further improved.
In addition, by selecting any folder in the tree directory structure diagram, the user can jump to the selected folder, the interactivity is strong, and the process of jumping to the target folder is simpler and more convenient, so that the folder jumping efficiency is improved, and the user experience is further improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific implementation of the embodiments of the present invention will be more apparent.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 shows an interface schematic of an existing file manager;
FIG. 2 illustrates a block diagram of a computing device 200 in accordance with one embodiment of the invention;
FIG. 3 illustrates a flow diagram of a directory information display method 300 according to one embodiment of the invention;
FIG. 4 shows an interface schematic of a file manager according to one embodiment of the invention;
FIG. 5 shows a flow chart of a directory information display method 500 according to another embodiment of the invention;
FIG. 6 shows an interface diagram of a file manager according to another embodiment of the invention;
FIG. 7 shows a flow chart of a directory information display method 700 according to yet another embodiment of the invention;
fig. 8 shows a block diagram of a catalog information display apparatus 800 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The invention provides a directory information display method for solving the technical problem that the process of checking the hierarchical relation of folders by a user is complex in the existing directory information display method. The method can be implemented as a plug-in, integrated in a file manager of the computing device 200, or as an application program, installed in the computing device 200, and the file manager in the computing device 200 can display directory information by the method.
The starting mode of the catalog information display method can be set according to the actual application scene, and the invention is not limited to the method. For example, when the computing device is started, that is, the computing device is started and successfully logs in the user, the directory information display method provided by the invention is automatically started when the user interface is accessed.
The computing device 200 described above may be implemented as a server, such as an application server, web server, or the like; but not limited to, desktop computers, notebook computers, processor chips, tablet computers, and the like. Fig. 2 illustrates a block diagram of the physical components (i.e., hardware) of a computing device 200. In a basic configuration, computing device 200 includes at least one processing unit 202 and system memory 204. According to one aspect, depending on the configuration and type of computing device, system memory 204 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories.
According to one aspect, the system memory 204 includes an operating system 205. The system memory 204 also includes application programs 250. According to one aspect, the operating system 205 is, for example, adapted to control the operation of the computing device 200. Included in the operating system 205 is a file manager 2051. Further, examples are practiced in connection with a graphics library, other operating systems, or any other application program and are not limited to any particular application or system. This basic configuration is illustrated in fig. 2 by those components within dashed line 208. According to one aspect, computing device 200 has additional features or functionality. For example, according to one aspect, computing device 200 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in fig. 2 by removable storage device 209 and non-removable storage device 210.
As set forth hereinabove, according to one aspect, a plurality of program modules are stored in the system memory 204. When the directory information display method provided by the present invention is implemented as an application 250 and executed on a processing unit 202, the application 250 performs processes including, but not limited to, one or more of the stages of the method 300. According to one aspect, the type of application is not limited, e.g., the application further includes: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser applications, etc.
According to one aspect, the examples may be practiced in a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, examples may be practiced via a system on a chip (SOC) in which each or many of the components shown in fig. 2 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via dedicated logic integrated with other components of computing device 200 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other techniques capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum techniques. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
According to one aspect, the computing device 200 may also have one or more input devices 212, such as a keyboard, mouse, pen, voice input device, touch input device, and the like. Output device(s) 214 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 200 may include one or more communication connections 216 that allow communication with other computing devices 218, examples of suitable communication connections 216 including, but not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel and/or serial ports. The computing device 200 may be communicatively connected with one or more other computing devices 218.
The term computer readable media as used herein includes computer storage media. Computer storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information (e.g., computer readable instructions, data structures, or program modules). System memory 204, removable storage 209, and non-removable storage 210 are all examples of computer storage media (i.e., memory storage). Computer storage media may include Random Access Memory (RAM), read Only Memory (ROM), electrically erasable read only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture that can be used to store information and that can be accessed by computing device 200. According to one aspect, any such computer storage media may be part of computing device 200. Computer storage media does not include a carrier wave or other propagated data signal.
According to one aspect, communication media is embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
Fig. 3 shows a flow chart of a directory information display method 300 according to an embodiment of the invention. The method 300 is adapted to be performed in the file manager 2051 of the computing device 200, and the method 300 may include steps 310 to 320.
According to the directory information display method provided by the invention, the hierarchical value of the current folder from the root directory of the current folder and the maximum hierarchical value of the current folder from the root directory of the current folder are directly displayed in the file manager, so that a user can intuitively check the hierarchical relationship of the file interlayer in the file manager, the user does not need to search the deep directory one by one in a mouse click mode, and the user experience is improved.
When the user selects the target folder, the file manager responds to the operation by first performing step 310 to calculate the directory information of the target folder. It should be noted that, the implementation manner of calculating the directory information of the folder is the prior art, and is not described herein, and all techniques that can calculate the directory information of the folder are within the scope of the present invention.
The directory information includes a first depth value corresponding to a level value of the target folder from its root directory, and a second depth value corresponding to a maximum level value of the path target folder from the root directory of the target folder. That is, the directory information includes the depth of the target folder from its root directory, as well as the maximum depth of the path target folder from the root directory of the target folder.
After determining the directory information of the target folder, step 320 is continued to display the directory information in the file manager through a preset visualization effect. In some embodiments, the preset visualization includes a progress bar, a hover frame, and a page.
In some embodiments, if the preset visual effect is a progress bar, displaying the directory information in the file manager through the preset visual effect includes: the second depth value is set as the range of the progress bar, the first depth value is set as the progress value of the progress bar, that is, the maximum depth of the path target folder from the root directory of the target folder is set as the range of the progress bar, the depth of the target folder from the root directory thereof is set as the current progress of the progress bar, and the progress bar is created. And displaying the created progress bar and directory information at a predetermined location of the file manager.
It should be noted that, the creation manner of the progress bar may be set according to the actual application scenario, which is not limited by the present invention. For example, by calling qt component Qwidget, further, a progress bar is created by a progress bar component qprogress bar of the component Qwidget. The preset position and the directory information display mode can be set according to the actual application scene, and the invention is not limited to the preset position and the directory information display mode. For example, the predetermined location includes a location to which a navigation bar of the file manager belongs and a location to which a status bar of the file manager belongs. Taking a navigation bar of a file manager as an example of a predetermined position, a progress bar 4-1 is displayed at the navigation bar as shown in fig. 4, and directory information 4-2 is displayed at a position adjacent to the right side of the progress bar. Wherein the catalogue information may be displayed in the form of buttons, for example by a qt component qkutton implementation.
In some embodiments, if the preset visual effect is a floating frame, displaying the directory information in the file manager through the preset visual effect includes: a hover frame is first created in response to a user moving a mouse cursor to a target folder of a navigation bar, and directory information is then displayed in the hover frame. And deleting the created hover frame when the user moves the mouse cursor to an area other than the navigation bar and hover frame.
In some embodiments, if the preset visual effect is a page, displaying the directory information in the file manager through the preset visual effect includes: a new page is first created and the directory information and contents of the target folder are displayed in the new page.
Thus, the display of the target information is realized. Steps 310 to 320 are performed each time the directory information needs to be displayed.
Fig. 5 shows a flow chart of a directory information display method 500 according to another embodiment of the invention. The method 500 is adapted to be performed in the file manager 2051 of the computing device 200, and the method 500 may include steps 510-530. Step 510 to step 520 are the same as step 310 to step 320, and are not described here again.
After steps 510 and 520 are performed, the directory information is displayed in the file manager. Then, if the user triggers the preset visualization effect, the file manager responds to the operation and continues to execute step 530, where the tree directory structure diagram is displayed in the file manager, so as to visually display the directory hierarchy relationship corresponding to the target folder. The tree directory structure diagram is understood as a multi-way tree diagram showing all hierarchical relationships of the path target folder starting from the root directory of the target folder.
In some embodiments, the specific implementation process of displaying the tree directory structure diagram is as follows:
the file manager first creates a target window in response to a user triggering an operation of the directory information. For example, creating a window of a scene-view architecture, the whole window can be regarded as a view, and using qt component QGraphicsView, generating a scene inside the window as a background, and drawing a tree directory structure diagram needs to be performed on the scene.
All subdirectories of the pathway target folder are then determined starting from the root directory of the target folder. The root directory of each target folder corresponds to a multi-way tree comprising all sub-directories, each node in the multi-way tree corresponds to one folder, and file information of the corresponding folder is stored in each node and is used for uniquely identifying the folder. The file information can be set according to the actual application scene, and the invention is not limited as long as the unique identification folder is satisfied. For example, the file information may be a folder name. The multi-way tree corresponding to the root directory of the target folder is created and stored when the root directory is opened for the first time.
Then determining all subdirectories of the pathway target folder specifically includes: traversing the multi-way tree corresponding to the root directory of the target folder in sequence, regarding each node as a item, namely, each folder as an entry, and determining all nodes (item) of the path target folder from the root directory, namely, determining all folders of the path target folder from the root directory.
And then, according to the sequence of each subdirectory in the multi-way tree corresponding to the root directory, each subdirectory is used as a node, and a connecting straight line is drawn between each subdirectory so as to complete the drawing of a tree-shaped directory structure diagram, for example, a qt component Qpinter is used for drawing the connecting straight line between each item, thereby obtaining a complete tree-shaped directory structure diagram of the path target folder from the root directory. And displaying the drawn tree directory structure diagram in the created target window. Taking the directory information 4-2 triggering the folder B shown in fig. 4 as an example, the tree directory structure diagram 6-1 corresponding to the displayed folder B is shown in fig. 6.
It should be noted that, if the preset visual effect is a progress bar, the manner of triggering the preset visual effect may be to trigger the progress bar, and further, a specific implementation manner of triggering the progress bar may include clicking the progress bar or moving a mouse cursor to the progress bar. If the preset visual effect is a floating frame, the manner of triggering the preset visual effect may be to trigger the floating frame, and further, the implementation manner of triggering the floating frame may include moving the mouse cursor into the floating frame, clicking any position in the area to which the floating frame belongs, and clicking directory information in the floating frame. If the preset visual effect is a page, the manner of triggering the preset visual effect may be triggering the directory information in the new page, and further, triggering the directory information in the new page may include clicking the directory information in the page.
According to the above, when the preset visual effect is triggered, the tree-shaped directory structure diagram of the complete directory structure of the path target folder starting from the root directory of the target folder can be displayed in the file manager, so that the user can clearly and intuitively check the complete directory structure of the path target folder starting from the root directory of the target folder according to the tree-shaped directory structure diagram, and user experience is further improved.
Fig. 7 shows a flowchart of a directory information display method 700 according to yet another embodiment of the present invention. Method 700 is equally well suited for execution in file manager 2051 of computing device 200, and method 700 may include steps 710 through 740. Step 710 to step 730 are the same as step 510 to step 530, and are not repeated here.
After steps 710 to 730 are performed, a tree directory structure diagram of the target folder is displayed in the file manager. If the user selects any folder in the tree directory structure diagram, then the file manager responds to the operation, performs step 740, takes the selected folder as the target folder, and opens the target folder. That is, the target folder may be a folder of the content area of the file manager, or may be any folder selected in the tree directory structure diagram.
In some embodiments, taking the selected folder as the target folder and opening the target folder includes: first, responding to the operation of selecting any folder in the tree directory structure diagram of the user, and taking the selected folder as a target folder. And continuously judging whether the focus enters the primitive of the target folder, if so, searching a path of the target folder in the multi-way tree corresponding to the root directory of the target folder according to the folder information (such as the name of the folder) of the target folder, and finally opening the target folder according to the searched path.
According to the method, the user can jump to the selected folder by selecting any folder in the tree directory structure diagram, the interactivity is strong, and the process of jumping to the target folder is simpler and more convenient, so that the user experience is further improved.
Fig. 8 shows a block diagram of a directory information display apparatus 800 according to an embodiment of the present invention. The apparatus 800 includes a catalog information determination module 810 and a catalog information display module 820 coupled in sequence.
The directory information determining module 810 is adapted to obtain directory information of the target folder in response to an operation of opening the target folder in the file manager.
The catalog information display module 820 is adapted to display the catalog information acquired in the catalog information determination module 810 in the file manager by presetting a visualization effect.
It should be noted that, the working principle of the catalog information display apparatus 800 is similar to that of the catalog information display method 300, and the description of the catalog information display method 300 is referred to for relevant points, and will not be repeated here.
As is apparent from the above, the directory information display method according to the present invention calculates directory information of a target folder in response to an operation of selecting the target folder in a file manager, the directory information including a hierarchical value of the target folder from a root directory thereof and a maximum hierarchical value of a path target folder from the root directory of the target folder, and displays the directory information in the file manager through a preset visualization effect. Therefore, the directory information display method provided by the invention directly displays the level value of the current folder from the root directory of the current folder and the maximum level value of the current folder from the root directory of the current folder, so that a user can intuitively check the level relation of the file interlayer without searching the deep directory one by one in a mouse click mode, and the user experience is improved.
And secondly, when the directory information is triggered, the complete directory structure of the path target folder starting from the root directory of the target folder can be displayed in the file manager, so that the user can clearly and intuitively check the complete directory structure of the path target folder starting from the root directory of the target folder according to the tree directory structure diagram, and the user experience is further improved.
In addition, by selecting any folder in the tree directory structure diagram, the user can jump to the selected folder, the interactivity is strong, and the process of jumping to the target folder is simpler and more convenient, so that the folder jumping efficiency is improved, and the user experience is further improved.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the directory information display method of the present invention in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media comprise readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification, and all processes or units of any method or apparatus so disclosed, may be employed, except that at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.
Claims (10)
1. A directory information display method, adapted to be executed in a file manager, the method comprising:
in response to an operation of selecting a target folder in a file manager, computing directory information of the target folder, wherein the directory information includes a first depth value corresponding to a hierarchical value of the target folder from its root directory and a second depth value corresponding to a maximum hierarchical value of the target folder from the root directory of the target folder;
displaying the catalog information in the file manager through a preset visual effect;
the preset visual effect is one of a progress bar, a floating frame and a page, and displaying the catalog information in the file manager through the preset visual effect comprises the following steps:
setting the second depth value as the range of the progress bar, setting the first depth value as the current progress of the progress bar, and creating the progress bar;
the displaying the catalog information in the file manager through the preset visual effect further comprises:
creating a hover frame in response to an operation to move a mouse cursor to the target folder in the navigation bar;
displaying the catalog information in a floating frame;
the displaying the catalog information in the file manager through the preset visual effect further comprises:
creating a new page;
and displaying the catalog information and the contents of the target folder in the new page.
2. The method of claim 1, wherein the predetermined locations include a location to which a navigation bar of the file manager belongs and a location to which a status bar of the file manager belongs.
3. The method as recited in claim 1, further comprising:
and deleting the suspension frame when the mouse cursor is moved to the area outside the navigation bar and the suspension frame.
4. A method as claimed in any one of claims 1 to 3, further comprising:
and responding to the operation triggering the preset visual effect, and displaying a tree directory structure diagram of all hierarchical relations of the target folder from the root directory of the target folder.
5. The method of claim 4, wherein the manner in which the preset visualization is triggered comprises triggering a progress bar, triggering a hover frame, and triggering the catalog information in a new page.
6. The method as recited in claim 5, further comprising:
and responding to the operation of selecting any folder in the tree directory structure diagram, taking the selected folder as the target folder, and opening the target folder.
7. The method of claim 6, wherein in response to an operation of selecting any folder in the tree directory structure diagram, taking the selected folder as the target folder, and opening the target folder comprises:
responding to the operation of selecting any folder in the tree directory structure diagram, and taking the selected folder as the target folder;
judging whether a focus enters a primitive of the target folder, if so, searching a path of the target folder;
and opening the target folder according to the searched path.
8. A directory information display apparatus adapted to be executed in a file manager, the apparatus comprising:
a directory information determining module adapted to calculate directory information of a target folder in response to an operation of selecting the target folder in a file manager, wherein the directory information includes a first depth value corresponding to a level value of the target folder from its root directory and a second depth value corresponding to a maximum level value of the target folder from the root directory of the target folder;
a catalog information display module adapted to display the catalog information calculated in the catalog information determination module in the file manager by presetting a visual effect;
the preset visual effect is one of a progress bar, a floating frame and a page, and displaying the catalog information in the file manager through the preset visual effect comprises the following steps:
setting the second depth value as the range of the progress bar, setting the first depth value as the current progress of the progress bar, and creating the progress bar;
the displaying the catalog information in the file manager through the preset visual effect further comprises:
creating a hover frame in response to an operation to move a mouse cursor to the target folder in the navigation bar;
displaying the catalog information in a floating frame;
the displaying the catalog information in the file manager through the preset visual effect further comprises:
creating a new page;
and displaying the catalog information and the contents of the target folder in the new page.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any one of claims 1 to 7.
10. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311132363.6A CN116894007B (en) | 2023-09-04 | 2023-09-04 | Catalog information display method, device, computing equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311132363.6A CN116894007B (en) | 2023-09-04 | 2023-09-04 | Catalog information display method, device, computing equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116894007A CN116894007A (en) | 2023-10-17 |
| CN116894007B true CN116894007B (en) | 2023-12-15 |
Family
ID=88312395
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311132363.6A Active CN116894007B (en) | 2023-09-04 | 2023-09-04 | Catalog information display method, device, computing equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116894007B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106991130A (en) * | 2017-03-07 | 2017-07-28 | 广东欧珀移动通信有限公司 | A file processing method, device and intelligent terminal |
| US9773010B1 (en) * | 2013-07-24 | 2017-09-26 | Veritas Technologies Llc | Information-driven file system navigation |
| CN110879798A (en) * | 2018-09-06 | 2020-03-13 | 中兴通讯股份有限公司 | A data processing method, terminal and computer-readable storage medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7855803B2 (en) * | 2005-06-20 | 2010-12-21 | Canon Kabushiki Kaisha | Printing control apparatus, information processing apparatus, control method therefor, computer program, and computer-readable storage medium |
-
2023
- 2023-09-04 CN CN202311132363.6A patent/CN116894007B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9773010B1 (en) * | 2013-07-24 | 2017-09-26 | Veritas Technologies Llc | Information-driven file system navigation |
| CN106991130A (en) * | 2017-03-07 | 2017-07-28 | 广东欧珀移动通信有限公司 | A file processing method, device and intelligent terminal |
| CN110879798A (en) * | 2018-09-06 | 2020-03-13 | 中兴通讯股份有限公司 | A data processing method, terminal and computer-readable storage medium |
Non-Patent Citations (2)
| Title |
|---|
| The Ubiquitous Digital File: A Review of File Management Research;Jesse David Dinneen等;《Journal of the association for information science and technology》;全文 * |
| 纯用户态的网络文件系统――RUFS;董豪宇;陈康;;计算机应用(第09期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116894007A (en) | 2023-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101592048B1 (en) | Providing search results for mobile computing devices | |
| US7908254B2 (en) | Identifying characteristics in sets of organized items | |
| US7831929B2 (en) | Method, system, and program product for controlling a display on a data editing screen | |
| US20080320050A1 (en) | Asynchronous updating of web page data views | |
| US20090327965A1 (en) | Selection of items in a virtualized view | |
| CN104380249B (en) | Collapsed view in development environment | |
| US8364723B1 (en) | Apparatus and method for realizing big data into a big object and non-transitory tangible machine-readable medium thereof | |
| US8160983B2 (en) | Displaying resources based on shared contexts | |
| CN101932993A (en) | Utilize the Window state that strengthens to come arranging display areas | |
| CN100530184C (en) | Method and device of graphical display of hierarchical hardlinks to files in a file system | |
| CN116821437B (en) | Data processing method, device, electronic equipment and storage medium | |
| CN114416667A (en) | Method and device for rapidly sharing network disk file, network disk and storage medium | |
| US8381104B2 (en) | Systems and methods for providing context recognition | |
| JP2015076064A (en) | Information processing device, information processing method, program, and storage medium | |
| CN114519153A (en) | Webpage history record display method, device, equipment and storage medium | |
| CN108446398A (en) | A kind of generation method and device of database | |
| CN116894007B (en) | Catalog information display method, device, computing equipment and storage medium | |
| CN114880289A (en) | File grouping display method and computing device | |
| US11281356B2 (en) | Method and electronic device for selecting files in a file system | |
| CN109471840B (en) | File viewing method and device, computer equipment and storage medium | |
| US20120079404A1 (en) | Method for creating and searching a folder in a computer system | |
| KR102417677B1 (en) | Similar circuit searching method and apparatus for verifing circuit | |
| CN104361114B (en) | Processing method, processing unit and electronic equipment | |
| CN102841905B (en) | Electronic equipment and memory management method thereof | |
| CN115185426B (en) | Data processing method and device for tree control and computing equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |