A file display method, computing device and storage medium

By creating a folding bar in the file view area of ​​the file manager, the display interference problem caused by the large number of files in the file manager in the number of file managers and the simplification of the protection of the original directory structure and the simplification of file management.

CN114048172BActive Publication Date: 2025-01-28CHENGDU TONGXIN SOFTWARE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111340374.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2025-01-28
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

When the number of files displayed in the file view area of ​​the file manager is large, it is difficult for users to effectively manage and hide files that they do not pay attention to, resulting in display interference. The existing methods require changing the directory structure and are cumbersome to operate.

Method used

Provide a file display method. By creating a folding bar in the file view area of ​​the file manager, the selected Chinese file has been stored in the folding bar, and the statistical data of the storage file is displayed on the folding bar. Display all the files included in the folding column.

Benefits of technology

This method effectively avoids changes to the original directory structure, simplifies file management, reduces the complexity of file search, improves file query efficiency, and improves operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114048172B_ABST
    Figure CN114048172B_ABST
Patent Text Reader

Abstract

The present invention discloses a file display method, a computing device and a storage medium. The method first receives an event of selecting multiple files in the file list; when a first operation in the area to which the selected file belongs is detected, a folding bar is created in the file view area; the selected files are stored in the folding bar, and the file data of the selected files are temporarily stored; the statistical data of the multiple files stored therein are displayed on the folding bar; in response to the operation of selecting any folding bar, all the files included in the folding bar are displayed in the preview view area. It can be seen from the above content that since the file data of the selected file is temporarily stored, the original directory structure will not be changed, and the interfering files can also be filtered, which can prevent the browsed files from interfering with the user and improve the file query efficiency. Moreover, all the files stored in the folding bar can be displayed on the display interface without expanding the folding bar, which is convenient for users to view and improves the operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a file display method, a computing device and a storage medium. Background Art

[0002] Currently, mainstream file managers have a file display function. Specifically, the display interface of the file manager includes a file view area, in which a file list of a target folder is displayed. The file list includes one or more files, and a user can preview the one or more files displayed in the file view area.

[0003] When there are a large number of files displayed in the file view area of ​​the file manager, users usually browse them one by one from top to bottom by sliding the mouse wheel. The files that have been browsed will also be displayed in the file view area, which may cause interference to users. At present, in order to solve the display interference problem, users often create a folder in the file view area and move the files they are not interested in to the folder. Although this method can eliminate interference items, it will change the directory structure of the current folder. If you want to restore it to the previous state, the operation steps are relatively cumbersome. Summary of the invention

[0004] To this end, the present invention provides a file display method to try to solve or at least alleviate the above problems.

[0005] According to one aspect of the present invention, there is provided a file display method, which is executed in a file manager of a computing device, wherein the display interface of the file manager includes a file view area and a preview view area, wherein a file list of all files included in a target folder is displayed in the file view area, and the method includes: receiving an event of selecting a plurality of files in the file list; when a first operation in an area to which the selected files belong is detected, creating a folding bar in the file view area; accumulating the selected files in the folding bar, and temporarily storing the file data of the selected files; displaying statistical data of the plurality of files accumulated therein on the folding bar; and in response to the operation of selecting any folding bar, displaying all files included in the folding bar in the preview view area.

[0006] Optionally, the step of storing the selected files in the folding bar and temporarily storing the file data of the selected files includes: creating a container corresponding to the folding bar; storing the selected files in the folding bar; storing the data of the selected files in the container to achieve temporary storage of the file data of the selected files; deleting the data of the selected files from the source file data of the target folder to obtain first source data; displaying the folding bar and the files corresponding to the first source data in the file view area to display the folding bar and all files in the target folder except the files stored in the folding bar in the file view area.

[0007] Optionally, the step of displaying a folding bar and a file corresponding to the first source data in the file view area includes: sequentially reading a file data from the first source data; determining whether the read file data is at the position of the first selected file, and if so, displaying the folding bar in the file view area; if not, displaying the file corresponding to the read file data.

[0008] Optionally, the step of displaying statistical data of the plurality of files stored in the folding bar includes: counting the number of files according to the data stored in the container as the first information; and displaying the first information on the folding bar.

[0009] Optionally, the preview view area includes a first area and a second area, and the step of displaying all files included in the folding bar in the preview view area includes: displaying the first information in the first area; reading file data from a container corresponding to the folding bar and displaying it in the second area, wherein the file display mode includes a list display mode and an icon display mode.

[0010] Optionally, the file display method of the present invention further comprises the step of: when a first operation in the folding bar area is detected, expanding the folding bar to restore the files in the folding bar to a state before folding.

[0011] Optionally, when the file view area includes multiple folding bars, the file display method of the present invention further includes the step of: merging any folding bar into a target folding bar.

[0012] Optionally, the file display method of the present invention further comprises the step of: when an operation of dragging any file to the target folding bar and releasing the file is detected, storing the file in the target folding bar.

[0013] Optionally, the file display method of the present invention further comprises the steps of: when it is detected that any folding bar is dragged to a preset area of ​​the display interface, creating a tab page for the folding bar; and displaying the files included in the folding bar in the newly created tab page.

[0014] Optionally, the file display method of the present invention further comprises the step of: when a second operation on the file displayed in the tab page is detected, updating the file displayed in the tab page.

[0015] Optionally, the file display method of the present invention further comprises the step of: when an operation of dragging any file from the file view area to the preview view area and releasing the file is detected, accumulating the file into a folding bar corresponding to the preview view area.

[0016] Optionally, the file display method of the present invention further comprises the step of: when an operation of dragging any file from the preview view area to the file view area and releasing the file is detected, removing the file from the folding bar corresponding to the preview view area.

[0017] Optionally, the file display method of the present invention further comprises the step of: browsing the corresponding data in the container of the folding bar corresponding to the view area and the content displayed in the preview view area.

[0018] Optionally, the file display method of the present invention further comprises the step of: switching the file display mode when an event of switching the display mode is monitored.

