File management method, device, electronic equipment and storage medium

By displaying directory items and supporting search functions, the problem of low file management operation efficiency is solved, fast positioning and efficient storage are achieved, and user experience is improved.

CN113468110BActive Publication Date: 2024-12-24BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110649778.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-10
Publication Date
2024-12-24
Estimated Expiration
2041-06-10

AI Technical Summary

Technical Problem

In the prior art, file management operation is inefficient and user experience is poor. Users usually select the storage file location by turning pages up and down or dragging scroll bars, resulting in inconvenience.

Method used

It provides a file management method, which can quickly locate and store file or file association content by receiving file management operations, supports searching keyword search and directory hierarchical structure display.

Benefits of technology

Improves the efficiency and user experience of file management, enables users to quickly locate directory items that have been performed interactively, and simplifies file storage procedures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113468110B_ABST
    Figure CN113468110B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a file management method, device, electronic device and storage medium, and relates to the field of computer technology, which can improve the efficiency of file management. The file management method includes: receiving a file management operation for a file corresponding to an account; in response to the file management operation, displaying a directory; the directory includes a directory item for indicating that the account has performed an interactive operation; receiving a selection confirmation operation of a first directory item, and storing the file or the associated content of the file to the storage location indicated by the first directory item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] During the file storage process, it is usually necessary to store the file in a corresponding directory location.

[0003] In the prior art, users often select the target location for storing files by turning pages up and down, dragging a scroll bar or a mouse wheel, etc. This method brings great inconvenience to file management operations, resulting in low file management efficiency and poor user experience. Summary of the invention

[0004] The present disclosure provides a file management method, device, electronic device and storage medium, which can solve the technical problems of low file management efficiency and poor user experience in the prior art.

[0005] The technical solution of the embodiment of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a file management method, comprising: receiving a file management operation for a file corresponding to an account; displaying a directory in response to the file management operation; the directory comprising directory items for indicating that interactive operations have been performed corresponding to the account; receiving a selection confirmation operation for a first directory item, and storing the file or associated content of the file to a storage location indicated by the first directory item.

[0007] Optionally, the above method for displaying a directory at least includes: displaying a directory control for representing the directory; and displaying the directory in response to a trigger operation performed on the directory control.

[0008] Optionally, there are multiple directories, and the above method for displaying directories at least includes: displaying multiple directories according to directory types of the directories; the directory type of a directory corresponds to a type of interactive operation or corresponds to a directory item type.

[0009] Optionally, there are multiple directory items, and the above method for displaying the directory at least includes: displaying multiple directory items according to the order in which the interactive operations corresponding to the accounts have been performed.

[0010] Optionally, the above-mentioned file management method further includes: receiving a search instruction including a search keyword; the search instruction is triggered in response to a trigger operation performed on a search control; and determining and displaying a directory corresponding to the search keyword.

[0011] Optionally, the above method for determining and displaying a directory corresponding to a search keyword includes at least: displaying one or more second directory items matching the search keyword; receiving a confirmation operation for a third directory item in the second directory items, and displaying the directory hierarchy structure of the directory to which the third directory item belongs.

[0012] Optionally, the above method for displaying a directory at least includes: obtaining a directory hierarchical structure of the directory, the directory hierarchical structure including directory items and levels of the directory items; and displaying the directory in the form of the directory hierarchical structure according to the levels of the directory items.

[0013] According to a second aspect of an embodiment of the present disclosure, a file management device is provided. The file management device may include: a receiving unit, an acquisition unit, a display unit, and a storage unit; the receiving unit is used to receive a file management operation corresponding to an account for a file; the acquisition unit is used to display a directory in response to the file management operation; the directory includes a directory item for indicating that the account has performed an interactive operation; the receiving unit is also used to receive a selection confirmation operation of a first directory item; the storage unit is used to store the file or the associated content of the file to the storage location indicated by the first directory item.

[0014] Optionally, the display unit is specifically used to: display a directory control for representing a directory; and display the directory in response to a trigger operation performed on the directory control.

[0015] Optionally, there are multiple directories, and the display unit is specifically used to: display the multiple directories according to the directory types of the directories; the directory type of a directory corresponds to a type of interactive operation or corresponds to a directory item type.

[0016] Optionally, there are multiple directory items, and the display unit is specifically used to: display the multiple directory items according to the order in which the interactive operations corresponding to the accounts have been executed.

