A file positioning display method, a computing device and a storage medium

By loading and displaying detailed information about the target file and its adjacent files in the file manager, the slow loading speed when loading a large number of file directories is solved, enabling quick location and display of the target file and improving the user experience.

CN114510457BActive Publication Date: 2026-07-10UNIONTECH SOFTWARE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
UNIONTECH SOFTWARE TECH CO LTD
Filing Date
2022-01-25
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

When loading a directory with a large number of files in a file manager, existing technologies require reading all file information, resulting in slow loading and display speeds and impacting user experience.

Method used

By receiving the display request of the target file, the basic information of each file in the target directory is loaded, the files are sorted based on the basic information, the location information of the target file is determined, and the detailed information of the target file and its adjacent files is loaded and displayed according to the height of the visible area and the location information of the target file.

Benefits of technology

It improves the loading and display speed of file information, enhancing the user experience, especially on machines with poor performance, enabling quick location and display of target files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114510457B_ABST
    Figure CN114510457B_ABST
Patent Text Reader

Abstract

The application discloses a file positioning display method, a computing device and a storage medium. The method is executed in a file manager. A display interface of the file manager comprises a visible area. The method comprises the following steps: receiving a display request for a target file; loading basic information of each file under a target directory where the target file is located; sorting the files based on the basic information of each file, and determining position information of the target file; determining one or more to-be-displayed files including the target file under the target directory according to a height of the visible area and the position information of the target file; loading detailed information of the one or more to-be-displayed files including the target file and displaying the detailed information in the visible area. According to the technical scheme of the application, quick positioning and display of the files are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Based on current operating systems, after opening the directory containing a file, the system automatically locates the file's position for user convenience. For example, when a user downloads a file or program from the internet, the file or program will appear in the file manager after the download is complete, allowing the user to open the file or install the program. If the directory containing the file has a particularly large number of files, the file manager will load the directory slowly, inevitably affecting the speed of locating and displaying files. Therefore, finding a way to quickly locate the target file and improve loading and display speed is urgently needed.

[0003] In existing technologies, the information of all files in a directory is typically read sequentially (file information includes file size, file icon, thumbnail, creator, creation date, file content, etc.). Once all file information has been read, it is displayed on the file manager's interface list. For directories containing a large number of files, reading all file information can be very time-consuming, especially loading file icons and thumbnails. In such cases, users have to wait a long time to see and operate on the target file, which is particularly noticeable on low-performance machines, severely impacting the user experience.

[0004] Therefore, a file location and display method is needed to solve the problems existing in the above technical solutions. Summary of the Invention

[0005] Therefore, the present invention provides a file location display method in an attempt to solve or at least alleviate the problems mentioned above.

[0006] According to one aspect of the present invention, a file location and display method is provided, executed in a file manager, the file manager's display interface including a visible area, the method comprising the steps of: receiving a display request for a target file; loading basic information of each file in a target directory where the target file is located, sorting the files based on the basic information of each file, and determining the location information of the target file; determining one or more files to be displayed in the target directory, including the target file, according to the height of the visible area and the location information of the target file; loading detailed information of the one or more files to be displayed, including the target file, and displaying it in the visible area.

[0007] Optionally, in the file positioning and display method according to the present invention, the target file is adapted to be displayed at a predetermined position in the visible area, and determining one or more files to be displayed in the target directory, including the target file, based on the height of the visible area and the position information of the target file includes: determining one or more files to be displayed in the target directory, including the target file, based on the height of the visible area, the predetermined position, and the position information of the target file.

[0008] Optionally, in the file positioning and display method according to the present invention, the file manager includes a file list and is adapted to load basic or detailed information of files into the file list; the step of loading detailed information of one or more files to be displayed, including the target file, includes: controlling the file list to scroll so as to display the target file at a predetermined position in the visible area; and loading detailed information of one or more files to be displayed in the visible area.

[0009] Optionally, in the file positioning and display method according to the present invention, the step of controlling the scrolling of the file list includes: determining the display height of all files located before the target file; and controlling the file list to scroll to a predetermined position in the visible area to display the target file based on the display height and the height of the visible area.

[0010] Optionally, in the file positioning and display method according to the present invention, the step of determining the display height of all files preceding the target file includes: determining the height occupied by each line of file information and the number of all files preceding the target file; and calculating the display height of all files preceding the target file based on the height occupied by each line of file information and the number of files.