[0019] Optionally, the step of expanding the folding bar includes: when an event of hovering the cursor over the folding bar area is detected, changing the background color of the folding bar to a preset color; when a first operation in the folding bar area is detected, displaying the files in the folding bar in the file view area according to the original display order in the file view area; adding the data in the container to the first source data; adding a selected state to the files in the folding bar currently displayed in the file view area; drawing a background color identical to the preset color on the files with the selected state added; deleting the expanded folding bar and the corresponding container; if the data of the files in the currently expanded folding bar are displayed in the preview view area, updating the content displayed in the preview view area to the original content, wherein the original content is the content displayed in the preview view area when the folding bar is not selected.

[0020] Optionally, when the file view area includes multiple folding bars, the step of merging any folding bar into a target folding bar includes: when an operation of dragging any folding bar to a target folding bar and releasing the folding bar is detected, merging the file data of a container corresponding to the folding bar with the file data of a container corresponding to the target folding bar as an updated container; deleting the currently dragged folding bar from the file view area; deleting the container corresponding to the previously dragged folding bar; if the preview view area displays the data of the file in the target folding bar, updating the content displayed in the preview view area to the data of the file in the changed target folding bar.

[0021] Optionally, the step of storing the file in the target accordion includes: when an operation of dragging any file to the target accordion and releasing the file is detected, storing the file data of the file in the container of the target accordion to obtain an updated container; deleting the file data of the currently dragged file from the source file data of the target folder to obtain third source data; displaying the files corresponding to the accordion and the third source data in the file view; if the preview view area displays the data of the file in the target accordion, updating the content displayed in the preview view area to the data of the file in the target accordion after the change is added.

[0022] Optionally, the file display method of the present invention further comprises the steps of: counting the number of files currently included in the target folding bar according to the file data of the updated container as the second information; and updating the statistical data on the target folding bar as the second information.

[0023] Optionally, the step of displaying the files included in the folding bar in the newly created tab page includes: assigning a unique identifier to the tab page and displaying it in its tab bar; and displaying all files included in the currently dragged folding bar in the display area of ​​the tab page.

[0024] Optionally, when a second operation on a file displayed in a tab is detected, the step of updating the file displayed in the tab includes: when a second operation on a file in the tab is detected, obtaining file data; updating the corresponding file data in a container corresponding to the currently operated file to the obtained file data, to obtain an updated container; displaying the file corresponding to the file data in the updated container on the tab; counting the number of files displayed in the tab according to the file data of the updated container as third information; updating the display information of the folding bar corresponding to the currently operated file in the file view area to the third information; if the preview view area displays the data of the file in the folding bar currently dragged to the tab bar, updating the content displayed in the preview view area to the data of the file in the folding bar after performing the second operation.

[0025] Optionally, the step of storing the file in the folding bar corresponding to the preview view area includes: when an operation of dragging any file from the file view area to the second area and releasing the file is monitored, displaying the currently dragged file in the second area; storing the file data of the currently dragged file in the container of the folding bar corresponding to the preview area to obtain an updated container; deleting the file data of the currently dragged file from the source file data of the target folder to obtain fourth source data; and displaying the folding bar and the file corresponding to the fourth source data in the file view.

[0026] Optionally, the step of removing the file from the folding bar corresponding to the preview view area includes: when an operation of dragging any file from the preview view area to the file view area and releasing the file is detected, deleting the currently dragged file from the preview view area; deleting the file data of the currently dragged file from the container of the folding bar corresponding to the preview area to obtain an updated container; adding the file data of the currently dragged file to the source file data of the target folder to obtain a fifth data source; and displaying the folding bar and the file corresponding to the fifth source data in the file view.

[0027] Optionally, the step of updating the content displayed in the preview view area includes: when a second operation on the file displayed in the second area is monitored, acquiring file data; updating the corresponding file data in the container corresponding to the current operation file to the acquired file data, to obtain an updated container.

[0028] Optionally, the file display method of the present invention further includes the steps of: counting the number of files according to the file data in the updated container as fourth information; and updating the display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area as the fourth information.

[0029] Optionally, the file display method of the present invention further comprises the steps of: releasing the data in the container when an event of exiting the file view area is detected; and adding the data in the container to the source file data of the directory file.

[0030] According to another aspect of the present invention, a computing device is provided, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the method as described above.

[0031] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the method described above.

[0032] According to the technical solution of the present invention, a file display method is provided. When displaying multiple files included in a folder, the method receives multiple files in a selected file list, and when the first operation of the area to which the file belongs is selected, a folding bar is created, the selected files are stored in the folding bar, the file data of the selected files are temporarily stored, and the statistical data of the multiple files stored therein are displayed on the folding bar. In response to the operation of selecting any folding bar, all the files included in the folding bar are displayed in the preview view area. It can be seen that in the present invention, since the file data of the selected file is temporarily stored, the original directory structure will not be changed. On this basis, the interference files can be filtered, which can prevent the interference of the browsed files to the user, and the display effect of the file view area can be made simple, thereby effectively reducing the complexity of file search and improving the efficiency of file query. In addition, all the files stored in the folding bar can be displayed on the display interface, and the files included therein can be viewed without expanding the folding bar, which is convenient for users to view, thereby eliminating the need to expand the folding bar when viewing the content in the folding bar, and eliminating the need to restore the folding bar, thereby improving the operation efficiency.

[0033] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] To achieve the above and related purposes, certain illustrative aspects are described herein in conjunction with the following description and accompanying drawings, which indicate various ways in which the principles disclosed herein can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. The above and other purposes, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.

[0035] Figure 1 A schematic diagram showing a display interface of a file manager according to an embodiment of the present invention is shown;

[0036] Figure 2 A block diagram of a computing device 200 according to an embodiment of the present invention is shown;

[0037] Figure 3 A flowchart of a file display method 300 according to an embodiment of the present invention is shown;

[0038] Figure 4 A schematic diagram showing a display interface of a file manager according to another embodiment of the present invention is shown;

[0039] Figure 5 A schematic diagram showing a display interface of a file manager according to another embodiment of the present invention is shown;

[0040] Figure 6 A schematic diagram showing a display interface of a file manager according to another embodiment of the present invention is shown;

[0041] Figure 7 A schematic diagram of a display interface of a file manager according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0042] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0043] File Manager is a powerful file management tool that can manage files or folders, including copying, cutting, moving, deleting, creating, searching and other operations. It supports file display (including list or icon display modes), multiple tabs, root permissions, file association opening, dragging files, zip compression / decompression and other functions.