[0017] Optionally, the receiving unit is further used to receive a search instruction including a search keyword; the search instruction is triggered in response to a trigger operation performed on a search control; and the display unit is further used to determine and display a directory corresponding to the search keyword.

[0018] Optionally, the display unit is specifically used to: display one or more second directory items matching the search keyword; receive a confirmation operation of a third directory item in the second directory items, and display a directory hierarchical structure of the directory to which the third directory item belongs.

[0019] Optionally, the display unit is specifically used to: obtain a directory hierarchical structure of the directory, the directory hierarchical structure including directory items and levels of the directory items; and display the directory in the form of the directory hierarchical structure according to the levels of the directory items.

[0020] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional file management methods in the above-mentioned first aspect.

[0021] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the optional file management methods in the above-mentioned first aspect.

[0022] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the file management method as described in any optional implementation of the first aspect.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

[0024] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0025] Based on any of the above aspects, in the present disclosure, when an electronic device of a logged-in account performs a file management operation, the electronic device can, in response to the file management operation, display a directory including directory items for indicating that the electronic device of the logged-in account has performed interactive operations. Subsequently, the electronic device receives a selection confirmation operation for the first directory item, and stores the file or the associated content of the file to the storage location indicated by the first directory item. The file management method provided by the embodiment of the present disclosure enables users to quickly locate directory items that have performed interactive operations when managing files, which improves the efficiency of file management to a certain extent and enriches the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0027] Figure 1 A schematic diagram of a process of a file management method provided by an embodiment of the present disclosure is shown;

[0028] Figure 2 A schematic diagram of a terminal interface for file management provided by an embodiment of the present disclosure is shown;

[0029] Figure 3 A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0030] Figure 4 A schematic diagram of another terminal interface for file management provided by an embodiment of the present disclosure is shown;

[0031] Figure 5 A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0032] Figure 6 A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0033] Figure 7a A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0034] Figure 7b A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0035] Figure 8 A schematic diagram of another terminal interface for file management provided by an embodiment of the present disclosure is shown;

[0036] Fig. 9 A flowchart of another file management method provided by an embodiment of the present disclosure is shown;

[0037] Fig.10 A schematic diagram of the structure of a file management device provided by an embodiment of the present disclosure is shown;

[0038] Fig.11 A schematic diagram of the structure of a terminal provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0039] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0041] It should also be understood that the term “comprising” indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements and / or components.

[0042] The data involved in the present disclosure may be data authorized by the user or fully authorized by all parties.

[0043] As described in the background art, during the file storage process, users often select the target location for storing files by turning pages up and down, dragging a scroll bar or using a mouse wheel. This method brings great inconvenience to file management operations, resulting in low file management efficiency and poor user experience.

[0044] Based on this, an embodiment of the present disclosure provides a file management method. When an electronic device of a logged-in account performs a file management operation, the electronic device can respond to the file management operation and obtain and display a directory including directory items used to indicate that the electronic device of the logged-in account has performed interactive operations. Subsequently, the electronic device receives a selection confirmation operation for the first directory item and stores the file or the associated content of the file to the storage location indicated by the first directory item. The file management method provided by the embodiment of the present disclosure enables users to quickly locate directory items that have performed interactive operations when managing files, which improves the efficiency of file management to a certain extent and enriches the user experience.

[0045] The following is an exemplary description of the file management method provided by the embodiment of the present disclosure:

[0046] The file management method provided by the present disclosure can be applied to electronic devices.

[0047] In some embodiments, the electronic device may be a terminal, or may be other electronic devices used for file management, which is not limited in the present disclosure.

[0048] The terminal may be a mobile phone, tablet computer, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR) and virtual reality (VR) devices, etc., which can install and use content community applications (such as Kuaishou). The present disclosure does not impose any special restrictions on the specific form of the electronic device. It can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device.

[0049] The file management method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0050] like Figure 1 As shown, when the file management method is applied to an electronic device, the file management method at least includes S101-S103.

[0051] S101: An electronic device receives a file management operation for a file corresponding to an account.

[0052] Specifically, when the electronic device of the logged-in account performs file management, the file management operation can be performed on the electronic device. In this case, the electronic device receives the file management operation for the file corresponding to the account.

[0053] The file management operation on the file corresponding to the account refers to the file management operation on the file performed by the electronic device that logs into the account.

