CN113468109A - File management method and device, electronic equipment and storage medium - Google Patents

File management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113468109A
CN113468109A CN202110649714.5A CN202110649714A CN113468109A CN 113468109 A CN113468109 A CN 113468109A CN 202110649714 A CN202110649714 A CN 202110649714A CN 113468109 A CN113468109 A CN 113468109A
Authority
CN
China
Prior art keywords
file
directory
displaying
electronic device
management method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110649714.5A
Other languages
Chinese (zh)
Other versions
CN113468109B (en
Inventor
褚德彪
王一然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110649714.5A priority Critical patent/CN113468109B/en
Publication of CN113468109A publication Critical patent/CN113468109A/en
Application granted granted Critical
Publication of CN113468109B publication Critical patent/CN113468109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a file management method, a file management device, electronic equipment and a storage medium, relates to the technical field of computers, and can improve file management efficiency. The content display method includes: receiving a file selection operation corresponding to an account, wherein the account corresponds to one or more executed interactive operations; and displaying a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory.

Description

File management method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a file management method and apparatus, an electronic device, and a storage medium.
Background
When selecting a file stored in an electronic device, a user usually needs to select the file from a directory location where the file to be selected is stored.
In the prior art, when a directory location includes a plurality of files, a user often selects a file to be selected by turning pages up and down, and dragging a scroll bar or a mouse wheel. The mode brings great inconvenience to file selection operation, so that the file selection efficiency is low and the user experience is poor.
Disclosure of Invention
The disclosure provides a file management method, a file management device, an electronic device and a storage medium, which can solve the technical problems of low file selection efficiency and poor user experience in the prior art.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a file management method, including: receiving a file selection operation corresponding to an account, wherein the account corresponds to one or more executed interactive operations; and displaying a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory.
Optionally, the file management method further includes: receiving a search instruction comprising a file identifier; the search instruction is triggered in response to the triggering operation executed by the account on the search control; and displaying the second file corresponding to the file identification.
Optionally, the type of the second file corresponding to the file identifier is multiple, and the method for displaying the second file corresponding to the file identifier at least includes: and displaying the second file corresponding to the file identifier according to the file type of the file.
Optionally, the method for displaying a plurality of second files corresponding to the file identifiers at least includes: displaying one or more files matched with the file identification; and receiving confirmation operation of a second file in the one or more files, and displaying the directory hierarchical structure of the directory to which the second file belongs.
Optionally, the method for displaying a plurality of second files corresponding to the file identifiers at least includes: displaying a directory hierarchy of a directory to which the second file belongs; or displaying the path of the second file in the directory to which the second file belongs.
Optionally, the method for displaying the directory corresponding to the operation type of the executed interactive operation and the first file belonging to the directory at least includes: displaying a first directory control corresponding to each operation type; the first catalog is displayed when the first catalog control is triggered; receiving a trigger operation aiming at a second directory control in the first directory control; the first file belonging to the second directory is displayed.
Optionally, the method for displaying the first file belonging to the directory at least includes: displaying a file control for characterizing a first file; and displaying the first file in response to the triggering operation executed on the file control.
Optionally, the method for displaying the first file belonging to the directory at least includes: acquiring a directory hierarchical structure of a first file, wherein the directory hierarchical structure comprises the first file and a directory level of the first file; the first file is displayed in a directory hierarchy according to its directory level.
According to a second aspect of the embodiments of the present disclosure, there is provided a file management apparatus. The file management apparatus may include: a receiving unit and a display unit; the receiving unit is used for receiving file selection operation corresponding to an account, and the account corresponds to one or more executed interactive operation; and the display unit is used for displaying the directory corresponding to the operation type of the executed interactive operation and the first file belonging to the directory.
Optionally, the receiving unit is further configured to receive a search instruction including a file identifier; the search instruction is triggered in response to a triggering operation executed on the search control; and the display unit is also used for displaying the second file corresponding to the file identifier.
Optionally, the type of the second file corresponding to the file identifier is multiple, and the display unit is specifically configured to: and displaying the second file corresponding to the file identifier according to the file type of the file.
Optionally, the display unit is specifically configured to: displaying one or more files matched with the file identification; and receiving confirmation operation of a second file in the one or more files, and displaying the directory hierarchical structure of the directory to which the second file belongs.
Optionally, the display unit is specifically configured to: displaying a directory hierarchy of a directory to which the second file belongs; or displaying the path of the second file in the directory to which the second file belongs.
Optionally, the number of operation types of the executed interactive operation is multiple, and the display unit is specifically configured to: displaying a first directory control corresponding to each operation type; the first catalog is displayed when the first catalog control is triggered; receiving a trigger operation aiming at a second directory control in the first directory control; the first file belonging to the second directory is displayed.
Optionally, the display unit is specifically configured to: displaying a file control for characterizing a first file; and displaying the first file in response to the triggering operation executed on the file control.
Optionally, the display unit is specifically configured to: acquiring a directory hierarchical structure of a first file, wherein the directory hierarchical structure comprises the first file and a directory level of the first file; the first file is displayed in a directory hierarchy according to its directory level.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, 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 of the above-described optional file management methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon instructions, which, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned optional file management methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which includes computer instructions that, when run on an electronic device, cause the electronic device to perform the file management method according to any one of the optional implementations of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the disclosure, after receiving a file selection operation corresponding to an account, since the account corresponds to one or more executed interactive operations, the electronic device may display a directory corresponding to an operation type of the executed interactive operations and a first file belonging to the directory. Therefore, when the user selects the file, the file which is subjected to the interactive operation can be quickly positioned, the file selection efficiency is improved to a certain extent, and the user experience is enriched.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a file management method according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram illustrating a terminal interface for file management provided by an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a further file management method provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a terminal interface of another file management system provided by an embodiment of the present disclosure;
FIG. 5a is a flowchart illustrating a further file management method provided by an embodiment of the present disclosure;
FIG. 5b is a flowchart illustrating a further file management method provided by an embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating a further file management method provided by an embodiment of the disclosure;
FIG. 7 is a flowchart illustrating a further file management method provided by an embodiment of the disclosure;
FIG. 8 is a schematic diagram illustrating a terminal interface of another file management system provided by an embodiment of the present disclosure;
FIG. 9 is a flowchart illustrating a further file management method provided by an embodiment of the disclosure;
FIG. 10 is a flowchart illustrating a further file management method provided by an embodiment of the disclosure;
FIG. 11 is a schematic structural diagram of a file management apparatus provided in an embodiment of the present disclosure;
fig. 12 shows a schematic structural diagram of a terminal provided in an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
As described in the background, in the prior art, when a directory location includes a plurality of files, a user often selects a file to be selected by turning pages up and down, by dragging a scroll bar, or by a mouse wheel. The mode brings great inconvenience to file selection operation, so that the file selection efficiency is low and the user experience is poor.
Based on this, the embodiment of the present disclosure provides a file management method, after receiving a file selection operation corresponding to an account, because the account corresponds to one or more executed interactive operations, an electronic device may display a directory corresponding to an operation type of the executed interactive operations and a first file belonging to the directory. Therefore, when the user selects the file, the file which is subjected to the interactive operation can be quickly positioned, the file selection efficiency is improved to a certain extent, and the user experience is enriched.
The following exemplifies a file management method provided by the embodiment of the present disclosure:
the file management method provided by the disclosure can be applied to electronic equipment.
In some embodiments, the electronic device may be a terminal, or may be other electronic devices for file management, which is not limited in this disclosure.
The terminal may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) Virtual Reality (VR) device, and other devices that can be installed and use a content community application (e.g., a fast hand), and the specific form of the electronic device is not particularly limited by the present disclosure. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
The following describes a document management method provided in an embodiment of the present application in detail with reference to the accompanying drawings.
As shown in fig. 1, when the file management method is applied to an electronic device, the file management method may include:
s101, the electronic equipment receives file selection operation corresponding to the account.
Wherein the account corresponds to one or more executed interactive operations.
Within a certain time period before the current time, the user can perform an interactive operation on the file by using the electronic device logged in the account. In this case, the account corresponds to one or more performed interactions.
Illustratively, the interactive operation may be a file add operation, a file browse operation, a file create operation, or the like.
The file adding operation refers to that the electronic equipment logging in the account adds a target file in a certain file path or a certain file at a certain moment before the current moment. For example, the preset current time is 2021, 6/month/2/16: 41: 35. If the electronic device logging in the account adds the target file in the folder 1 in 2021, 6/month 1/day 16:41:35, the account corresponds to a file adding operation which is already executed.
The file browsing operation refers to that the electronic equipment logging in the account browses a certain file at a certain time before the current time. For example, the preset current time is 2021, 6/month/2/16: 41: 35. If the electronic device logging in the account browses the target file in 2021, 6/month 1/day 16:41:35, the account corresponds to a file browsing operation which is executed.
The file creation operation means that the electronic device logging in the account creates a target file in a certain file path at a certain time before the current time. For example, the preset current time is 2021, 6/month/2/16: 41: 35. If the electronic device logging in the account creates the target file in the folder 1 in 2021, 6/month 1/day 16:41:35, the account corresponds to a file creation operation that has already been executed.
Specifically, when a user corresponding to an account logged in to the electronic device performs file processing on the electronic device, a file selection operation may be performed on a file stored in the electronic device. In this case, the electronic device may receive a file selection operation corresponding to the account.
Optionally, the file selecting operation may be an operation of selecting a file, such as a file adding operation, a file compressing operation, and a file deleting operation.
Illustratively, for directory a, it includes: a first level folder (folder a) and a second level folder (folder a and folder b). Wherein, the folder a and the folder b are both positioned in the folder A. Folder a includes file 1, file 2, and file 3.
The preset current time is 2021, 6 months, 2 days, 16:41: 35. If the electronic equipment logging in the account executes the adding operation on the file 1 in 2021, 6/month 1/day 16:41:35, the electronic equipment corresponding to the account executes the adding operation.
S102, the electronic equipment displays a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory.
Specifically, after receiving a file selection operation corresponding to the account, the electronic device displays a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory. Subsequently, if the user wants to select the displayed file, the user can directly perform selection operation on the displayed file, and the file selection efficiency is improved.
In connection with the above example, as shown in fig. 2. After the electronic device receives the file selection operation corresponding to the account, a directory corresponding to the operation type of the executed interactive operation and a file 1 belonging to the directory may be displayed on the file addition page 201.
Subsequently, if the user wants to select the file 1 as the file to be added, the adding operation may be performed on the displayed file 1, and then the triggering operation is performed on the adding control. And the electronic equipment adds the file 1 in response to the triggering operation executed on the adding control.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S101 to S102, after receiving a file selecting operation corresponding to an account, since the account corresponds to one or more executed interactive operations, the electronic device may display a directory corresponding to an operation type of the executed interactive operations and a first file belonging to the directory. Therefore, when the user selects the file, the file which is subjected to the interactive operation can be quickly positioned, the file selection efficiency is improved to a certain extent, and the user experience is enriched.
In one embodiment, as shown in fig. 3, the file management method provided by the present application further includes S301-S302.
S301, the electronic equipment receives a search instruction comprising a file identifier.
The search instruction is triggered in response to a triggering operation executed on the search control.
Specifically, when the file displayed by the electronic device is not the file that the user wants to select, the electronic device may further display a search control. The search control is used for instructing the user to input a file identification so as to retrieve the file required by the user. In this case, the electronic device logging into the account may perform a triggering operation on the search control and input the file identification. Accordingly, the electronic device receives a search instruction that includes a file identification.
Optionally, the file identifier may be a keyword in a file name, or may be a URL link corresponding to the file, where the URL link is a unique identifier of a file actually existing in the file module. This identifier conforms to a specific naming convention and can be detected by the electronic device. After the electronic device identifies the identifier in the search instruction, the electronic device queries the file represented by the identifier, and if the electronic device has the authority, the electronic device automatically selects the file.
S302, the electronic equipment displays a second file corresponding to the file identification.
Specifically, after receiving a search instruction including a file identifier, the electronic device displays a second file corresponding to the file identifier.
Optionally, the electronic device may display the second file corresponding to the file identifier through a pre-stored correspondence between the file identifier and the file, and may also display the second file corresponding to the file identifier in other manners, which is not limited in this disclosure.
Illustratively, as shown in fig. 4 (a), the electronic device may display a search control 501 on the file addition page 201. When the file displayed by the electronic device is not the file that the user wants to select, the user may perform a trigger operation on the search control 501 using the electronic device logged into the account and input a file identifier "1".
Subsequently, referring to fig. 2, as shown in (b) of fig. 4, the electronic device displays a second file corresponding to the file identifier "1". The second file has the same display content as file 1 in fig. 2, and is not described herein again.
The technical scheme provided by the embodiment at least has the following beneficial effects: S401-S402 show that when the displayed file is not the file that the user wants to select, the file to be selected can be displayed in a searching mode, so that the file selecting efficiency is improved, and the user experience is enriched.
In an embodiment, referring to fig. 3, as shown in fig. 5a, the type of the second file corresponding to the file identifier is multiple, and in S302, the method for displaying the second file corresponding to the file identifier by the electronic device at least includes:
s302a1, the electronic device displays a second file corresponding to the file identification according to the file type of the file.
Specifically, the types of the second files corresponding to the file identifiers are multiple, and the electronic device displays the second files corresponding to the file identifiers according to the file types of the files.
Illustratively, as shown in (b) of fig. 4, the electronic device determines that the second file corresponding to the file identification "1" includes a text file, a table file, and a video file. In this case, the electronic device displays the second file corresponding to the file identification according to the file type of the file.
The technical scheme provided by the embodiment at least has the following beneficial effects: as understood from S302a1, when a plurality of second files are searched, the second files can be displayed according to the file types of the files. Therefore, when the files are selected, the files can be screened in a finer granularity mode according to the file types, the file selection efficiency is improved, and the user experience is enriched.
In an embodiment, referring to fig. 3, as shown in fig. 5b, in the above S302, the method for displaying the second file corresponding to the file identifier by the electronic device at least includes:
s302b1, the electronic device displays one or more files matched with the file identification.
Specifically, when the electronic device displays the second file corresponding to the file identifier, one or more files matched with the file identifier may be displayed.
Illustratively, for the file identification "1", the file matching the file identification "1" includes: file 1, file 12, and file 13. In this case, the electronic device may display a plurality of files matching the file identification "1": file 1, file 12, and file 13.
S302b2, the electronic equipment receives the confirmation operation of the second file in the one or more files, and the directory hierarchical structure of the directory to which the second file belongs is displayed.
Specifically, after one or more files matched with the file identifier are displayed, the electronic device receives a confirmation operation of a second file in the one or more files, and displays a directory hierarchical structure of a directory to which the second file belongs.
In connection with the above example, in displaying a plurality of files matching the file identification "1": after the file 1, the file 12 and the file 13, the user performs a confirmation operation on the file 1 by using the electronic device logged in the account. In this case, the electronic device receives a confirmation operation for file 1, and displays the directory hierarchy of the directory to which file 1 belongs.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S302b1-S302b2, when the electronic device displays the second file corresponding to the file identifier, the electronic device may display one or more files matching the file identifier, and after receiving a confirmation operation of the second file in the one or more files, display a directory hierarchy of a directory to which the second file belongs. Therefore, the user can check the specific directory structure of the second file, and can subsequently select other files under the directory structure, so that the file selection efficiency is improved, and the user experience is enriched.
In an embodiment, referring to fig. 3 and as shown in fig. 6, in the above S302, the method for displaying the second file corresponding to the file identifier by the electronic device at least includes:
s601, the electronic equipment displays a directory structure hierarchical structure of a directory to which the second file belongs; or displaying the path of the second file in the directory to which the second file belongs.
Specifically, when the electronic device displays the second file corresponding to the file identifier, if the file identifier is the URL link corresponding to the file, the electronic device may display the directory structure hierarchy of the directory to which the second file belongs, or display the path of the second file in the directory to which the second file belongs.
When the electronic device displays the path of the second file in the directory to which the second file belongs, the electronic device is indicated to be located to the second file (namely, located to the storage position of the second file), and the file selection efficiency is improved.
Optionally, the electronic device displays a directory structure hierarchical structure of a directory to which the second file belongs, or may display a directory entry not including the second file or may not display a directory entry not including the second file when a path of the second file is displayed in the directory to which the second file belongs, which is not limited in this disclosure.
Optionally, the electronic device may display a directory structure hierarchical structure of a directory to which the second file belongs, or when a path of the second file is displayed in the directory to which the second file belongs, if the electronic device does not have an access right, it needs to send a right request for obtaining the right to a manager or a server. Subsequently, after the electronic device has the access right, the electronic device displays the hierarchical structure of the directory to which the second file belongs, or displays the path of the second file in the directory to which the second file belongs. The technical scheme provided by the embodiment at least has the following beneficial effects: as shown in S302c1, when the electronic device displays the second file corresponding to the file identifier, the directory structure hierarchy of the directory to which the second file belongs may be displayed. Therefore, the user can check the specific directory structure of the second file, and can subsequently select other files under the directory structure, so that the file selection efficiency is improved, and the user experience is enriched. Secondly, when the electronic device displays the second file corresponding to the file identifier, the path of the second file can also be displayed in the directory to which the second file belongs. Therefore, the electronic equipment can position the second file in the process of displaying the path of the second file, the file selection efficiency can be improved, and the user experience is enriched.
In an embodiment, referring to fig. 7 in conjunction with fig. 1, in the above S102, the method for displaying the first file belonging to the directory by the electronic device at least includes:
s701, the electronic equipment displays a file control used for representing the first file.
Specifically, when the first file is displayed, the electronic device may further display the first file in a control form.
Illustratively, as shown in fig. 8 (a), the first file is preset to be "most recently added". When the electronic device belongs to the first file of the directory, a file control 801 corresponding to the "most recently added" first file may be displayed on the file addition page 201.
S702, the electronic equipment responds to the trigger operation executed on the file control and displays a first file.
Specifically, after displaying a file control for representing the first file, the electronic device logging in the account may perform a trigger operation on the file control. Correspondingly, the electronic equipment responds to the trigger operation executed on the file control and displays the first file.
In conjunction with fig. 2, as shown in (b) of fig. 8, after the file control 801 corresponding to the "recently added" first file is displayed, the electronic device logging in the account may perform a trigger operation on the file control 801. Accordingly, the electronic device displays the "most recently added" first file in response to a triggering operation performed on file control 301. The display content of the "most recently added" first file is the same as that of file 1 in fig. 2, and is not described herein again.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be appreciated from S701-S702, the electronic device may display a file control for characterizing the first file. Subsequently, the electronic device responds to the triggering operation executed on the file control to display the first file, and a specific implementation mode for displaying the first file is provided. Therefore, when the user selects the first file, the user can execute the trigger operation through the file control to quickly select the first file, so that the file management efficiency is improved to a certain extent, and the user experience is enriched.
In an embodiment, with reference to fig. 1, as shown in fig. 9, the operation types of the executed interactive operation are multiple, and in S102, the method for displaying, by the electronic device, the directory corresponding to the operation type of the executed interactive operation and the first file belonging to the directory at least includes S901-S903.
S901, the electronic equipment displays first directory controls corresponding to the operation types.
And displaying the first directory when the first directory control is triggered.
Specifically, when the number of operation types of the executed interactive operation is multiple, the electronic device may display a first directory control corresponding to each operation type; and displaying the first directory when the first directory control is triggered.
In connection with the above example, the interactive operation may be a file add operation, a file browse operation, a file create operation, and so on. In this case, each interactive operation corresponds to an operation type. The electronic device may display a first directory control corresponding to each operation type. Subsequently, the user can utilize the electronic device logged in the account to execute a trigger operation on any one of the first directory controls. Accordingly, the electronic device displays the first directory when the first directory control is triggered.
S902, the electronic device receives a trigger operation for a second directory control in the first directory control.
Specifically, after the first directory control corresponding to each operation type is displayed, if the user wants to select a file from the second directory, the electronic device logging in the account may be used to execute a trigger operation for the second directory control in the first directory control. Correspondingly, the electronic device receives a trigger operation for a second directory control in the first directory control.
And S903, the electronic equipment displays the first file belonging to the second directory.
Specifically, after receiving a trigger operation for a second directory control in the first directory control, the electronic device displays a first file belonging to the second directory.
In combination with the above example, the displaying, by the electronic device, the first directory control corresponding to each operation type includes: the "recently added" control, the "recently viewed" control, and the "recently created" control. The electronic device may display all files (including the first file) in the directory belonging to the "recently added" control after receiving a trigger operation for the "recently added" control (the second directory control) in the first directory control.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S901-S902, when the number of operation types for which the interactive operation has been performed is multiple, the electronic device may display a first directory control corresponding to each operation type, and display a first directory when the first directory control is triggered. Subsequently, after receiving a trigger operation for a second directory control in the first directory control, the electronic device displays a first file belonging to the second directory. Therefore, when the file is selected, the electronic equipment can display the first file in the directory corresponding to the trigger operation, the file management efficiency is improved, and the user experience is enriched.
In an embodiment, as shown in fig. 10 in conjunction with fig. 1, in S102, the method for displaying the first file belonging to the directory by the electronic device at least includes S1001-S1002.
S1001, the electronic equipment obtains a directory hierarchical structure of the first file.
Wherein the directory hierarchy includes the first file and a level of the first file.
Specifically, the electronic device may obtain a directory hierarchy of the first file when displaying the first file.
Optionally, when the electronic device obtains the directory hierarchical structure of the first file, the directory hierarchical structure of the first file may be obtained through a correspondence between the pre-stored file and the directory hierarchical structure, and the directory hierarchical structure of the first file may also be obtained through other manners, which is not limited in this disclosure.
S1002, the electronic equipment displays the first file in a directory hierarchical structure mode according to the directory level of the first file.
Specifically, after the directory hierarchy of the first file is obtained, the electronic device displays the first file in the form of the directory hierarchy according to the directory level of the first file.
For example, the electronic device displays the first file in a directory hierarchical structure according to the directory level of the first file, which may refer to the display mode of file 1 in fig. 2 and the description about fig. 2, and will not be described again here.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S1001-S1002, when the first file is displayed, the directory hierarchy of the first file may be displayed. Therefore, the user can know the specific directory structure of the selected file and can select other files under the directory structure, the file selection efficiency is improved, and the user experience is enriched.
It is understood that, in practical implementation, the electronic device according to the embodiments of the present disclosure may include one or more hardware structures and/or software modules for implementing the corresponding file management methods, and these hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software for implementing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiment of the present disclosure also provides a file management apparatus, which can be applied to an electronic device. Fig. 11 shows a schematic structural diagram of a file management device provided in an embodiment of the present disclosure. As shown in fig. 11, the file management apparatus may include: a receiving unit 1101 and a display unit 1102;
the receiving unit 1101 is configured to receive a file selection operation corresponding to an account, where the account corresponds to one or more executed interaction operations. For example, in conjunction with fig. 1, the receiving unit 1101 is configured to perform S101.
The display unit 1102 is configured to display a directory corresponding to an operation type of the performed interactive operation and a first file belonging to the directory. For example, in conjunction with fig. 1, the display unit 1102 is configured to perform S102.
Optionally, the receiving unit 1101 is further configured to receive a search instruction including a file identifier; the search instruction is triggered in response to a triggering operation performed on the search control. For example, in conjunction with fig. 3, the receiving unit 1101 is configured to perform S301.
The display unit 1102 is further configured to display a second file corresponding to the file identifier. For example, in conjunction with fig. 3, the display unit 1102 is configured to perform S302.
Optionally, the types of the second files corresponding to the file identifiers are multiple, and the display unit 1102 is specifically configured to:
and respectively displaying the second files corresponding to the file identifications according to the file type of each file. For example, in connection with fig. 5a, the display unit 1102 is configured to perform S302a 1.
Optionally, the display unit 1102 is specifically configured to:
one or more files that match the file identification are displayed. For example, in connection with fig. 5b, the display unit is adapted to perform S302b 1.
And receiving confirmation operation of a second file in the one or more files, and displaying the directory hierarchical structure of the directory to which the second file belongs. For example, in connection with fig. 5b, the display unit is adapted to perform S302b 2.
Optionally, the display unit 1102 is specifically configured to:
displaying a directory hierarchy of a directory to which the second file belongs; or displaying the path of the second file in the directory to which the second file belongs. For example, in conjunction with fig. 6, the display unit is configured to perform S601.
Optionally, the number of operation types of the executed interactive operation is multiple, and the display unit 1102 is specifically configured to:
displaying a first directory corresponding to each operation type; the first catalog is displayed when the first catalog control is triggered; receiving a trigger operation aiming at a second directory control in the first directory control; the first file belonging to the second directory is displayed. For example, in conjunction with fig. 9, the display unit 1102 is configured to execute S901.
Optionally, the display unit 1102 is specifically configured to:
a file control is displayed for characterizing the first file. For example, in conjunction with fig. 7, the display unit 1102 is configured to perform S701.
And displaying the first file in response to the triggering operation executed by the account on the file control. For example, in conjunction with fig. 7, the display unit 1102 is configured to perform S702.
Optionally, the display unit 1102 is specifically configured to:
a directory hierarchy of the first file is obtained, the directory hierarchy including the first file and a directory level of the first file. For example, in conjunction with fig. 10, the display unit 1102 is configured to perform S1001.
The first file is displayed in a directory hierarchy according to its directory level. For example, in conjunction with fig. 10, the display unit 1102 is configured to perform S1002.
The embodiment of the disclosure also provides an electronic device, and the terminal can be a user terminal such as a mobile phone and a computer. Fig. 12 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. The electronic device, which may be a file management apparatus, may include at least one processor 61, a communication bus 62, a memory 63, and at least one communication interface 64.
The processor 61 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure. As an example, in connection with fig. 11, the display unit 1102 in the electronic device implements the same function as that implemented by the processor 61 in fig. 12.
The communication bus 62 may include a path that carries information between the aforementioned components.
The communication interface 64 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as a server, an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc. As an example, in connection with fig. 11, the function realized by the receiving unit 1101 in the electronic apparatus is the same as the function realized by the communication interface 64 in fig. 12.
The memory 63 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit.
The memory 63 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 61. The processor 61 is configured to execute application program code stored in the memory 63 to implement the functions in the disclosed method.
In particular implementations, processor 61 may include one or more CPUs such as CPU0 and CPU1 in fig. 12, for example, as one embodiment.
In particular implementations, an electronic device may include multiple processors, such as processor 61 and processor 65 in FIG. 12, for example, as an example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In particular implementations, the electronic device may also include an input device 66 and an output device 67, as one embodiment. The input device 66 communicates with the output device 67 and may accept 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 sensing device, and the like. The output device 67 is in communication with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of a computer device, enable a computer to perform the file management method provided by the above-described illustrative embodiment. For example, the computer readable storage medium may be a memory 63 comprising instructions executable by a processor 61 of the electronic device to perform the above-described method. Also for example, the computer readable storage medium may be a memory 72 comprising instructions executable by a processor 71 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure also provides a computer program product comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the file management method illustrated in any of the above-mentioned fig. 1-10.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A file management method, comprising:
receiving a file selection operation corresponding to an account, wherein the account corresponds to one or more executed interactive operations;
and displaying a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory.
2. The file management method according to claim 1, further comprising:
receiving a search instruction comprising a file identifier; the search instruction is triggered in response to a triggering operation executed on a search control;
and displaying a second file corresponding to the file identification.
3. The file management method according to claim 2, wherein the type of the second file corresponding to the file identifier is plural, and said displaying the second file corresponding to the file identifier includes:
and displaying the second file corresponding to the file identifier according to the file type of the file.
4. The file management method according to claim 2, wherein said displaying the second file corresponding to the file identification comprises:
displaying one or more files matched with the file identification;
and receiving confirmation operation of a second file in the one or more files, and displaying the directory hierarchical structure of the directory to which the second file belongs.
5. The file management method according to claim 2, wherein said displaying the second file corresponding to the file identification comprises:
displaying a directory hierarchy of a directory to which the second file belongs; or
And displaying the path of the second file in the directory to which the second file belongs.
6. The file management method according to claim 1, wherein if there are a plurality of operation types of the performed interactive operation, said displaying the directory corresponding to the operation type of the performed interactive operation and the first file belonging to the directory comprises:
displaying a first directory control corresponding to each operation type; wherein the first directory control displays a first directory when triggered;
receiving a trigger operation for a second directory control in the first directory control;
and displaying the first file belonging to the second directory.
7. A file management apparatus, characterized by comprising: a receiving unit and a display unit;
the receiving unit is used for receiving file selection operation corresponding to an account, wherein the account corresponds to one or more executed interactive operation;
the display unit is used for displaying a directory corresponding to the operation type of the executed interactive operation and a first file belonging to the directory.
8. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the file management method of any of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the file management method of any of claims 1-6.
10. A computer program product comprising instructions that, when run on an electronic device, cause the electronic device to perform the file management method of any of claims 1-6.
CN202110649714.5A 2021-06-10 2021-06-10 File management method and device, electronic equipment and storage medium Active CN113468109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110649714.5A CN113468109B (en) 2021-06-10 2021-06-10 File management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110649714.5A CN113468109B (en) 2021-06-10 2021-06-10 File management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113468109A true CN113468109A (en) 2021-10-01
CN113468109B CN113468109B (en) 2024-06-11