[0044] File display functions for file managers, such as Figure 1 As shown, the display interface of the file manager includes a tab page, and the tab page includes a tab bar 1-1 and a file view area 1-2. The label (ie, name) of the tab page is a working document, which is displayed in the tab bar 1-1. Figure 1 In the file view area 1-2, what is displayed is the file list of the target folder (the target folder is the working document), and the file list includes all the files in the working document.

[0045] When there are a large number of files displayed in the file view area of ​​the file manager, users usually browse them one by one from top to bottom by sliding the mouse wheel. The files that have been browsed will also be displayed in the file view area, which may cause interference to users. At present, in order to solve the display interference problem, users often create a new folder in the file view area and manually move the files they are not interested in to the folder. Although this method can eliminate interference items, it will change the directory structure of the current folder. If you want to restore it to the previous state, the operation steps are relatively cumbersome.

[0046] In order to solve the above problems, the present invention provides a file display method, which is executed in a file manager of a computing device 200. The computing device 200 can be implemented as a server, such as an application server, a Web server, etc.; it can also be implemented as a desktop computer, a laptop computer, a processor chip, a tablet computer, etc., but is not limited thereto. Figure 2 FIG. 2 shows a block diagram of a computing device 200 according to an embodiment of the present invention. Figure 2 As shown, in a basic configuration 202, computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between processor 204 and system memory 206.

[0047] Depending on the desired configuration, the processor 204 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 204 can include one or more levels of cache such as a primary cache 210 and a secondary cache 212, a processor core 214, and registers 216. An example processor core 214 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 218 can be used with the processor 204, or in some implementations, the memory controller 218 can be an internal part of the processor 204.

[0048] Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more applications 222, and program data 224. In some implementations, application 222 may be arranged to operate on the operating system using program data 224.

[0049] The computing device 200 further includes a storage device 232, which includes a removable storage 236 and a non-removable storage 238, and both the removable storage 236 and the non-removable storage 238 are connected to the storage interface bus 234. In the present invention, data related to each event occurring during program execution and time information indicating the occurrence of each event can be stored in the storage device 232, and the operating system 220 is suitable for managing the storage device 232. The storage device 232 can be a disk.

[0050] The computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus / interface controller 230. Example output devices 242 include an image processing unit 248 and an audio processing unit 250. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 252. Example peripheral interfaces 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 258. Example communication devices 246 may include a network controller 260, which may be arranged to facilitate communication with one or more other computing devices 262 via a network communication link via one or more communication ports 264.

[0051] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.

[0052] The computing device 200 can be implemented as a server, such as a file server, a database server, an application server, and a WEB server, etc., or can be implemented as a part of a small-sized portable (or mobile) electronic device, such as a cellular phone, a personal digital assistant (PDA), a personal media player device, a wireless network browsing device, a personal head-mounted device, an application-specific device, or a hybrid device that can include any of the above functions. The computing device 200 can also be implemented as a personal computer including a desktop computer and a notebook computer configuration. In some embodiments, the computing device 100 is configured to execute a file display method 300 according to the present invention.