[0054] S102: The electronic device displays a directory in response to the file management operation.

[0055] Specifically, after receiving the file management operation for the file corresponding to the account, the electronic device displays the directory in response to the file management operation.

[0056] The directory includes directory items for indicating the interactive operations performed on the corresponding accounts.

[0057] Optionally, the file management operation includes: at least one of: a move file operation, a copy file operation, an add file shortcut operation, and a store file operation.

[0058] Optionally, when an electronic device displays a directory, it may display directory items indicating that the electronic device of the logged-in account has performed interactive operations, that is, display directory items corresponding to the account that have performed interactive operations, or it may display a directory structure including directory items, and it may also display the directory in other display methods, which is not limited in this disclosure.

[0059] For example, directory A includes: a first-level folder (folder A), a second-level folder (folder a and folder b), and a third-level folder (folder 1, folder 2, and folder 3). Folder 1, folder 2, and folder 3 are all located in folder a, and folder a and folder b are all located in folder A.

[0060] The current time is preset to be 16:41:35 on June 2, 2021. If the electronic device of the logged-in account stores a file in folder 1 at 16:41:35 on June 1, 2021, then folder 1 is the directory item on which the electronic device of the logged-in account has performed an interactive operation.

[0061] In this case, when the electronic device that logs into the account needs to store file A at the current moment and performs a storage operation on file A, the electronic device responds to the storage operation and displays directory A. Directory A includes a directory item of folder 1.

[0062] like Figure 2 After receiving the file management operation for the file from the electronic device of the login account, the electronic device can display directory A on the storage location selection page 201 in response to the file management operation. The directory A includes the directory item of folder 1.

[0063] S103: The electronic device receives a selection confirmation operation of the first directory item, and stores the file or the associated content of the file to the storage location indicated by the first directory item.

[0064] Specifically, after displaying the directory, the electronic device may receive a selection confirmation operation of the first directory item, and store the file or the associated content of the file to the storage location indicated by the first directory item.

[0065] The associated content of the file may be content that can obtain the content of the file, such as a copy file of the file, a shortcut, a shortcut to copy the file, and the like.

[0066] In combination with the above example, if the user wants to store file A in displayed folder 1, the user can perform a selection operation on displayed folder 1, and then perform a trigger operation on the storage control. The electronic device stores file A in folder 1 in response to the user's trigger operation on the storage control.

[0067] The technical solution provided by the above-mentioned embodiment brings at least the following beneficial effects: As can be seen from S101-S102, when the electronic device of the logged-in account performs a file management operation, the electronic device can respond to the file management operation, obtain and display a directory including directory items for indicating that the electronic device of the logged-in account has performed interactive operations. Subsequently, the electronic device receives the selection confirmation operation of the first directory item, and stores the file or the associated content of the file to the storage location indicated by the first directory item. The file management method provided by the embodiment of the present disclosure enables the user to quickly locate the directory items that have performed interactive operations when managing files, which improves the efficiency of file management to a certain extent and enriches the user experience.

[0068] In one embodiment, in combination Figure 1 ,like Figure 3 As shown, in the above S102, the method for an electronic device to display a directory at least includes S301-S302.

[0069] S301. The electronic device displays a directory control for representing a directory.

[0070] Specifically, when displaying a directory, the electronic device may also display the directory in the form of a control.

[0071] For example, Figure 4 As shown in (a) in FIG. 1 , the preset directory is “recently stored”. After the electronic device responds to the file management operation performed on file A and obtains the “recently stored” directory, it can display a directory control corresponding to the “recently stored” directory on the storage location selection page 201 .

[0072] S302: The electronic device displays a directory in response to a trigger operation performed on a directory control.

[0073] Specifically, after displaying the directory control for representing the directory, the electronic device logged into the account can perform a trigger operation on the directory control. Accordingly, the electronic device displays the directory in response to the trigger operation performed on the directory control.

[0074] Combination Figure 2 ,like Figure 4 As shown in (b) of FIG. 1 , after displaying the directory control corresponding to the "recently stored" directory, the electronic device logged into the account can perform a trigger operation on the directory control. Accordingly, the electronic device displays the "recently stored" directory in response to the trigger operation performed on the directory control. Figure 2 The displayed content of directory A in is the same and will not be repeated here.