Family

ID=77869619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110649714.5A Active CN113468109B (en) 2021-06-10 2021-06-10 File management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113468109B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824827A (en) * 2015-01-06 2016-08-03 阿里巴巴集团控股有限公司 File path storage and local file visiting method and apparatus
CN106168966A (en) * 2016-06-30 2016-11-30 维沃移动通信有限公司 A kind of file search method and mobile terminal
CN107977469A (en) * 2017-12-22 2018-05-01 腾讯科技(深圳)有限公司 To the method, apparatus and terminal being managed recently using file
CN109766044A (en) * 2019-01-15 2019-05-17 北京小米移动软件有限公司 Virtual folder management method, device and storage medium
CN110704383A (en) * 2019-09-29 2020-01-17 广州视源电子科技股份有限公司 File processing method, computer storage medium and related equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824827A (en) * 2015-01-06 2016-08-03 阿里巴巴集团控股有限公司 File path storage and local file visiting method and apparatus
CN106168966A (en) * 2016-06-30 2016-11-30 维沃移动通信有限公司 A kind of file search method and mobile terminal
CN107977469A (en) * 2017-12-22 2018-05-01 腾讯科技(深圳)有限公司 To the method, apparatus and terminal being managed recently using file
CN109766044A (en) * 2019-01-15 2019-05-17 北京小米移动软件有限公司 Virtual folder management method, device and storage medium
CN110704383A (en) * 2019-09-29 2020-01-17 广州视源电子科技股份有限公司 File processing method, computer storage medium and related equipment