[0053] Figure 3 FIG. 3 is a flowchart of a file display method 300 according to an embodiment of the present invention. The method 300 is suitable for use in a computing device 200 (such as Figure 2The method 300 is executed in the computing device 200 shown in the figure. Further, the method 300 is suitable for being executed in the file manager of the computing device 200. For example, the file display method 300 can be integrated into the file manager of the computing device. The file display method 300 includes steps S301 to S311.

[0054] It is worth noting that the display interface of the file manager in the present invention is as follows Figure 4 As shown, it includes a file view area 1-2 and a preview view area 4-1. Figure 4 It is a schematic diagram showing the file view area 1-2 without creating a folding bar and the contents displayed in the preview view area 4-1 when the folding bar is not selected (ie, the contents in the preview view area are original contents).

[0055] When the file list of all files included in the target folder is displayed in the file view area 1-2 of the file manager, the user can select multiple files in the file list that have been previewed through a specific operation, such as selecting multiple files in the file list by triggering the left mouse button. At this time, an event of selecting multiple files in the file list is generated and sent to the file manager. The file manager executes step S301 to receive the event of selecting multiple files in the file list.

[0056] It is worth noting that the types of files in the target folder may include files and folders (ie, directory files), that is, the files and folders included in the target folder are displayed in the file view area.

[0057] On the basis of selecting multiple files in the file list, when a first operation in the area to which the selected file belongs is detected, it should be noted that the first operation can be set according to the actual application scenario, and the present invention does not limit this. For example, the first operation is an operation of clicking the middle button of the mouse. When the first operation in the area to which the selected file belongs is detected, step S302 is executed to create a folding bar, that is, to create a folding bar in the file view area. It is worth noting that the folding bar is displayed at the location of the first selected file.

[0058] Then, step S303 is executed to store the selected file in the folding bar and temporarily store the file data of the selected file. In one embodiment, step S303 includes: creating a container corresponding to the folding bar, storing the selected file in the folding bar, and then storing the data of the selected file in the container to achieve temporary storage of the file data of the selected file. The data of the selected file is deleted from the source file data of the target folder to obtain the first source data, and the folding bar and the file corresponding to the first source data are displayed in the file view area to achieve display of the folding bar and all files in the target folder except the files stored in the folding bar in the file view area.

[0059] It should be noted that a container is a collection of temporarily stored data, and the data stored in the container is temporary data. If the user exits the display interface of the file manager, the data in the container will be re-added to the source file data of the target folder, and the source file data of the target folder will be restored to the initial state, and the data in the container will be released. In other words, the folding bar will not change the directory structure of the target folder. After exiting the display interface of the file manager, the source file data of the target folder remains unchanged, that is, the directory structure of the target folder remains unchanged.

[0060] In one embodiment, the step of displaying a folding bar and a file corresponding to the first source data in the file view area specifically includes: sequentially reading a file data from the first source data of the target folder, determining whether the read file data is at the position of the first selected file, and if so, displaying a folding bar in the file view area, and if not, displaying the file corresponding to the read file data.

[0061] From the above content, it can be seen that when the displayed folder includes multiple files, the browsed files are stored in a folding bar, and the browsed file data is temporarily stored in the container. When the display interface is exited, the data in the container will be released and stored again in the source file data of the folder. It can be seen that in the present invention, since the file data of the selected file is temporarily stored, the original directory structure will not be changed. On this basis, the interference files can be filtered, which can prevent the browsed files from interfering with the user, and can also make the display effect of the file view area simple, thereby effectively reducing the complexity of file search and improving the efficiency of file query.

[0062] After the selected files are stored in the folding bar, step S304 is continued to be executed to display the statistical data of the multiple files stored therein on the folding bar. The statistical data includes the number of files and the number of folders stored in the folding bar. If the folding bar does not include files or folders, the number of files or folders is 0. In one embodiment, step S304 specifically includes: counting the number of files and the number of folders according to the file data stored in the container as the first information, and displaying the first information on the folding bar, that is, displaying the number of files and the number of folders on the folding bar.

[0063] Displaying the number of files and folders stored in the folding bar allows users to more intuitively determine the number of files and folders included in the folding bar without the need for users to enter the folding bar to view, which is more convenient for users and improves user experience.

[0064] In order to display the folding bar more prominently in the file view area so that the user can quickly locate the folding bar, a background color is added to the area where the folding bar belongs. The background color can be set according to the actual application scenario, and the present invention does not limit this. For example, the background color is a gradient color. Figure 5 As shown, the folding bar 5-1 only occupies the position of one file in the file view area, and the number of files and folders is displayed on the folding bar (folders: 0, files: 2), and the area where the folding bar is located is added with a background color ( Figure 5 Color not shown).

[0065] After the selected files are stored in the folding bar, when the user selects any folding bar in the file view area 1-2, in response to the user's operation of selecting any folding bar, step S305 is executed to display all files included in the folding bar in the preview view area.

[0066] It should be noted that if Figure 5 As shown, the preview view area 4-1 includes a first area 4-1-1 and a second area 4-1-2, then step S305 includes: displaying the number of files and folders included in the selected folding bar in the first area 4-1-1, reading file data from the container corresponding to the currently selected folding bar, and displaying it in the second area 4-1-2. Among them, the file display mode includes a list display mode and an icon display mode. Figure 5 Shows the selected folding bar as Figure 5-1 , a schematic diagram of the display interface in list display mode. It is worth noting that Figure 5 As shown, the display mode can be switched by triggering the switching interface 4-1-3. Specifically, when the user triggers the switching interface, a switching display mode event is generated and sent to the computing device, and the computing device switches the file display mode based on the event. Further, the switching interface on the left is a list display mode, and the switching interface on the right is an icon display mode.

[0067] From the above content, it can be seen that the present invention can display all the files stored in the folding bar on the display interface, and the files included therein can be viewed without expanding the folding bar, which is convenient for users to view. Therefore, when viewing the contents in the folding bar, there is no need to expand the folding bar, and at the same time, there is no need to restore the folding bar, thereby improving operating efficiency.

[0068] After displaying the folding bar and the file corresponding to the first source data in the file view area, and displaying the file in the selected folding bar in the preview view area, when a first operation in the folding bar area is detected (the first operation is as described above and will not be repeated here), step S306 is executed to expand the folding bar to restore the files in the folding bar to the state before folding.

[0069] In one embodiment, step S306 specifically includes: when detecting an event of hovering the mouse cursor over the area to which the folding bar belongs, changing the background color of the folding bar to a preset color, wherein the preset color is different from the background color of the folding bar, so as to prompt the user of the folding bar currently being operated. Based on hovering the mouse cursor over the area to which the folding bar belongs, when detecting the first operation in the folding bar area, displaying the files in the folding bar in the file view area according to the original display order in the file view area, Figure 5 The folding bar shown includes two files as an example. Figure 6 As shown, the file 6-1 (including two files, file 2 and file 3) currently displayed in the file view area and included in the folding bar will be kept selected, and the background color ( Figure 6 The data in the container is added to the first source data, so that the file data in the container is added to the source file data of the target folder (the source file data at this time does not include the data of the files in the folding bar), so that the obtained source file data includes the file data of all files in the target folder. The expanded folding bar and the container corresponding thereto are deleted, so that the user can intuitively locate the file currently expanded from the folding bar.

[0070] It is worth noting that if the preview view area displays the file with the currently expanded folding bar, the content in the preview view area is updated to the original content. The original content is the content displayed in the preview view area when the folding bar is not selected. That is, the number of files and folders and file data are not displayed in the preview view area. The original content is Figure 4 The content displayed in the preview view area 4-1. If the preview view area does not display the file with the currently expanded folding bar, the content displayed in the preview view area remains unchanged.

[0071] If the user wants to put the selected file into the folding bar again, the user can directly perform the first operation in the area where the selected file belongs (the first operation is as described above and will not be repeated here). At this time, the file manager detects the first operation in the area where the selected file belongs, and can quickly put the expanded file into the folding bar by executing steps S302 to S304. It can be seen that the user does not need to execute step S301 again to put the file into the folding bar, which simplifies the operation process of folding the file and is more convenient for the user to operate.

[0072] It is worth noting that multiple folding bars can be created by executing steps S301 to S305 or steps S302 to S305, and displayed in the file view area, and the file of the selected folding bar can be displayed in the preview view area. When the file view area includes multiple folding bars, step S307 is executed to merge any folding bar into the target folding bar. In one embodiment, any folding bar in the file view area is taken as the target folding bar, and any folding bar other than the target folding bar can be merged into the target folding bar, and step S307 specifically includes:

[0073] When it is detected that any of the remaining folding bars removed from the target folding bar is dragged to the target folding bar by the left button of the mouse, and the left button of the mouse is released to release the folding bar, the file data of the container corresponding to the folding bar is merged with the file data of the container corresponding to the target folding bar to form a merged container, which at this time includes the file data of the currently dragged folding bar and the file data of the target folding bar. According to the file data of the merged container, the number of files and folders included in it is counted as the second information, the statistical data on the target folding bar is updated to the second information, and the currently dragged folding bar is deleted from the file view area, and the container corresponding to the previously dragged folding bar is deleted, so that all folding bars and all files in the target folder except the files stored in the folding bar are displayed in the file view area.

[0074] It should be noted that when the preview view area displays the data of the file in the target folding bar, the content displayed in the first area is updated to the second information, and the content displayed in the second area is updated to the data of the file in the changed target folding bar, so as to achieve real-time update of the content in the preview view area. When the preview view area displays the data of the file in the currently dragged folding bar, the content displayed in the preview view area is updated to the original content, and the original content is as described above and will not be repeated here.

[0075] In addition, if any folding bar in the file view area is the target folding bar, when the operation of dragging any file to the target folding bar and releasing the file is detected, step S308 is executed to store the file in the target folding bar, specifically:

[0076] When it is detected that any file is dragged to the target folding bar by the left button of the mouse, and the left button of the mouse is released to release the file, the file data of the file is stored in the container of the target folding bar to obtain an updated container. The file data of the currently dragged file is deleted from the source file data of the target folder to obtain the third source data, and the files corresponding to the folding bar and the third source data are displayed in the file view, so as to display all files in all folding bars and the target folder except the files stored in the folding bar in the file view area. According to the file data of the updated container, the number of files currently included in the target folding bar is counted as the third information, and the statistical data on the target folding bar is updated to the third information. At this time, if the preview view area displays the files of the target folding bar, the content displayed in the first area is updated to the third information, and the content displayed in the second area is updated to the data of the files in the changed target folding bar, so as to realize the real-time update of the content of the preview view area.

[0077] It should be noted that the folding bar can also store files that the user wants to find and browse. For this scenario, when it is detected that any folding bar is dragged to the preset area of ​​the display interface, step S309 is executed to create a tab page for the folding bar, and all files stored in the folding bar are displayed on the newly created tab page. Among them, the preset area can be set according to the actual application scenario, and the present invention does not limit this. For example, the preset area is the area where the tab bar of the display interface is located. Each tab page includes a tab bar and a display area. The display area is used to display files, and the unique identifier of the tab page is displayed in the tab bar.

[0078] In one embodiment, step S309 includes: when it is detected that any folding bar is dragged to a preset area of ​​the display interface, a tab page is created for the folding bar, a unique identifier is assigned to the tab page, and the tab page is displayed in its tab bar. At this time, the tab bar in the file view area adds all files included in the currently dragged folding bar to the display area of ​​the tab page. Among them, the unique identifier plays a role in distinguishing each tab page, and can be set according to the actual application scenario, and the present invention does not limit this. For example, the unique identifier can be a random combination of letters and numbers.

[0079] When the files that the user wants to find and browse are of multiple categories, in order to facilitate viewing of files of different categories, each category of files can be stored in a folding bar, and the above method can be used to display each type of file in the tab page corresponding to the folding bar. At this time, if there are multiple tab pages, then there are also multiple tab bars for the tab page. Therefore, multiple tab bars are displayed at the tab bar of the display interface of the file manager. In response to the user's operation of triggering the tab bar, step S310 is executed at this time to switch to the tab page corresponding to the tab bar, and the files in the corresponding folding bar are displayed in the file view area of ​​the tab page.

[0080] Below Figure 5 The folding bar 5-1 shown in the figure includes: Figure 5 Taking the two files shown (file 2 and file 3) as an example, steps S309 to S310 are explained.

[0081] If the user is detected Figure 5 When the folding bar in the display interface is dragged to the tab bar 1-1 area, a tab page is created for the folding bar, and a unique identifier is assigned to the tab page as folding bar 1, which is displayed in the tab bar 1-1. At this time, the tab bar 1-1 includes the tab page name folding bar 1 and the work document, such as Figure 7 At this time, if the user clicks on the tab name folding bar 1 in the tab bar 1-1, the file manager responds to this operation and switches to the file view area 1-2 of the tab corresponding to the tab in the tab bar, and displays the files in the corresponding folding bar in the file view area 1-2, which are file 2 and file 3, respectively. Figure 7 shown.

[0082] It can be seen that, under the premise of not changing the directory structure of the target folder, the present invention allows the user to select different categories of files that he wants to browse into the folding bar, and then display them in the form of tabs, which is convenient for the user to classify files. By triggering the tab bar of the tab page, the user can quickly switch between files of different categories, so as to quickly view various files, improve the efficiency of file viewing, and further improve the user experience.

[0083] In one embodiment, when a second operation of a user on a file displayed in a tab page is detected (the second operation may include modifying file data, deleting files, adding files, etc.), the file data of the container corresponding to the folding bar in the file view area needs to be updated, specifically: the file data of the current operation is obtained, and the corresponding file data in the container corresponding to the current operation file is updated to the obtained file data to obtain an updated container. Then, the file data of the updated container is read, and the file corresponding to the read file data is displayed on the tab page, so that the file displayed on the tab page is updated in real time after the second operation is performed on the file.

[0084] When the second operation is to add or delete files in a tab, the number of files in the folding bar corresponding to the second operation and the tab will change, so the display information of the folding bar corresponding to the tab displayed in the file view area needs to be updated. In one embodiment, the number of files and folders is counted according to the file data of the updated container as the fourth information, and the display information of the folding bar corresponding to the currently operated file in the file view area is updated to the fourth information.

[0085] When the second operation is to add or delete files in the tab page, it will cause the number of files in the folding bar corresponding to the second operation and the tab page to change. At this time, if the preview view area displays the data of the file in the folding bar currently dragged to the tab bar, the content displayed in the first area is updated to the fourth information, and the content displayed in the second area is updated to the modified data of the file in the folding bar, so as to achieve real-time update of the content in the preview view area. When the second operation is to modify the file in the tab page, it will not cause the number of files in the folding bar corresponding to the second operation and the tab page to change. At this time, the content of the preview view area is not updated.

[0086] In one embodiment, when the operation of dragging any file from the file view area to the preview view area and releasing the file is detected, the file is stored in the folding bar corresponding to the preview view area. Specifically, when the operation of dragging any file from the file view area to the second area and releasing the file is detected, the currently dragged file is displayed in the second area, the file data of the currently dragged file is stored in the container of the folding bar corresponding to the preview area to obtain an updated container, the file data of the currently dragged file is deleted from the source file data of the target folder to obtain the fourth source data, and the folding bar and the file corresponding to the fourth source data are displayed in the file view. And according to the file data in the updated container, the number of files is counted as the fifth information, and the display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area are updated to the fifth information. Therefore, when the file in the preview view area is operated, the changed data is synchronized to the container of the folding bar corresponding to the preview view area in real time, and the content displayed in the preview view area and the content displayed on the folding bar corresponding to the preview view area are updated in real time.

[0087] In one embodiment, when the operation of dragging any file from the preview view area to the file view area and releasing the file is detected, the file is removed from the folding bar corresponding to the preview view area. Specifically: when the operation of dragging any file from the preview view area to the file view area and releasing the file is detected, the file data of the currently dragged file is deleted from the second area, and the file data of the currently dragged file is deleted from the container of the folding bar corresponding to the preview view area to obtain an updated container, and the file data of the currently dragged file is added to the source file data of the target folder to obtain a fifth data source, and the folding bar and the files corresponding to the fifth source data are displayed in the file view. The number of files is counted according to the file data in the updated container as the sixth information, and the display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area are updated to the sixth information.

[0088] In one embodiment, when a second operation on a file displayed in the preview view area is monitored, corresponding data in a container of a folding bar corresponding to the preview view area and content in the preview view area are updated. Specifically: when a second operation on a file displayed in the second area is monitored, file data is acquired, and the corresponding file data in a container corresponding to the current operation file is updated to the acquired file data to obtain an updated container, and the number of files is counted according to the file data in the updated container as the seventh information, and the display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area are updated to the seventh information.

[0089] Finally, when an event of exiting the display interface of the file manager is monitored, step S311 is executed to release the data in the container and add the data in the container to the source file data of the directory file. That is, after exiting the display interface of the file manager, the source file data of the folder does not change, and the directory structure of the target folder will not be changed.

[0090] From the above content, it can be known that the file display method provided by the present invention, when the displayed folder includes multiple files, the browsed files are stored in a folding bar, and the browsed file data is temporarily stored in a container. When the display interface is exited, the data in the container will be released and stored again in the source file data of the folder. It can be seen that in the present invention, since the file data of the selected file is temporarily stored, the original directory structure will not be changed. On this basis, the interference files can be filtered, which can prevent the browsed files from interfering with the user, and can also make the display effect of the file view area simple, thereby effectively reducing the complexity of file search and improving the efficiency of file query.

[0091] Furthermore, all files stored in the folding bar can be displayed on the display interface, and the files included therein can be viewed without expanding the folding bar, which is convenient for users to view. Thus, when viewing the contents in the folding bar, there is no need to expand the folding bar, and the operation of restoring the folding bar is also omitted, thereby improving operating efficiency.

[0092] Secondly, under the premise of hiding interfering files, the present invention also proposes functions such as expanding hidden files, quickly hiding files after expansion, merging folding bars, and adding files to folding bars. These functions provide users with more operation options and enhance the usability of the file display method of the present invention.

[0093] In addition, based on the filtering of interfering files by storing files in the folding bar, the file folding function is expanded to allow users to select the files they want to browse into the folding bar, and then display them in the form of tabs, which is convenient for users to classify files. By triggering the tab bar of the tab, users can switch between files of different categories, so as to quickly view files of different categories. Compared with a single filtering function, the expanded file folding function can adapt to a variety of application scenarios and improve user experience.

[0094] It should be noted that, without changing the directory structure of the target folder, whenever it is necessary to filter multiple files of no concern or to classify the files, steps S301 to S305 need to be executed. On this basis, when it is necessary to expand the folding bar, step S306 needs to be executed, when it is necessary to merge the folding bar, step S307 needs to be executed, when it is necessary to drag the file into the folding bar, step S308 needs to be executed, when it is necessary to view the classified files, steps S309 and S310 need to be executed, and when exiting the display interface of the file manager, step S311 needs to be executed.

[0095] A6. The method as described in A5 further comprises the steps of:

[0096] When the first operation in the folding bar area is detected, the folding bar is unfolded to restore the files in the folding bar to the state before folding.

[0097] A7. The method as described in any one of A2 to A6, when the file view area includes a plurality of the folding bars, further comprising the steps of:

[0098] Merges any accordion into the target accordion.

[0099] A8. The method as described in any one of A2 to A7, further comprising the steps of:

[0100] When an operation of dragging any file to a target folding bar and releasing the file is detected, the file is stored in the target folding bar.

[0101] A9. The method as described in any one of A2 to A8, further comprising the steps of:

[0102] When it is detected that any of the folding bars is dragged to a preset area of ​​the display interface, creating a tab page for the folding bar;

[0103] The files included in the accordion are displayed in the newly created tab page.

[0104] A10. The method as described in A9, further comprising the steps of:

[0105] When a second operation on the file displayed in the tab page is detected, the file displayed in the tab page is updated.

[0106] A14. The method as described in any one of A5, 11 to 13, further comprising the steps of:

[0107] When the event of switching display mode is listened, the file display mode is switched.

[0108] A15. The method as described in A6, wherein the step of unfolding the folding bar comprises:

[0109] When an event of hovering the cursor over the folding bar area is detected, the background color of the folding bar is changed to a preset color;

[0110] When the first operation in the folding bar area is detected, the files in the folding bar are displayed in the file view area according to the original display order in the file view area;

[0111] Adding the data in the container to the first source data;

[0112] Adding a selected state to the file currently displayed in the folding bar in the file view area;

[0113] Draw a background color that is the same as the preset color on the file in the added selected state;

[0114] Delete the expanded accordion and its corresponding container;

[0115] If the preview view area displays data of the file in the currently expanded folding bar, the content displayed in the preview view area is updated to the original content, wherein the original content is the content displayed in the preview view area when the folding bar is not selected.

[0116] A16. As described in the method of A7, when the file view area includes a plurality of the folding bars, the step of merging any folding bar into a target folding bar comprises:

[0117] When an operation of dragging any folding bar to the target folding bar and releasing the folding bar is detected, the file data of the container corresponding to the folding bar is merged with the file data of the container corresponding to the target folding bar as an updated container;

[0118] Deleting the currently dragged folding bar from the file view area;

[0119] Delete the container corresponding to the previously dragged folding bar;

[0120] If the preview view area displays the data of the file in the target accordion bar, the content displayed in the preview view area is updated to the changed data of the file in the target accordion bar.

[0121] A17. The method as described in A8, wherein the step of storing the file in the target folding bar comprises:

[0122] When an operation of dragging any file to the target folding bar and releasing the file is detected, the file data of the file is stored in the container of the target folding bar to obtain an updated container;

[0123] Deleting the file data of the currently dragged file from the source file data of the target folder to obtain third source data;

[0124] Displaying a folding bar and a file corresponding to the third source data in the file view;

[0125] If the preview view area displays the data of the file in the target folding column, the content displayed in the preview view area is updated to add the modified data of the file in the target folding column.

[0126] A18. The method as described in A16 or A17, further comprising the steps of:

[0127] Counting the number of files currently included in the target folding column according to the file data of the updated container as second information;

[0128] The statistical data on the target folding bar is updated to the second information.

[0129] A19. The method as described in A9, wherein the step of displaying the files included in the folding bar in the newly created tab page comprises:

[0130] Assigning a unique identifier to the tab page and displaying it in its tab bar;

[0131] All files included in the currently dragged folding bar are displayed in the display area of ​​the tab page.

[0132] A20. The method as described in A10, wherein when the second operation on the file displayed in the tab page is monitored, the step of updating the file displayed in the tab page comprises:

[0133] When a second operation on the file in the tab is detected, the file data is obtained;

[0134] Update the corresponding file data in the container corresponding to the current operation file to the acquired file data to obtain an updated container;

[0135] Displaying, on the tab page, files corresponding to the file data in the updated container;

[0136] The number of files is displayed in the file data statistics tab of the updated container as the third information;

[0137] updating the display information of the folding bar corresponding to the currently operated file in the file view area to the third information;

[0138] If the preview view area displays data of the file in the folding bar currently dragged to the tab bar, the content displayed in the preview view area is updated to the data of the file in the folding bar after performing the second operation.

[0139] A21. The method as described in A11, wherein the step of storing the file in a folding bar corresponding to the preview view area comprises:

[0140] When an operation of dragging any file from the file viewing area to the second area and releasing the file is detected, displaying the currently dragged file in the second area;

[0141] storing the file data of the currently dragged file in a container of the folding bar corresponding to the preview area to obtain an updated container;

[0142] Deleting the file data of the currently dragged file from the source file data of the target folder to obtain fourth source data;

[0143] A folding bar and a file corresponding to the fourth source data are displayed in the file view.

[0144] A22. The method as described in A12, wherein the step of removing the file from the folding bar corresponding to the preview view area comprises:

[0145] When an operation of dragging any file from the preview view area to the file view area and releasing the file is detected, deleting the currently dragged file from the preview view area;

[0146] Deleting the file data of the currently dragged file from the container of the folding bar corresponding to the preview area to obtain an updated container;

[0147] Adding the file data of the currently dragged file to the source file data of the target folder to obtain a fifth data source;

[0148] A folding bar and a file corresponding to the fifth source data are displayed in the file view.

[0149] A23. The method as described in A13, wherein the step of updating the content displayed in the preview view area comprises:

[0150] When a second operation on the file displayed in the second area is detected, acquiring file data;

[0151] The corresponding file data in the container corresponding to the current operation file is updated with the acquired file data to obtain an updated container.

[0152] A24. The method as described in any one of A21 to A23, further comprising the steps of:

[0153] Counting the number of files according to the file data in the updated container as fourth information;

[0154] The display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area are updated to the fourth information.

[0155] A25. The method as described in any one of A1 to A24, further comprising the steps of:

[0156] When an event of exiting the file view area is detected, releasing the data in the container;

[0157] The data in the container is added to the source file data in the directory file.

[0158] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.

[0159] In the case where the program code is executed on a programmable computer, the computing device generally includes 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. The memory is configured to store the program code; the processor is configured to execute the file display method of the present invention according to the instructions in the program code stored in the memory.

[0160] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.

[0161] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to implement the content of the present invention described herein, and the above description of specific languages ​​is for the purpose of disclosing the best mode of the present invention.

[0162] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0163] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0164] 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 the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0165] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0166] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0167] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.