[0075] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S301-S302, the electronic device can display a directory control for representing a directory. Subsequently, the electronic device displays the directory in response to a trigger operation performed on the directory control, and a specific implementation method for displaying the directory is provided. By displaying the directory in the form of a control, the directory can be displayed after the electronic device performs a trigger operation on the control. In this way, when managing files, the user can quickly locate the directory item on which the interactive operation has been performed, which improves the efficiency of file management to a certain extent and enriches the user experience.

[0076] In one embodiment, in combination Figure 1 ,like Figure 5 As shown, there are multiple directories. In the above S102, the method for an electronic device to display a directory at least includes S501.

[0077] S501. The electronic device displays a plurality of directories according to the directory types of the directories.

[0078] The directory type of a directory corresponds to a type of interactive operation or a directory item type.

[0079] Specifically, there are multiple directories, and the electronic device displays the multiple directories according to the directory types of the directories.

[0080] Exemplarily, if the directory type of a directory corresponds to a type of interactive operation, the directory type of the directory may be: recently stored, recently browsed, recently created, recently favorited, my cloud disk, shared cloud disk, etc.

[0081] For example, Figure 2 As shown, the multiple directories displayed by the electronic device include "Recently Stored", "Recently Viewed" and "Recently Created".

[0082] The "recently stored" directory refers to the directory where the electronic device of the logged-in account has stored files at a certain time before the current time. For example, the current time is preset to 16:41:35 on June 2, 2021. If the electronic device of the logged-in account stores a file in folder 1 at 16:41:35 on June 1, 2021, then folder 1 is the "recently stored" directory.

[0083] A "recently browsed" directory refers to a directory that was opened and browsed by the electronic device of the logged-in account at a certain time before the current time. For example, the current time is preset to 16:41:35 on June 2, 2021. If the electronic device of the logged-in account opens folder 1 at 16:41:35 on June 1, 2021, and browses the file list or a file in folder 1, then folder 1 is the "recently browsed" directory.

[0084] The "recently created" directory refers to the directory created by the electronic device of the logged-in account at a certain time before the current time. For example, the current time is preset to 16:41:35 on June 2, 2021. If the electronic device of the logged-in account creates folder 1 at 16:41:35 on June 1, 2021, then folder 1 is the "recently created" directory.

[0085] In addition, for directories that have not been interactively operated, the electronic device can also display the root directory of this type of directory. For example, folder 1 is a directory that has not been interactively operated, and folder 1 is located in the C drive (that is, the root directory of folder 1 is the C drive). In this case, the electronic device can display the root directory "C drive". The user can search for a directory in the "C drive" that has not been interactively operated: folder 1 through the root directory of the "C drive".

[0086] When the user selects a directory item of file management, the user can perform trigger operations on multiple directories. Accordingly, the electronic device can refer to the method of S301-S302 to display the directory corresponding to each directory type.

[0087] It should be understood that the directory type of recently stored directories includes directory items on which the electronic device of the logged-in account has performed storage operations. The directory type of recently browsed directories includes directory items on which the electronic device of the logged-in account has performed browsing operations. The directory type of recently created directories includes directory items on which the electronic device of the logged-in account has performed creation operations. The directory type of recently collected directories includes directory items on which the electronic device of the logged-in account has performed collection operations. The directory type of my cloud disk includes directory items of my cloud disk. The directory type of shared cloud disk includes directory items of shared cloud disk.

[0088] The directory of "My Cloud Disk" refers to the directory list in the cloud disk space corresponding to the account. For example, the electronic device logged into the account creates three directory items "Folder 1", "Folder 2" and "Folder 3" in My Cloud Disk. In this case, the directory of the directory type My Cloud Disk includes three directory items "Folder 1", "Folder 2" and "Folder 3".

[0089] The directory of "shared cloud disk" refers to the directory list in the cloud disk space shared with multiple accounts. For example, the administrator of the shared cloud disk creates three directory items "Folder 1", "Folder 2" and "Folder 3" in the shared cloud disk. In this case, the directory of the shared cloud disk type includes three directory items "Folder 1", "Folder 2" and "Folder 3".

[0090] As another example, if the directory type of a directory corresponds to the type of a directory item, the directory type of the directory may be: folder, document, etc.

[0091] It should be understood that a directory whose directory type is folder includes directory items whose directory item type is folder, and a directory whose directory type is document includes directory items whose directory item type is document.