[0011] Optionally, in the file location display method according to the present invention, the step of loading basic information of each file in the target directory where the target file is located includes: obtaining target file information, determining the path of the target directory based on the target file information, and loading basic information of each file in the target directory based on the path of the target directory.

[0012] Optionally, in the file location display method according to the present invention, the step of loading basic information of each file in the target directory includes: traversing each file in the target directory in a loop to load the basic information of each file into the file list.

[0013] Optionally, in the file location display method according to the present invention, the step of determining the location information of the target file includes: sorting all files in the file list based on the basic information of each file; and determining the location information of the target file in the file list.

[0014] Optionally, in the file location display method according to the present invention, the basic information includes one or more of the following: file name, file type, file size, creation time, creator, access time, and modification time; the detailed information includes a file icon or thumbnail.

[0015] Optionally, the document positioning and display method according to the present invention further includes the steps of: in response to a scrolling operation on the display interface, determining one or more new files to be displayed based on the scrolling operation; loading the detailed information of the one or more new files to be displayed and displaying it in the visible area.

[0016] Optionally, the file location display method according to the present invention further includes the step of: when loading the details of one or more files to be displayed, including the target file, preloading the details of files located before or after the one or more files to be displayed via a sub-thread.

[0017] According to one 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 executed by the at least one processor, the program instructions including instructions for performing the file positioning and display method as described above.

[0018] According to one aspect of the present invention, a readable storage medium storing program instructions is provided, which, when read and executed by a computing device, causes the computing device to perform the method described above.

[0019] According to the technical solution of the present invention, a file location and display method is provided, wherein detailed information of the target file and a portion of its adjacent files is loaded selectively based on the location of the target file and displayed in the visible area. This improves the loading and display speed of file information and enhances the user experience. Furthermore, by pre-loading detailed information of files adjacent to the currently displayed file, new file information can be quickly displayed when the user scrolls the interface.

[0020] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

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

[0022] Figure 1 A schematic diagram of a computing device 100 according to an embodiment of the present invention is shown;

[0023] Figure 2 A flowchart of a file location display method 200 according to an embodiment of the present invention is shown;

[0024] Figure 3 A schematic diagram illustrating a file manager display interface 300 and a file list 350 according to an embodiment of the present invention is shown; and

[0025] Figure 4 A schematic diagram of a data structure according to an embodiment of the present invention is shown. Detailed Implementation

[0026] Exemplary embodiments of the present disclosure will now be described in more detail 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 implemented 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.

[0027] Figure 1 This is a schematic block diagram of an example computing device 100.

[0028] like Figure 1 As shown, in the basic configuration 102, the computing device 100 typically includes system memory 106 and one or more processors 104. Memory bus 108 can be used for communication between processor 104 and system memory 106.

[0029] Depending on the desired configuration, processor 104 can be any type of processor, including but not limited to: microprocessor (UP), microcontroller (UC), digital information processor (DSP), or any combination thereof. Processor 104 may include one or more levels of cache such as L1 cache 110 and L2 cache 112, processor core 114, and registers 116. Example processor core 114 may include an arithmetic logic unit (ALU), floating-point unit (FPU), digital signal processing core (DSP core), or any combination thereof. Example memory controller 118 may be used with processor 104, or in some implementations, memory controller 118 may be an internal part of processor 104.

[0030] Depending on the desired configuration, system memory 106 can 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 106 may include operating system 120, one or more applications 122, and program data 124. In some embodiments, application 122 may be arranged to execute instructions on the operating system using program data 124 by one or more processors 104.

[0031] The computing device 100 also includes a storage device 132, which includes a removable storage device 136 and a non-removable storage device 138.

[0032] The computing device 100 may also include a storage interface bus 134. The storage interface bus 134 enables communication from storage devices 132 (e.g., removable storage 136 and non-removable storage 138) to the basic configuration 102 via a bus / interface controller 130. At least a portion of the operating system 120, application 122, and data 124 may be stored on the removable storage 136 and / or the non-removable storage 138, and loaded into system memory 106 via the storage interface bus 134 when the computing device 100 is powered on or when application 122 is to be executed, and executed by one or more processors 104.