[0168] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0169] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.

Claims

1. A file display method is executed in a file manager of a computing device, wherein the display interface of the file manager includes a file view area and a preview view area, wherein the file view area displays a file list of all files included in a target folder, and the method comprises: Receive an event of selecting multiple files in the file list; When a first operation in the area to which the selected file belongs is detected, creating a folding bar in the file view area; The selected files are stored in the folding bar, and the file data of the selected files are temporarily stored; Displaying statistical data of the plurality of files stored therein on the foldable bar; In response to an operation of selecting any of the folding bars, displaying all files included in the folding bar in the preview view area; The step of storing the selected files in the folding bar and temporarily storing the file data of the selected files includes: Creating a container corresponding to the folding bar; Storing the selected files in the foldable column; Storing the data of the selected file in the container to achieve temporary storage of the file data of the selected file; Deleting the data of the selected file from the source file data of the target folder to obtain first source data; The folding bar and the files corresponding to the first source data are displayed in the file view area, so that the folding bar and all the files in the target folder except the files stored in the folding bar are displayed in the file view area.

2. The method of claim 1, wherein: The step of displaying the folding bar and the file corresponding to the first source data in the file view area comprises: Sequentially read a file data from the first source data; It is determined whether the read file data is at the position of the first selected file. If so, the folding bar is displayed in the file view area. If not, the file corresponding to the read file data is displayed.