[0092] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S501, if there are multiple directories, the type of the directory can be determined according to the type of interactive operation or the type of directory item, and multiple directories can be displayed according to the type of directory. In this way, when locating the directory item of the management file, a more fine-grained screening can be performed according to the type of the directory, thereby improving the efficiency of file management and enriching the user experience.

[0093] In one embodiment, in combination Figure 1 ,like Figure 6 As shown, the number of directory items is multiple, and in the above S102, the method for an electronic device to display a directory at least includes S601.

[0094] S601. The electronic device displays a plurality of directory items according to the order in which the interactive operations corresponding to the accounts have been performed.

[0095] Specifically, there are multiple directory items, and the electronic device can display multiple directory items according to the order in which the interactive operations corresponding to the accounts have been performed.

[0096] In combination with the above example, the current time is preset to 16:41:35 on June 2, 2021. If the electronic device of the logged-in account stores a file in folder 2 at 13:41:35 on June 1, 2021, and stores a file in folder 1 at 16:41:35 on June 1, 2021, then folder 1 and folder 2 are both directory items on which the electronic device of the logged-in account has performed interactive operations.

[0097] In this case, the electronic device displays folder 1 and folder 2 according to the order in which the electronic device of the logged-in account has performed the storage operation. Since the difference between the time when the electronic device of the logged-in account performs the storage operation on folder 1 and the current time is smaller than the difference between the time when the electronic device of the logged-in account performs the storage operation on folder 2 and the current time, the electronic device displays folder 1 before folder 2.

[0098] In another embodiment, in the order of execution time from earliest to latest, directory items with earlier execution time are displayed before directory items with later execution time. For example, the current time is preset to 16:41:35 on June 2, 2021. If the electronic device logged into the account stores a file in folder 2 at 13:41:35 on June 1, 2021, and stores a file in folder 1 at 16:41:35 on June 1, 2021, then folder 2 is displayed before folder 1.

[0099] like Figure 2 As shown. In response to the file management operation performed by the electronic device of the logged-in account, after obtaining directory A, the electronic device can display folder 1 and folder 2 on the storage location selection page 201. Among them, the display order of folder 1 is placed before file 2.

[0100] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S601, when there are multiple directory items, the electronic device can determine the display order of each directory item according to the time of the interactive operation, and display multiple directory items respectively according to the display order of each directory item. In this way, when locating the directory items of the management file, more fine-grained screening can be performed according to the display order of the directory items, thereby improving the efficiency of file management and enriching the user experience.

[0101] In one embodiment, if Figure 7a As shown, after S101, the file management method provided by the present application also includes S701-S702.

[0102] S701. The electronic device receives a search instruction including a search keyword.

[0103] The search instruction is triggered in response to a trigger operation performed on a search control.

[0104] Specifically, the electronic device displays a search control. The search control is used to instruct the user to enter a search keyword to retrieve a directory required by the user. In this case, the user can trigger the search control through the electronic device logged into the account and enter the search keyword. Accordingly, the electronic device receives a search instruction including the search keyword.

[0105] Optionally, the search control can be displayed in response to a file management operation (i.e., the search control and the directory are displayed simultaneously at different locations on the file management page); it can also be displayed after receiving a search trigger operation again after the directory is displayed; it can also be displayed in other ways, which is not limited in this disclosure.

[0106] Therefore, after receiving the file management operation for the file corresponding to the account, the electronic device may display the directory first and then the search control; it may display the search control first and then the directory; it may also display the search control and the directory at the same time, which is not limited in the present disclosure. That is, the order of S701 and S102 is also not limited.

[0107] S702: The electronic device determines and displays a directory corresponding to the search keyword.

[0108] Specifically, after receiving a search instruction including a search keyword, the electronic device determines and displays a directory corresponding to the search keyword. In one embodiment, the directory corresponding to the search keyword refers to a directory whose directory item names include at least part of the search keyword. For example, the directory "Recently Created" includes 3 directory items, and the names of the 3 directory items are: Folder 1, Folder 2, and Folder 3. If the search keyword is "1", "Folder 1", or "Folder 1", the directory including Folder 1 can be displayed.

[0109] In another embodiment, the electronic device may determine the directory corresponding to the search keyword through the pre-stored correspondence between the search keyword and the directory, or may determine the directory corresponding to the search keyword through other methods, which is not limited in the present disclosure.