[0033] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via a bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices such as displays or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, 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 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link through one or more communication ports 164.

[0034] A network communication link can be an example of a communication medium. A communication medium can typically be embodied 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 whose data set, or its modifications, can be encoded as information within the signal. As a non-limiting example, a communication medium can include wired media such as wired networks or leased lines, and various wireless media including sound, radio frequency (RF), microwave, infrared (IR), or other wireless media. The term “computer-readable medium” as used herein can include both storage media and communication media.

[0035] The computing device 100 can be implemented as a personal computer, including desktop and laptop computer configurations. Of course, the computing device 100 can also be implemented as part of a small-sized portable (or mobile) electronic device, such as a cellular phone, digital camera, personal digital assistant (PDA), personal media player device, wireless network browsing device, personal head-mounted device, application-specific device, or a hybrid device that may include any of the above functions. It can even be implemented as a server, such as a file server, database server, application server, and web server. The embodiments of the present invention do not limit this.

[0036] In an embodiment of the present invention, a computing device 100 is configured to execute a file location and display method 200 according to the present invention. The application of the computing device 100 includes multiple program instructions for executing the file location and display method 200 of the present invention, such that the file location and display method 200 of the present invention can be executed in the computing device 100.

[0037] According to one embodiment of the present invention, the operating system of the computing device 100 includes a file manager 125, which contains multiple program instructions for executing the file positioning and display method 200 of the present invention, so that the file positioning and display method 200 of the present invention can be executed in the file manager.

[0038] Figure 2 A flowchart of a file location and display method 200 according to an embodiment of the present invention is shown. The file location and display method 200 can be executed in a file manager 125 of a computing device (e.g., the aforementioned computing device 100). The file manager 125 includes a corresponding display interface 300, which is adapted to be displayed on the system desktop of the computing device 100.

[0039] Figure 3 A schematic diagram of a file manager display interface 300 and a file list 350 according to an embodiment of the present invention is shown. Figure 3 As shown, the file manager's display interface 300 includes a visible area 310 and a navigation area 320 located to one side of the visible area 310. The visible area 310 can display one or more files in any directory, for example... Figure 3 The left side of the visible area 310 on the display interface 300 shown is provided with a navigation area 320. The navigation area 320 may include multiple file directories, such as recently used, home directory, desktop, video, picture, music, document, download and other directories. When any directory is selected, one or more files in the selected directory can be displayed in the visible area 310.

[0040] like Figure 2 As shown, method 200 begins with step S210.

[0041] In step S210, a request to display the target file is received.

[0042] Here, the target file can be a file that the user needs to open after downloading it from the internet (or a program). After downloading the file, the downloaded file can be used as the target file, triggering a request to display the target file. The target file can also be a file that the user selects to access or process. The file manager can receive the user's request to display the target file and then show it to the user by displaying one or more files in the directory where the target file is located. See the following steps for details.

[0043] In step S220, basic information of each file in the target directory where the target file is located is loaded. The files in the target directory are then sorted based on this basic information, and the location information of the target file is determined. Here, by obtaining the target file information, the path of the target directory can be determined, and the basic information of each file in the target directory is loaded based on the path of the target directory.

[0044] It should be noted that each file includes corresponding file information (i.e., file attribute information), which includes basic information and detailed information. Basic information includes, for example, one or more of the following: file name, file type, file size, creation time, creator, access time, and modification time; detailed information includes, for example, file icon and thumbnail.

[0045] Because basic information requires less memory and loads quickly, while detailed information requires more memory and loads slowly, loading detailed information from all files in a large target directory will inevitably lead to slower loading and display speeds.

[0046] In one embodiment, the file manager includes a file list 350, which can store file information for multiple files. The file information includes basic and detailed information about the files. By loading the basic information of each file in the target directory where the target file is located into the file list, and sorting all files in the file list based on the basic information of each file, each file in the target directory is arranged in a predetermined order in the file list 350. For example, all files in the file list can be sorted based on the creation time of each file, but the invention is not limited to a specific sorting method.

[0047] The location information of the target file is the position information of the target file in the file list 350 arranged in a predetermined order, such as the sequential number in the file list.