3. The method of claim 2, wherein: The step of displaying the statistical data of the plurality of files stored in the folding bar comprises: Counting the number of files according to the data stored in the container as first information; The first information is displayed on the folding bar.

4. The method of claim 3, wherein: The preview view area includes a first area and a second area, and the step of displaying all files included in the folding bar in the preview view area includes: displaying the first information in the first area; The file data is read from the container corresponding to the folding bar and displayed in the second area, wherein the file display mode includes a list display mode and an icon display mode.

5. The method according to claim 4, further comprising the steps of: When the first operation in the folding bar area is detected, the folding bar is unfolded to restore the files in the folding bar to the state before folding.

6. The method according to any one of claims 1 to 5, when the file view area includes a plurality of the folding bars, further comprising the step of: Merges any accordion into the target accordion.

7. The method according to any one of claims 1 to 5, further comprising the steps of: When an operation of dragging any file to a target folding bar and releasing the file is detected, the file is stored in the target folding bar.

8. The method according to any one of claims 1 to 5, further comprising the steps of: When it is detected that any of the folding bars is dragged to a preset area of ​​the display interface, creating a tab page for the folding bar; The files included in the accordion are displayed in the newly created tab page.

9. The method of claim 8, further comprising the steps of: When a second operation on the file displayed in the tab page is detected, the file displayed in the tab page is updated.