[0110] For example, Figure 8 As shown in (a) in FIG. 1 , the electronic device may display a search control 801 on the storage location selection page 201 storing file A. When the directory displayed by the electronic device is not the directory in which the user wants to manage files, the electronic device logged into the account may trigger the search control 801 and enter the search keyword "1".

[0111] Follow-up, combined Figure 2 ,like Figure 8 As shown in (b) of FIG. 1 , the electronic device determines and displays the directory corresponding to the search keyword "1". Figure 2 The displayed content of directory A in is the same and will not be repeated here.

[0112] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S701-S702, when the displayed directory is not the directory where the user wants to manage files, the directory for managing files can be searched. That is, the user can search and quickly locate the location of file management by searching keywords, thereby improving the efficiency of file management and enriching the user experience.

[0113] In one embodiment, in combination Figure 7a ,like Figure 7b As shown, in the above S702, the method for the electronic device to determine and display a directory corresponding to the search keyword at least includes S7021-S7022.

[0114] S7021. The electronic device displays one or more second directory items that match the search keyword.

[0115] Specifically, after receiving a search instruction including a search keyword, the electronic device may display one or more second directory items matching the search keyword.

[0116] Exemplarily, the search keyword is “1.” After receiving a search instruction including the search keyword “1,” the electronic device may display the second directory items matching the search keyword “1”: folder 1, document 1.

[0117] S7022. The electronic device receives a confirmation operation for a third directory item in the second directory item, and displays a directory hierarchical structure of the directory to which the third directory item belongs.

[0118] Specifically, after displaying one or more second directory items matching the search keyword, the electronic device receives a confirmation operation of a third directory item in the second directory items and displays the directory hierarchical structure of the directory to which the third directory item belongs.

[0119] In combination with the above example, after displaying the second directory item matching the search keyword "1": folder 1, document 1, the electronic device receives a confirmation operation performed on folder 1 and displays the directory hierarchy structure of the directory to which folder 1 belongs.

[0120] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S7021-S7022, when the displayed directory is not the directory where the user wants to manage files, the directory for managing files can be searched. Subsequently, after displaying one or more second directory items that match the search keyword, the electronic device receives a confirmation operation of a third directory item in the second directory item, and displays the directory hierarchy of the directory to which the third directory item belongs. In this way, the user can understand the specific directory hierarchy of the directory to which the third directory item belongs. If the user wants to perform a file management operation on the directory item corresponding to the directory hierarchy again, the location of the file management can be quickly located, thereby improving the efficiency of file management and enriching the user experience.

[0121] In one embodiment, in combination Figure 1 ,like Fig. 9 As shown, in the above S102, the method for an electronic device to display a directory at least includes S901-S902.

[0122] S901. The electronic device obtains a directory hierarchical structure of a directory.

[0123] The directory hierarchical structure includes directory items and levels of directory items.

[0124] Specifically, when displaying a directory, the electronic device may obtain the directory hierarchical structure of the directory.

[0125] Optionally, when the electronic device obtains the directory hierarchy structure of the directory, it may obtain the directory hierarchy structure of the directory through a pre-stored correspondence between the directory and the directory hierarchy structure, or may obtain the directory hierarchy structure of the directory through other methods, which is not limited in the present disclosure.

[0126] S902. The electronic device displays the directory in the form of a directory hierarchical structure according to the levels of the directory items.

[0127] Specifically, after acquiring the directory hierarchical structure of the directory, the electronic device displays the directory in the form of the directory hierarchical structure according to the levels of the directory items.

[0128] Exemplarily, the electronic device displays the directory in the form of a directory hierarchical structure according to the level of the directory items, which can be referred to Figure 2 How to display and about Figure 2 The description will not be repeated again.

[0129] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S901-S902, when displaying a directory, the electronic device can display the hierarchical structure of the directory. In this way, the user can understand the specific directory structure of the directory items for managing files, thereby improving the efficiency of file management and enriching the user experience.

[0130] It is understandable that, in actual implementation, the electronic device described in the embodiment of the present disclosure may include one or more hardware structures and / or software modules for implementing the aforementioned corresponding file management method, and these execution hardware structures and / or software modules may constitute an electronic device. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiment disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present disclosure.

[0131] Based on such understanding, the embodiments of the present disclosure also provide a file management device that can be applied to electronic devices. Fig.10 FIG. 1 shows a schematic diagram of the structure of a file management device provided by an embodiment of the present disclosure. Fig.10 As shown, the file management device may include: a receiving unit 1001, a display unit 1002 and a storage unit 1003;