[0048] In one implementation, basic information for each file in the target directory is loaded by iterating through the directory. Specifically, a data structure is constructed to store file information, and this data structure is used to load the basic file information, which is then added to the file list. Figure 4 A schematic diagram of a data structure according to an embodiment of the present invention is shown. Figure 4 As shown, data structures can not only store file information, but also file-related operation information, such as loading basic information, loading icons or thumbnails, and other detailed information.

[0049] After completing the loop and loading the basic information of each file in the target directory into the file list, all files in the file list can be sorted based on their basic information (e.g., creation time). This allows us to determine the position of the target file within the file list. Here, a sorting function can be predefined and called to sort the file list.

[0050] Subsequently, in step S230, one or more files to be displayed, including the target file, are determined in the target directory based on the height of the visible area and the location information of the target file.

[0051] It should be noted that when there are many files in the file list 350, only a portion of the file information in the file list 350 can be displayed in the visible area 310 of the display interface 300. The file information displayed in the visible area 310 is visible, while the other portion of the file information is invisible.

[0052] The file to be displayed as defined in this invention is the file whose complete file information needs to be displayed in the visible area in order to present the target file to the user. Among them, one or more files to be displayed include at least the target file, and may also include several adjacent files located before and after the target file in the target directory.

[0053] In one embodiment, the file information of each file displayed in the visible area can occupy one line, and the height of each line of file information is fixed. Therefore, after determining the height of the visible area, the number of files suitable for display in the visible area can be determined based on the height of the visible area and the height occupied by each line of file information. Thus, based on the position information of the target file in the file list, the target file, and the corresponding number of files before and after the target file can be identified as the files to be displayed. In other words, one or more files, including the target file, to be displayed in the target directory can be determined based on the height of the visible area, the height occupied by each line of file information, and the position information of the target file.

[0054] Finally, in step S240, detailed information of one or more files to be displayed, including the target file, is loaded and displayed in the visible area 310. Here, the detailed information of one or more files to be displayed can be loaded into a file list, and by controlling the scrolling of the file list, the basic and detailed information of one or more files to be displayed can be fully displayed in the visible area.

[0055] It should be understood that this invention does not load detailed information of all files in the target directory, but rather loads and displays detailed information of the target file and a portion of its adjacent files selectively based on the location of the target file.

[0056] In one embodiment, the target file is suitable for display at a predetermined position within the visible area, where the predetermined position is a pre-defined display position within the visible area. Thus, in step S230, one or more files to be displayed, including the target file, can be determined within the target directory based on the visible area height, the predetermined position, and the location information of the target file.

[0057] In one implementation, the predetermined position is, for example, the middle line of the visible area, so that the information of the target file is displayed in the center of the visible area, which helps to improve the user experience.

[0058] According to one embodiment, detailed information about one or more files to be displayed, including the target file, in the target directory can be loaded using the following method:

[0059] First, determine the display height of all files preceding the target file, and also determine the height of the visible area. In one implementation, the file information for each file occupies one line. The height of each line of file information on the display interface can be determined based on the system font size and the spacing between lines. The number of all files preceding the target file is then determined based on the file list. Based on the height of each line of file information and the number of all files preceding the target file, the display height of all files preceding the target file can be calculated.