10. The method of claim 4, further comprising the steps of: When an operation of dragging any file from the file view area to the preview view area and releasing the file is detected, the file is stored in a folding bar corresponding to the preview view area.

11. The method according to claim 4 or 10, further comprising the steps of: When an operation of dragging any file from the preview view area to the file view area and releasing the file is detected, the file is removed from the folding bar corresponding to the preview view area.

12. The method according to claim 4 or 10, further comprising the steps of: When a second operation on the file displayed in the preview view area is detected, corresponding data in a container of a folding bar corresponding to the preview view area and content displayed in the preview view area are updated.

13. The method according to claim 4 or 10, further comprising the steps of: When the event of switching display mode is listened, the file display mode is switched.

14. The method of claim 5, wherein: The step of unfolding the folding bar comprises: When an event of hovering the cursor over the folding bar area is detected, the background color of the folding bar is changed to a preset color; When the first operation in the folding bar area is detected, the files in the folding bar are displayed in the file view area according to the original display order in the file view area; Adding the data in the container to the first source data; Adding a selected state to the file currently displayed in the folding bar in the file view area; Draw a background color that is the same as the preset color on the file in the added selected state; Delete the expanded accordion and its corresponding container; If the preview view area displays data of the file in the currently expanded folding bar, the content displayed in the preview view area is updated to the original content, wherein the original content is the content displayed in the preview view area when the folding bar is not selected.