[0132] The receiving unit 1001 is used to receive a file management operation corresponding to an account. Figure 1 , the receiving unit is used to execute S101.

[0133] The display unit 1002 is used to display a directory in response to a file management operation; the directory includes directory items for indicating the account corresponding to the executed interactive operation. Figure 1 , the display unit 1002 is used to execute S102.

[0134] The receiving unit 1001 is further configured to receive a selection confirmation operation of the first directory item. Figure 1 , the receiving unit 1001 is used to execute S103.

[0135] Storage unit 1003 is used to store the file or the associated content of the file to the storage location indicated by the first directory entry. Figure 1 , storage unit 1003 is used to execute S103.

[0136] Optionally, the display unit 1002 is specifically used for:

[0137] Displays a directory control that represents a directory. For example, Figure 3 , the display unit 1002 is used to execute S301.

[0138] In response to a trigger operation performed on a catalog control, a catalog is displayed. Figure 3, the display unit 1002 is used to execute S302.

[0139] Optionally, there are multiple directories, and the display unit 1002 is specifically used to:

[0140] Display multiple directories according to their directory types; a directory type corresponds to a type of interactive operation or a directory item type. Figure 5 , the display unit 1002 is used to execute S501.

[0141] Optionally, there are multiple catalog items, and the display unit 1002 is specifically used to:

[0142] Display multiple directory items according to the order in which the interactive operations corresponding to the account have been performed. For example, combined with Figure 6 , the display unit 1002 is used to execute S601.

[0143] Optionally, the receiving unit 1001 is further configured to receive a search instruction including a search keyword; the search instruction is triggered in response to a trigger operation performed on a search control. Figure 7a , the receiving unit 1001 is used to execute S701.

[0144] The display unit 1002 is also used to determine and display the directory corresponding to the search keyword. Figure 7a , the display unit 1002 is used to execute S702.

[0145] Optionally, the display unit 1002 is specifically used for:

[0146] Display one or more second directory items that match the search keyword. Figure 7b , display unit 1002 is used to execute S7021.

[0147] Receive a confirmation operation of the third directory item in the second directory item, and display the directory hierarchy structure of the directory to which the third directory item belongs. Figure 7b , display unit 1002 is used to execute S7022.

[0148] Optionally, the display unit 1002 is specifically used for:

[0149] Get the directory hierarchy of the directory, which includes directory items and levels of directory items. For example, Fig. 9 , the display unit 1002 is used to execute S901.

[0150] Displays the directory in a hierarchical structure based on the level of the directory items. Fig. 9 , the display unit 1002 is used to execute S902.

[0151] The disclosed embodiment also provides an electronic device, and the terminal may be a user terminal such as a mobile phone, a computer, etc. Fig.11 The electronic device provided by the embodiment of the present disclosure is shown in the structural diagram. The electronic device may be a file management device and may include at least one processor 61 , a communication bus 62 , a memory 63 and at least one communication interface 64 .

[0152] The processor 61 may be a processor (central processing unit, CPU), a microprocessor unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the disclosed solution. Fig.10 , the functions implemented by the acquisition unit and the display unit in the electronic device are similar to Fig.11 The functions implemented by the processor 61 in are the same.

[0153] The communication bus 62 may include a pathway for transmitting information between the above-mentioned components.

[0154] The communication interface 64 uses any transceiver or other device for communicating with other devices or communication networks, such as servers, Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc. As an example, in combination with Fig.10 The function implemented by the receiving unit 1001 in the electronic device is similar to Fig.11 The communication interface 64 in FIG.

[0155] The memory 63 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processing unit via a bus. The memory may also be integrated with the processing unit. As an example, in combination with Fig.10 The function implemented by the storage unit 1003 in the electronic device is similar to Fig.11 The function implemented by the memory 63 in is the same.

[0156] The memory 63 is used to store application code for executing the solution of the present disclosure, and the execution is controlled by the processor 61. The processor 61 is used to execute the application code stored in the memory 63, so as to realize the functions in the method of the present disclosure.

[0157] In a specific implementation, as an embodiment, the processor 61 may include one or more CPUs, such as Fig.11 CPU0 and CPU1 in.