[0060] Next, the file list is scrolled based on the display height of all files preceding the target file and the height of the visible area. In other words, the file list is scrolled relative to the visible area of ​​the display interface to display the target file at a predetermined position within the visible area (initially displaying the target file's basic information). In other words, the file list is scrolled to display the target file at the predetermined position within the visible area. At this point, one or more files displayed in the visible area are one or more files to be displayed in the target directory, including the target file, and the visible area can initially display the basic information of one or more files to be displayed, including the target file.

[0061] Next, the detailed information of one or more files to be displayed in the target directory, including the target file, which is initially displayed in the visible area, can be loaded into the file list, and the detailed information of one or more files to be displayed can be displayed in the corresponding line in the visible area.

[0062] In other words, this invention initially displays basic information about one or more files to be displayed in the visible area of ​​the display interface by controlling the scrolling of the file list, with the target file displayed at a predetermined position. Then, it loads the detailed information of each file to be displayed in the visible area and updates the display there. Thus, it ultimately achieves the display of complete file information (including basic and detailed file information) for one or more files to be displayed, including the target file in the target directory, in the visible area.

[0063] In one embodiment, the system listens for scroll events on the display interface. When a user scrolls on the display interface, in response to the scrolling action, it determines one or more new files to be displayed, loads the detailed information of these files, and then displays the detailed information of these files in the visible area. This achieves the goal of updating the file information in the visible area as the user scrolls.

[0064] It should be noted that when a user scrolls on the display interface, it actually triggers the scrolling of the file list, causing each file in the file list to scroll relative to the visible area of ​​the display interface. The scrolling distance of the file list can be determined based on the scrolling operation. Based on the scrolling distance and the height of each line of file information, one or more new files to be displayed can be determined. Subsequently, the detailed information of the new files to be displayed is loaded and updated in the visible area.

[0065] In one embodiment, when loading detailed information of one or more files to be displayed, including the target file, in step S240, the present invention also starts a sub-thread to preload detailed information of a predetermined number of files located before or after the one or more files to be displayed in the file list. This allows for faster display of detailed information for new files when a user scrolls on the display interface, thus improving the user experience.

[0066] According to the file location display method of the present invention, detailed information of the target file and a portion of its adjacent files is loaded specifically based on the location of the target file and displayed in the visible area. This improves the loading and display speed of file information and enhances the user experience. Furthermore, by pre-loading detailed information of files adjacent to the currently displayed file, new file information can be quickly displayed when the user scrolls the interface.

[0067] The various techniques described herein can be implemented in combination with hardware or software, or a combination thereof. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, can take the form of program code (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, USB flash drive, floppy disk, CD-ROM, 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 present invention.

[0068] When the program code is executed on a programmable computer, the computing device generally includes a processor, a processor-readable storage medium (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 program code; the processor is configured to execute the file positioning and display method of the present invention according to instructions in the program code stored in the memory.

[0069] 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 embodies computer-readable instructions, data structures, program modules, or other data in the form of modulated data signals such as carrier waves or other transmission mechanisms, and includes any information delivery medium. Any combination of the above is also included within the scope of readable media.

[0070] In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with the examples of this invention. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0071] Numerous specific details are set forth in the specification provided herein. However, it will be 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 so as not to obscure the understanding of this specification.

[0072] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more aspects of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Therefore, the claims following the detailed description are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0073] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.

[0074] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0075] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments.

[0076] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.

[0077] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.

[0078] Although the invention has been described with reference to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and instructional purposes, and not for the purpose of interpreting or limiting the subject matter of the 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 invention is illustrative and not restrictive, and the scope of the invention is defined by the appended claims.

Claims

1. A method for locating and displaying files, executed in a file manager, wherein the file manager's display interface includes a visible area, the file manager includes a file list, and is adapted to load basic or detailed information of files into the file list, the method comprising the steps of: Receive a request to display the target file; Loading basic information of each file in the target directory where the target file is located includes: looping through each file in the target directory to load the basic information of each file into a file list; sorting all files in the file list based on the basic information of each file, and determining the position information of the target file in the file list. The basic information includes file name, file type, file size, creation time, creator, access time, and modification time. Based on the height of the visible area, the predetermined position, and the location information of the target file, determine one or more files to be displayed, including the target file, in the target directory; and Loading and displaying the detailed information of one or more files to be displayed, including the target file, in the visible area includes: determining the height occupied by each line of file information and the number of all files preceding the target file; calculating the display height of all files preceding the target file based on the height occupied by each line of file information and the number of files; controlling the file list to scroll to a predetermined position in the visible area to display the target file based on the display height and the height of the visible area; and loading the detailed information of one or more files to be displayed in the visible area; wherein the detailed information includes file icons or thumbnails.

2. The method as described in claim 1, wherein, The steps for loading basic information of each file in the target directory where the target file is located include: Obtain target file information, and determine the path of the target directory based on the target file information; Load basic information of each file in the target directory based on the path of the target directory.

3. The method as described in claim 1 or 2, wherein, It also includes the following steps: In response to a scrolling operation on the display interface, one or more new files to be displayed are determined based on the scrolling operation; Load details of one or more new files to be displayed and show them in the visible area.

4. The method of claim 3, wherein, It also includes the following steps: When loading details of one or more files to be displayed, including the target file, details of files located before or after the one or more files to be displayed are preloaded via a sub-thread.

5. 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, the program instructions including instructions for performing the method as described in any one of claims 1-4.

6. 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 in any one of claims 1-4.