15. The method according to claim 6, when the file view area includes a plurality of the folding bars, the step of merging any folding bar into a target folding bar comprises: When an operation of dragging any folding bar to the target folding bar and releasing the folding bar is detected, the file data of the container corresponding to the folding bar is merged with the file data of the container corresponding to the target folding bar as an updated container; Deleting the currently dragged folding bar from the file view area; Delete the container corresponding to the previously dragged folding bar; If the preview view area displays the data of the file in the target accordion bar, the content displayed in the preview view area is updated to the changed data of the file in the target accordion bar.

16. The method of claim 7, wherein: The step of storing the file in the target folding bar includes: When an operation of dragging any file to the target folding bar and releasing the file is detected, the file data of the file is stored in the container of the target folding bar to obtain an updated container; Deleting the file data of the currently dragged file from the source file data of the target folder to obtain third source data; Displaying a folding bar and a file corresponding to the third source data in the file view area; If the preview view area displays the data of the file in the target folding column, the content displayed in the preview view area is updated to add the modified data of the file in the target folding column.

17. The method of claim 16, further comprising the steps of: Counting the number of files currently included in the target folding column according to the file data of the updated container as second information; The statistical data on the target folding bar is updated to the second information.

18. The method of claim 8, wherein: The step of displaying the files included in the folding bar in the newly created tab page comprises: Assigning a unique identifier to the tab page and displaying it in its tab bar; All files included in the currently dragged folding bar are displayed in the display area of ​​the tab page.

19. The method of claim 9, wherein: When a second operation on the file displayed in the tab page is detected, the step of updating the file displayed in the tab page includes: When a second operation on the file in the tab is detected, the file data is obtained; Update the corresponding file data in the container corresponding to the current operation file to the acquired file data to obtain an updated container; Displaying, on the tab page, files corresponding to the file data in the updated container; The number of files is displayed in the file data statistics tab of the updated container as the third information; updating the display information of the folding bar corresponding to the currently operated file in the file view area to the third information; If the preview view area displays data of the file in the folding bar currently dragged to the tab bar, the content displayed in the preview view area is updated to the data of the file in the folding bar after performing the second operation.

20. The method of claim 10, wherein: The step of storing the file in the folding bar corresponding to the preview view area comprises: When an operation of dragging any file from the file viewing area to the second area and releasing the file is detected, displaying the currently dragged file in the second area; Storing the file data of the currently dragged file in a container of the folding bar corresponding to the preview view area to obtain an updated container; Deleting the file data of the currently dragged file from the source file data of the target folder to obtain fourth source data; A folding bar and a file corresponding to the fourth source data are displayed in the file view area.

21. The method of claim 11, wherein: The step of removing the file from the folding bar corresponding to the preview view area comprises: When an operation of dragging any file from the preview view area to the file view area and releasing the file is detected, deleting the currently dragged file from the preview view area; Deleting the file data of the currently dragged file from the container of the folding bar corresponding to the preview view area to obtain an updated container; Adding the file data of the currently dragged file to the source file data of the target folder to obtain a fifth data source; A folding bar and a file corresponding to the fifth source data are displayed in the file view area.

22. The method of claim 12, wherein the step of updating the corresponding data in the container of the folding bar corresponding to the preview view area and the content displayed in the preview view area comprises: When a second operation on the file displayed in the second area is detected, acquiring file data; The corresponding file data in the container corresponding to the current operation file is updated with the acquired file data to obtain an updated container.

23. The method of claim 22, further comprising the steps of: Counting the number of files according to the file data in the updated container as fourth information; The display information of the first area and the statistical data displayed on the folding bar corresponding to the preview view area are updated to the fourth information.

24. The method according to any one of claims 1 to 5, further comprising the steps of: When an event of exiting the file view area is detected, releasing the data in the container; The data in the container is added to the source file data in the directory file.

25. A computing device comprising: at least one processor; as well as A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 24.

26. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device is caused to execute the method according to any one of claims 1 to 24.

Citation Information

Patent Citations

  • File management method and system based on graphical interface

    CN104166669A