[0158] In a specific implementation, as an embodiment, the electronic device may include multiple processors, such as Fig.11 61 and 65 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0159] In a specific implementation, as an embodiment, the electronic device may further include an input device 66 and an output device 67. The input device 66 communicates with the output device 67 and may receive user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device, or a sensor device. The output device 67 communicates with the processor 61 and may display information in a variety of ways. For example, the output device 67 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.

[0160] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0161] The present disclosure also provides a computer-readable storage medium including instructions, and the computer-readable storage medium stores instructions, and when the instructions in the computer-readable storage medium are executed by the processor of a computer device, the computer can execute the file management method provided by the above-mentioned embodiment. For example, the computer-readable storage medium can be a memory 63 including instructions, and the above instructions can be executed by the processor 61 of the electronic device to complete the above method. For another example, the computer-readable storage medium can be a memory 72 including instructions, and the above instructions can be executed by the processor 71 of the server to complete the above method. Optionally, the computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0162] The present disclosure also provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above Figure 1-Figure 9 A file management method as shown in any one of the accompanying drawings.

[0163] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0164] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A file management method, characterized in that: include: Receive file management operations for files corresponding to the account; In response to the file management operation, displaying a directory control for representing the directory according to the directory type of the directory, wherein the directory control is used to indicate the directory type; In response to a trigger operation performed on the directory control, the directory is displayed; the directory includes directory items corresponding to types of interactive operations performed by the account, and the directory type of a directory corresponds to a type of interactive operation or a type of directory item; Receiving a search instruction including a search keyword; the search instruction is triggered in response to a trigger operation performed on a search control; Determine and display a directory item corresponding to the search keyword, the directory item being a directory item in the directory; A selection confirmation operation of a first directory item is received, and the file or the associated content of the file is stored in a storage location indicated by the first directory item.

2. The file management method according to claim 1, characterized in that: The number of the directory items is multiple, and the displayed directory includes: Multiple directory items are displayed according to the order in which the interactive operations corresponding to the accounts have been executed.

3. The file management method according to claim 1, characterized in that: The step of determining and displaying the directory corresponding to the search keyword includes: Displaying one or more second directory items matching the search keyword; A confirmation operation of a third directory item in the second directory item is received, and a directory hierarchical structure of a directory to which the third directory item belongs is displayed.

4. The file management method according to claim 1, characterized in that: Displays the directory, including: Acquire a directory hierarchical structure of the directory, wherein the directory hierarchical structure includes the directory items and the levels of the directory items; The directory is displayed in the form of the directory hierarchical structure according to the levels of the directory items.

5. A file management device, characterized in that: include: Receiving unit, acquiring unit, display unit and storage unit; The receiving unit is used to receive a file management operation on a file corresponding to an account; The acquisition unit is used to display a directory control for representing the directory according to the directory type of the directory in response to the file management operation, wherein the directory control is used to indicate the directory type; The display unit is used to display the directory in response to a trigger operation performed on the directory control; the directory includes directory items corresponding to types of interactive operations performed by the account, and the directory type of a directory corresponds to a type of interactive operation or a directory item type; The receiving unit is further configured to receive a search instruction including a search keyword; the search instruction is triggered in response to a trigger operation performed on a search control; The display unit is further used to determine and display a directory item corresponding to the search keyword, wherein the directory item is a directory item in the directory; The receiving unit is further used to receive a selection confirmation operation of the first directory item; The storage unit is used to store the file or the associated content of the file to the storage location indicated by the first directory entry.

6. The file management device according to claim 5, characterized in that: The number of the catalog items is multiple, and the display unit is specifically used for: Multiple directory items are displayed according to the order in which the interactive operations corresponding to the accounts have been executed.

7. The file management device according to claim 5, characterized in that: The display unit is specifically used for: Displaying one or more second directory items matching the search keyword; A confirmation operation of a third directory item in the second directory item is received, and a directory hierarchical structure of a directory to which the third directory item belongs is displayed.

8. The file management device according to claim 5, characterized in that: The display unit is specifically used for: Acquire a directory hierarchical structure of the directory, wherein the directory hierarchical structure includes the directory items and the levels of the directory items; The directory is displayed in the form of the directory hierarchical structure according to the levels of the directory items.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the file management method according to any one of claims 1 to 4.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the file management method according to any one of claims 1 to 4.

11. A computer program product comprising instructions, characterized in that When the instruction is executed on an electronic device, the electronic device executes the file management method according to any one of claims 1 to 4.