Also Published As

Publication number Publication date
CN113468109B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
EP3251288B1 (en) Email integration with shared folder based integrated workspaces
US9846699B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
US20190068703A1 (en) Dynamic resource management systems and methods
CN109522751B (en) Access right control method and device, electronic equipment and computer readable medium
CA2850182A1 (en) Techniques for managing and viewing followed content
KR20150062198A (en) System and method for job execution in conjunction with cloud storage
CN115309470B (en) Method, device, equipment and storage medium for loading widget
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
CN105975601A (en) Webpage document online preview method
CN107430609B (en) Generation of new tab pages for browsers for enterprise environments
CN108959294B (en) Method and device for accessing search engine
US11068853B2 (en) Providing calendar utility to capture calendar event
CN110196683B (en) Operation control method, device, terminal equipment and medium
CN111414507A (en) Information display method, equipment, device and computer readable storage medium
CN113468110A (en) File management method and device, electronic equipment and storage medium
CN107977277B (en) Method and device for integrating third-party system in ERP system and computer equipment
CN113468109B (en) File management method and device, electronic equipment and storage medium
US11080238B2 (en) System and method for interactive visual representation of metadata within a networked heterogeneous workflow environment
CN113094367A (en) Data processing method and device and server
CN114238391A (en) Data paging query method and device, electronic equipment and storage medium
CN103812908A (en) Cloud file processing method and system
US20130239027A1 (en) Apparatus and method for generating wiki previews
CN114816203B (en) Shortcut operation method, device, terminal and storage medium suitable for network disk drive letter
US11586771B2 (en) Integrated visualization of multiple app data
RU2715287C1 (en) Method, terminal and server for displaying information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant