CN116774882A - File display method and file display device - Google Patents

File display method and file display device Download PDF

Info

Publication number
CN116774882A
CN116774882A CN202310927213.8A CN202310927213A CN116774882A CN 116774882 A CN116774882 A CN 116774882A CN 202310927213 A CN202310927213 A CN 202310927213A CN 116774882 A CN116774882 A CN 116774882A
Authority
CN
China
Prior art keywords
node
input
interface
file
folder
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.)
Pending
Application number
CN202310927213.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310927213.8A priority Critical patent/CN116774882A/en
Publication of CN116774882A publication Critical patent/CN116774882A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a file display method and a file display device, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input of a user; and responding to the first input, displaying a first interface corresponding to the target folder on a folder list, wherein the first interface comprises at least one node, the at least one node is arranged in a tree hierarchy structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and the hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.

Description

File display method and file display device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a file display method and a file display device.
Background
The current file storage form mainly classifies and organizes files in a layer-by-layer manner in which a parent folder contains child folders and child files. The user wants to find the target file, only clicks and searches one layer by one layer, if the target file is not in the currently viewed folder, if the file path of the currently viewed folder is long, clicking and backspacing one layer by one layer is needed, the whole file searching process is complex in operation and low in efficiency, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a file display method and a file display device, which can solve the problem of complicated file searching operation.
In a first aspect, an embodiment of the present application provides a method for displaying a file, where the method includes:
receiving a first input of a user;
and responding to the first input, displaying a first interface corresponding to the target folder on a folder list, wherein the first interface comprises at least one node, the at least one node is arranged in a tree hierarchy structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and the hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.
In a second aspect, an embodiment of the present application provides a file display device, including:
the first receiving module is used for receiving a first input of a user;
the first display module is used for responding to the first input, displaying a first interface corresponding to a target folder on a folder list, wherein the first interface comprises at least one node, the at least one node is arranged in a tree-shaped hierarchical structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and the hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the first interface corresponding to the target folder can be displayed on the folder list by receiving the first input of the user, the user does not need to open the target folder, the subfolders or files contained in the target folder can be directly checked, the operation times are reduced, the operation on the folder list is not influenced, the efficiency of searching the files by the user is improved, and the file searching process is simplified.
Drawings
FIG. 1 is a schematic flow chart of a document display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of a document display method according to an embodiment of the present application;
FIG. 3 is a second interface diagram of a document display method according to an embodiment of the present application;
FIG. 4 is a third interface diagram of a document display method according to an embodiment of the present application;
FIG. 5 is a diagram showing an interface of a document display method according to an embodiment of the present application;
FIG. 6 is a fifth exemplary interface diagram of a document display method according to an embodiment of the present application;
FIG. 7 is a diagram showing a sixth interface of a document display method according to an embodiment of the present application;
FIG. 8 is a diagram of an interface of a document display method according to an embodiment of the present application;
FIG. 9 is a diagram illustrating an interface of a document display method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a file display device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic hardware diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, 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 may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the related art, the smart phone has become a daily necessity for people, and more application programs can bring convenience for people to work and live, and coverage rate of various scenes of people's life is also increased. However, various files are generated in each application program, and it becomes extremely difficult for a user to find a desired file. In order to search for a stored file, a user can only search layer by layer through a folder, and the searching is rolled back layer by layer when failed, and repeated browsing and searching can be caused by the fact that a previous searching directory is not remembered, so that the whole process is tedious and inefficient. Therefore, it is particularly necessary to quickly browse and find folders and files.
The file display method, the file display device, the electronic device and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The execution main body of the file display method provided by the embodiment of the application can be an electronic device or a functional module or a functional entity in the electronic device capable of realizing the file display method, and the electronic device provided by the embodiment of the application comprises, but is not limited to, a mobile phone, a tablet computer, a camera, a wearable device and the like.
As shown in fig. 1, the file display method includes: step 110 and step 120.
Step 110, receiving a first input of a user;
step 120, in response to the first input, displaying a first interface corresponding to the target folder on the folder list, where the first interface includes at least one node, the at least one node is arranged in a tree hierarchy, the at least one node corresponds to subfolders or files included in the target folder one by one, and a hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.
It will be appreciated that electronic devices typically have file management functionality for organizing, storing, manipulating, protecting, etc. files. For example: the mobile phone can manage files and folders in the mobile phone through a file management application program, or each magnetic disk in a computer stores related files of application software in the form of folders and the like.
When a user opens a file management application, a list of folders may be displayed. The folder list may include several subfolders or files. Since files in the electronic device are stored layer by layer, after any subfolder is opened, a folder list is also displayed if the subfolder also includes at least one lower folder or lower file.
Wherein the folder list may include one or more of folders and files.
It will be appreciated that if only each file is displayed in the folder list, the corresponding file may be directly opened, and no lower-level file or lower-level folder exists.
In this step, a first input is used to select a target folder in the folder list.
Wherein the first input may be at least one of:
first, the first input may be a touch operation including, but not limited to, a click operation, a slide operation, a press operation, and the like.
In this embodiment, the receiving the first input of the user may be receiving a touch operation of the user on a folder list interface of the display screen of the electronic device.
In order to reduce the user's rate of misoperation, the active area of the first input may be defined within a specific area, such as a folder icon area of a folder list interface.
For example: the selection of the target folder is completed by long pressing of the folder icon or pressing of the folder icon to slide right and the like.
As shown in fig. 2, fig. 2 shows a mobile phone file management application interface with a folder list 210 that can be used to select a "cookies" folder as a target folder by pressing a folder icon 220 for a long time.
Second, the first input may be a physical key input.
In this embodiment, the body of the electronic device is provided with an entity key corresponding to selecting a folder or a file, and the first input of the user is received, or the first input of the user pressing the corresponding entity key is received; the first input may also be a combined operation of simultaneously pressing a plurality of physical keys. For example: the folder or file may be selected by a volume up key or a volume down key, and after the selection of the target folder is determined, the selection of the target folder may be indicated by long pressing the volume up key.
Third, the first input may be a voice input.
In this embodiment, the electronic device may trigger to display the first interface corresponding to the target folder when receiving a voice, such as "select target folder cookies".
Of course, in other embodiments, the first input may also be in other forms, including but not limited to character input, etc., which may be specifically determined according to actual needs, which is not limited in the embodiments of the present application.
After receiving the first input, the electronic device may display a first interface corresponding to the target folder in response to the first input.
Wherein the first interface may include at least one node arranged in a tree hierarchy. At least one node may include a number of child nodes and leaf nodes, which may be collectively referred to herein as nodes. At least one node corresponds to subfolders or files included in the target folder one-to-one. The tree hierarchy may also include a root node, the root node corresponding to the target folder.
The hierarchy to which the node corresponds may be determined by the file path of the subfolder or file. Where the file path refers to the storage location of the file, i.e. the mapping between the file name and the physical location of the file.
At least one node is arranged in a layering way, and the target folder is assumed to correspond to the first layer of the tree-shaped hierarchical structure, and the root node corresponding to the target folder is assumed to be the node of the layer 1; the next-level subfolder or next-level file included in the target folder is the second level, and the corresponding node is the layer 2 node; the subfolder or next level file included in the subfolder or file corresponding to the layer 2 node is the third level, the corresponding node is the layer 3 node … …, and so on. Of course, the root node corresponding to the target folder may not have a subordinate node, and the first interface may display blank content or only display one root node.
As shown in fig. 3, the tree hierarchy displayed by the first interface 310 can be seen: the subfolders and files included in the object folder "books" are: subfolders "Book1", subfolder "Book2", subfolder "Book3" and file "Book 1";
the subfolder "Book1" includes a lower subfolder "Book" and a lower subfolder "Book2" and the file "Book2" has no lower subfolder or lower file;
the subfolder "Book2" includes subfolders "Book1" and "Book2", the subfolder "Book1" has a lower folder "Book 4", and the subfolder "Book2" has a lower subfolder "Book"; file "book 4" has no lower subfolder or lower file;
The subfolder "Book3" includes a lower level file of "Book 3"; file "book3" has no lower subfolder or lower file;
file "book1" has no lower subfolder or lower files.
The tree hierarchy structure displayed by the first interface 310 has four levels of nodes, the first level of nodes being object folder "books"; the second level nodes are subfolders "Book1", "Book2" and "Book3", and the file "Book 1"; the third level nodes are subfolders "Book", "Book1" and "Book2", and files "Book 3"; the fourth level of nodes are subfolders "Book", and files "Book2" and "Book 4".
In actual implementation, as shown in fig. 3, the first interface 310 may be displayed on the folder list 210. The display position of the first interface 310 may be near the target folder icon, which is not particularly limited by the present application. The first interface 310 displays an icon 320, and after clicking the icon 320, the first interface 310 may be displayed in a floating manner.
As shown in fig. 4, after clicking the icon 320, the icon 320 is switched to the icon 410, and "cancel hover" indicates that the first interface 310 is displayed in hover on the folder list 210 at this time, and clicking the icon 410 again, the hover display of the first interface 310 may be canceled.
The transparency of the first interface 310 may be preset according to actual requirements, in the present application, the first interface 310 may be adjusted to a semitransparent state, and the semitransparent state interface may ensure that a user may still see the entire folder list, and meanwhile, the first interface 310 may move along with user input, so that it may be ensured that the subsequent operation of the user on the folder list may not be affected under the condition that the first interface 310 is displayed on the file list 310.
It should be noted that, if the target folder includes an excessive number of subfolders or files and the display area of the electronic device is limited, the first interface 310 may only display a portion of the tree hierarchy. Therefore, a sliding bar may be disposed on the first interface 310 to implement up-down sliding and left-right sliding of the tree hierarchy, so that a user may view the complete tree hierarchy.
According to the file display method provided by the embodiment of the application, the first interface corresponding to the target folder can be displayed on the folder list by receiving the first input of the user, the user does not need to open the target folder, the subfolders or files contained in the target folder can be directly checked, the operation times are reduced, the operation on the folder list is not influenced, the efficiency of searching the files by the user is improved, and the file searching process is simplified.
In some embodiments, after displaying the first interface corresponding to the target folder on the folder list, the file displaying method further includes:
receiving a fourth input from the user;
in response to the fourth input, performing a target operation on the first interface, the target operation including at least one of:
closing the first interface, moving the first interface, and zooming the first interface.
In actual implementation, the first interface is displayed in a floating manner on the folder list, and in order to avoid that the first interface affects the operation of the user on the folder list, the corresponding operation can be performed on the first interface through the fourth input.
Wherein the fourth input may be at least one of:
first, the fourth input may be a touch operation including, but not limited to, a click operation, a slide operation, a press operation, and the like.
In this embodiment, the receiving of the fourth input by the user may be receiving a touch operation by the user on the first interface.
In order to reduce the user misoperation rate, the action area of the fourth input can be limited to a specific area, such as the display area of the first interface; or in the state of displaying the first interface, displaying a target control corresponding to the target function on the current interface, and touching the target control to realize fourth input, wherein the target function of the target control can be a closing function, a zooming function or a moving function; or the fourth input is set as a continuous multi-tap operation of the display area of the first interface within the target time interval.
Second, the fourth input may be a voice input.
In this embodiment, the electronic device may trigger the first interface to move down when a voice such as "move down the first interface" is received; or triggering to close the first interface when receiving voice such as closing the first interface; or upon receiving speech, such as "zoom first interface", trigger the first interface to enter a zoomable state.
Of course, in other embodiments, the fourth input may also be in other forms, including but not limited to character input, etc., which may be specifically determined according to actual needs, which is not limited in the embodiments of the present application.
After receiving the fourth input, the electronic device may execute the target operation on the first interface in response to the fourth input, and display the first interface after executing the target operation.
As shown in fig. 5, fig. 5 shows a first interface 310, and after the first interface 310 is selected by long pressing the first interface 310, the first interface 310 may be moved downward by a sliding operation, thereby completing the movement of the first interface 310.
As shown in fig. 3 to 6, fig. 3 to 6 each show a first interface 310, where the first interface 310 includes a target control 330 corresponding to a closing function, and the first interface 310 may be closed by clicking on the target control 330.
As shown in fig. 6, fig. 6 shows that the first interface 310 is displayed, the first interface 310 may be triggered to enter a zoomable state by long-pressing the first interface 310, the target control 610 corresponding to the zoom function is displayed around the first interface 310, and the first interface 310 may be zoomed to a required interface size by dragging the target control 610.
According to the file display method provided by the embodiment of the application, through the fourth input, the target operation is implemented on the first interface, and the operation of a user on the target folder is not influenced, so that the file searching between each file and the subfolder can be quickly carried out.
In some embodiments, after displaying the first interface corresponding to the target folder on the folder list, the file displaying method further includes:
receiving a second input of a user, wherein the second input is used for viewing the first subfolder or the first file;
in response to the second input, a first identification is displayed on the first node, the first node being a node of the at least one node corresponding to the first subfolder or the first file.
In this step, the second input is used to view the first subfolder or the first file. The first sub-file is any sub-folder in all next-level sub-folders included in the target folder, and the first file is any file in all next-level files included in the target folder.
Wherein the second input may be at least one of:
first, the second input may be a touch operation including, but not limited to, a click operation, a slide operation, a press operation, and the like.
In this embodiment, the receiving the second input of the user may be receiving a touch operation of the user on a folder list interface of the display screen of the electronic device.
In order to reduce the user's rate of misoperation, the active area of the second input may be defined within a specific area, such as a folder icon area.
For example: and opening the first subfolder or the first file by double-clicking the folder icon or pressing the folder icon to slide left and the like, namely finishing the viewing of the first subfolder or the first file.
As shown in fig. 5, fig. 5 shows the first interface 310, and since the first interface 310 obstructs the folder icon "cookies" of the target folder in the folder list 210, the first interface 310 displayed in a floating manner may be moved, so that the folder icon "cookies" of the target folder is not obstructed by the first interface 310, and thus the target folder may be opened.
As shown in fig. 7, fig. 7 shows a folder list 710. After opening the target folder "books", double-clicking the subfolders layer by layer, namely clicking the subfolder "Book2" of the target folder "books", clicking the subfolder "Book1" in the folder list of the subfolder "Book2", and then opening the file "Book 4" in the folder list of the subfolder "Book1", thus completing the check of the "Book 4".
Second, the second input may be a physical key input.
In this embodiment, the body of the electronic device is provided with an entity key corresponding to selecting the first folder or the first file, and the receiving of the second input of the user may be that the receiving of the entity key corresponding to the first folder or the first file is pressed by the user; the second input may also be a combined operation of simultaneously pressing multiple physical keys. For example: the first folder or the first file may be opened by pressing the volume up key twice in succession.
Third, the second input may be a voice input.
In this embodiment, the electronic device may trigger to display the document page corresponding to "book 4" when receiving a voice such as "open book 4".
Of course, in other embodiments, the second input may also be in other forms, including but not limited to character input, etc., which may be specifically determined according to actual needs, which is not limited in the embodiments of the present application.
After receiving the second input, the electronic device may display, on the first node, a first identifier in response to the second input, where the first identifier is used to indicate that a first subfolder or a first file corresponding to the first node is in a viewed state.
It can be appreciated that when the user completes viewing a subfolder or file, the corresponding first node in the first interface may be marked with a first identifier, so that the user can know that the subfolder is in a read state or an unread state, and the user is prevented from repeatedly opening the same subfolder or file.
The first mark in the application can be a linear mark, a vertical mark is adopted to represent the read state, a horizontal mark represents that the read state is being checked, and if the first mark is not arranged on a node, the file corresponding to the node is not checked or at least part of the file is not checked.
As shown in fig. 7, fig. 7 shows a first interface 720, where a third level node "Book2" and a second level node "Book3" in the first interface 710 are marked with vertical line marks, indicating a read status or have been viewed; the third level node "Book1" is marked by a cross-bar mark, indicating that it is being viewed, and the remaining nodes are not marked by marks, indicating that it is in an unread state or not viewed.
The first identifier may also be a color identifier. For example: the green nodes represent read status or viewed, the blue nodes represent currently viewed, and the colorless nodes represent unread status or not viewed.
In actual execution, the current node is marked with the first identification indicating "read status" only if all the lower nodes corresponding to the current node are viewed. For example: the lower level nodes of the second level node "Book2" in fig. 7 are the third level node "Book1", the third level node "Book2", the fourth level node "Book" and the fourth level node "Book 4". At this time, only the third level node "Book2" has been viewed, and the other nodes are not being viewed or being viewed, then the second level node "Book2" will not be marked by the first identification indicating "read status".
According to the file display method provided by the embodiment of the application, the first node is identified by using the first identification, so that a user can be timely prompted whether the first subfolder or the first file is checked, the times of repeatedly checking the same file are reduced, and the file searching speed is greatly improved.
In some embodiments, after displaying the first interface corresponding to the target folder on the folder list, the file displaying method further includes:
receiving a third input from the user;
and responding to the third input, displaying a second interface corresponding to the subfolder corresponding to the second node, wherein the second node is a node in at least one node, the second interface comprises the second node and a lower node of the second node, and the second node and the lower node of the second node are arranged in a tree-shaped hierarchical structure.
Wherein the second node is one or more of the at least one node.
In this step, the third input is used to determine the second node in the at least one node, and a second interface corresponding to the second node is displayed.
Wherein the third input may be at least one of:
first, the third input may be a touch operation including, but not limited to, a click operation, a slide operation, a press operation, and the like.
In this embodiment, the receiving the third input of the user may be receiving a touch operation of the user in the first interface display area displayed by the electronic device.
In order to reduce the user misoperation rate, the action area of the third input can be limited to a specific area, such as the display area of the second node of the first interface; or in the state of displaying the first interface, displaying a target control corresponding to the second node on the current interface, and touching the target control to realize third input; or the third input is set as a continuous multi-tap operation of the display area within the target time interval.
Second, the third input may be a physical key input.
In this embodiment, the body of the electronic device is provided with an entity key corresponding to the node, and the third input of the user is received, which may be that the third input of the corresponding entity key is pressed by the user is received; the third input may also be a combined operation of simultaneously pressing multiple physical keys.
Third, the third input may be a voice input.
In this embodiment, the terminal may trigger the display of the second interface upon receiving a voice, such as "generate second node subtree".
Of course, in other embodiments, the third input may also be in other forms, including but not limited to character input, etc., which may be specifically determined according to actual needs, and the embodiment of the present application is not limited thereto.
After receiving the third input, the electronic device may display a second interface corresponding to the second node in response to the third input. The second interface includes at least one node arranged in a tree hierarchy. The tree hierarchy may include a root node corresponding to a subfolder corresponding to the second node.
The hierarchy to which the node corresponds may be determined by the file path of the subfolder or file. Where the file path refers to the storage location of the file, i.e. the mapping between the file name and the physical location of the file.
The second node and the lower nodes of the second node are also hierarchically arranged by adopting a tree hierarchy structure. Assuming that the subfolder corresponding to the second node is the first layer, the second node may be a layer 1 node, a next-level subfolder or a next-level file included in the subfolder corresponding to the second node is the second layer, a node corresponding to the second node is a layer 2 node, a next-level subfolder or a next-level file included in the subfolder or the file corresponding to the layer 2 node is a third layer, a node corresponding to the third node is a layer 3 node … …, and so on. Of course, the second node may not have a subordinate node, and the second interface is blank or only has one second node.
It may be understood that the content in the second interface may be at least part of the content in the first interface, where at least part of the content is the second node and a subordinate node included in the second node.
In actual implementation, the third input may be performed on any node in the first interface, so as to obtain a second interface formed by the subtree structure corresponding to the node.
As shown in fig. 8, the first interface 310 includes more nodes of the tree hierarchy structure, and the first interface 310 cannot show the whole tree hierarchy structure, which is inconvenient for the user to find. For example: a second node "Book2" in the first interface 310 may be pressed for a long time, at which time the second node "Book2" may be dragged outside the first interface 310, resulting in a second interface 910 as shown in fig. 9. The second interface 910 uses the selected node as a root node, and the node lower than the root node is a child node. The removed second node "Book2" becomes the dotted line state, and the lower node of the second node "Book2" is displayed in the second interface 910, indicating that the second node "Book2" and the lower node of the second node "Book2" are displayed.
According to the file display method provided by the embodiment of the application, the user can conveniently search the file more focused by displaying the second interface corresponding to the second node, and the file search efficiency is improved.
In some embodiments, after displaying the first interface corresponding to the target folder on the folder list, the file displaying method further includes:
receiving a fifth input of the user;
in response to the fifth input, a lower node displaying a third node, which is a node of the at least one node, is canceled.
Wherein the third node is one or more of the at least one node.
In this step, the fifth input is used to determine the third node among the at least one node, and cancel the lower node displaying the third node.
Wherein the fifth input may be at least one of:
first, the fifth input may be a touch operation, including but not limited to a click operation, a slide operation, a press operation, and the like.
In this embodiment, the receiving of the fifth input by the user may be receiving a touch operation by the user in the first interface display area displayed by the electronic device.
In order to reduce the user misoperation rate, the action area of the fifth input can be limited to a specific area, such as the display area of the third node of the first interface; or in the state of displaying the first interface, displaying a target control corresponding to the third node on the current interface, and touching the target control to realize fifth input; or the fifth input is set as a continuous multi-tap operation of the display area within the target time interval.
Second, the fifth input may be a physical key input.
In this embodiment, the body of the electronic device is provided with an entity key corresponding to the node, and the fifth input of the user is received, which may be that the fifth input of the corresponding entity key is received by the user; the fifth input may also be a combined operation of simultaneously pressing a plurality of physical keys.
Third, the fifth input may be a voice input.
In this embodiment, the terminal may trigger the display to cancel the display of the lower node of the third node when receiving a voice such as "stow the third node".
Of course, in other embodiments, the fifth input may also be in other forms, including but not limited to character input, etc., which may be specifically determined according to actual needs, and the embodiment of the present application is not limited thereto.
The electronic device may cancel displaying the lower node of the third node in response to the fifth input after receiving the fifth input.
It will be appreciated that after the display of the lower node of the third node is canceled, a fifth input to the third node may be received again, and in response to the fifth input, the lower node of the third node may be redisplayed. In actual implementation, the lower node of any node may be collapsed or expanded, which is not specifically limited herein.
According to the file display method provided by the embodiment of the application, whether the lower node of the third node is canceled to be displayed can be determined according to the user requirement, so that the lower node which is not required to be displayed by the user can be canceled to be displayed, and the use requirement of the user on the first interface can be met.
In the process of searching the file, the file folder does not need to be opened layer by layer and the file folder does not need to be browsed and searched layer by layer, and the browsing and searching are not repeated due to memory errors. The method has the advantages that only the target folder is selected, the file tree corresponding to the target folder is generated, and the operations of suspending the file tree, generating subtrees, dragging positions, scaling, sliding the file tree, expanding and retracting child nodes and the like are performed, so that browsing and searching can be performed among all files and folders, the browsed files or the folder nodes can be automatically marked by the file tree, the searching and browsing speed is greatly improved, meanwhile, the user operation is simplified, and the user experience is improved.
According to the file display method provided by the embodiment of the application, the execution main body can be a file display device. In the embodiment of the application, a method for executing file display by a file display device is taken as an example, and the file display device provided by the embodiment of the application is described.
As shown in fig. 10, the document display apparatus includes:
a first receiving module 1010 for receiving a first input of a user;
and the first display module 1020 is configured to respond to the first input, and display a first interface corresponding to a target folder on a folder list, where the first interface includes at least one node, the at least one node is arranged in a tree hierarchy structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and a hierarchy corresponding to the node is determined based on a file path of the subfolders or a file path of the file.
According to the file display device provided by the embodiment of the application, the first interface corresponding to the target folder can be displayed on the folder list by receiving the first input of the user, the user does not need to open the target folder, the subfolders or files contained in the target folder can be directly checked, the operation times are reduced, the operation on the folder list is not influenced, the efficiency of searching the files by the user is improved, and the file searching process is simplified.
In some embodiments, the apparatus further comprises:
the second receiving module is used for receiving a second input of a user after the first interface corresponding to the target folder is displayed on the folder list, wherein the second input is used for viewing the first subfolder or the first file;
And the second display module is used for responding to the second input and displaying a first identifier on a first node, wherein the first node is a node corresponding to the first subfolder or the first file in the at least one node.
In some embodiments, the apparatus further comprises:
the third receiving module is used for receiving a third input of the user after the first interface corresponding to the target folder is displayed on the folder list;
the third display module is configured to respond to the third input, and display a second interface corresponding to a subfolder corresponding to a second node, where the second node is a node in the at least one node, the second interface includes the second node and a node below the second node, and the second node and the node below the second node are arranged in a tree hierarchy structure.
In some embodiments, the apparatus further comprises:
the fourth receiving module is used for receiving a fourth input of a user after the first interface corresponding to the target folder is displayed on the folder list;
a processing module for performing a target operation on the first interface in response to the fourth input, the target operation comprising at least one of:
Closing the first interface, moving the first interface, and zooming the first interface.
In some embodiments, the apparatus further comprises:
a fifth receiving module, configured to receive a fifth input from a user after the first interface corresponding to the target folder is displayed on the folder list;
and the fourth display module is used for responding to the fifth input and canceling to display the lower node of a third node, wherein the third node is a node in the at least one node.
The document display apparatus in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The file display device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The file display device provided by the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 9, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 11, the embodiment of the present application further provides an electronic device 1100, including a processor 1101 and a memory 1102, where the memory 1102 stores a program or an instruction that can be executed on the processor 1101, and the program or the instruction implements each step of the above embodiment of the file display method when executed by the processor 1101, and the steps achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1210 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 1207 is configured to receive a first input of a user;
and the processor 1210 is configured to display, in response to the first input, a first interface corresponding to a target folder on a folder list, where the first interface includes at least one node, the at least one node is arranged in a tree hierarchy, the at least one node corresponds to subfolders or files included in the target folder one by one, and a hierarchy corresponding to the node is determined based on a file path of the subfolders or a file path of the files.
According to the electronic equipment provided by the embodiment of the application, the first interface corresponding to the target folder can be displayed on the folder list by receiving the first input of the user, the user does not need to open the target folder, the subfolders or files contained in the target folder can be directly checked, the operation times are reduced, the operation on the folder list is not influenced, the efficiency of searching the files by the user is improved, and the file searching process is simplified.
Optionally, the user input unit 1207 is further configured to receive a second input of the user after the first interface corresponding to the target folder is displayed on the folder list, where the second input is used to view the first subfolder or the first file;
the processor 1207 is further configured to display a first identifier on a first node in response to the second input, where the first node is a node corresponding to the first subfolder or the first file in the at least one node.
Optionally, the user input unit 1207 is further configured to receive a third input from the user after the first interface corresponding to the target folder is displayed on the folder list;
the processor 1207 is further configured to display, in response to the third input, a second interface corresponding to a subfolder corresponding to a second node, where the second node is a node in the at least one node, the second interface includes the second node and a node subordinate to the second node, and the second node and the node subordinate to the second node are arranged in a tree hierarchy structure.
Optionally, the user input unit 1207 is further configured to receive a fourth input from the user after the first interface corresponding to the target folder is displayed on the folder list;
Processor 1207 is further configured to perform a target operation on the first interface in response to the fourth input, where the target operation includes at least one of:
closing the first interface, moving the first interface, and zooming the first interface.
Optionally, the user input unit 1207 is further configured to receive a fifth input from the user after the first interface corresponding to the target folder is displayed on the folder list;
the processor 1207 is further configured to cancel displaying a lower node of a third node in response to the fifth input, where the third node is a node in the at least one node.
It should be appreciated that in embodiments of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, the graphics processor 12041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts, a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1209 may include volatile memory or nonvolatile memory, or the memory 1209 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 1209 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the file display method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the file display method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described embodiments of the file display method, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. A document display method, comprising:
receiving a first input of a user;
and responding to the first input, displaying a first interface corresponding to the target folder on a folder list, wherein the first interface comprises at least one node, the at least one node is arranged in a tree hierarchy structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and the hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.
2. The method for displaying files according to claim 1, wherein after displaying the first interface corresponding to the target folder on the folder list, the method further comprises:
receiving a second input of a user, wherein the second input is used for viewing a first subfolder or a first file;
and in response to the second input, displaying a first identifier on a first node, wherein the first node is a node corresponding to the first subfolder or the first file in the at least one node.
3. The method for displaying files according to claim 1, wherein after displaying the first interface corresponding to the target folder on the folder list, the method further comprises:
Receiving a third input from the user;
and responding to the third input, displaying a second interface corresponding to a subfolder corresponding to a second node, wherein the second node is a node in the at least one node, the second interface comprises the second node and a lower node of the second node, and the second node and the lower node of the second node are arranged in a tree-shaped hierarchical structure.
4. The method for displaying files according to claim 1, wherein after displaying the first interface corresponding to the target folder on the folder list, the method further comprises:
receiving a fourth input from the user;
in response to the fourth input, performing a target operation on the first interface, the target operation including at least one of:
closing the first interface, moving the first interface, and zooming the first interface.
5. The method for displaying files according to claim 1, wherein after displaying the first interface corresponding to the target folder on the folder list, the method further comprises:
receiving a fifth input of the user;
in response to the fifth input, a lower node of a third node is canceled from being displayed, the third node being a node of the at least one node.
6. A document display apparatus, comprising:
the first receiving module is used for receiving a first input of a user;
the first display module is used for responding to the first input, displaying a first interface corresponding to a target folder on a folder list, wherein the first interface comprises at least one node, the at least one node is arranged in a tree-shaped hierarchical structure, the at least one node corresponds to subfolders or files included in the target folder one by one, and the hierarchy corresponding to the node is determined based on file paths of the subfolders or file paths of the files.
7. The document display apparatus according to claim 6, wherein the apparatus further comprises:
the second receiving module is used for receiving a second input of a user after the first interface corresponding to the target folder is displayed on the folder list, wherein the second input is used for viewing the first subfolder or the first file;
and the second display module is used for responding to the second input and displaying a first identifier on a first node, wherein the first node is a node corresponding to the first subfolder or the first file in the at least one node.
8. The document display apparatus according to claim 6, wherein the apparatus further comprises:
the third receiving module is used for receiving a third input of the user after the first interface corresponding to the target folder is displayed on the folder list;
the third display module is configured to respond to the third input, and display a second interface corresponding to a subfolder corresponding to a second node, where the second node is a node in the at least one node, the second interface includes the second node and a node below the second node, and the second node and the node below the second node are arranged in a tree hierarchy structure.
9. The document display apparatus according to claim 6, wherein the apparatus further comprises:
the fourth receiving module is used for receiving a fourth input of a user after the first interface corresponding to the target folder is displayed on the folder list;
a processing module for performing a target operation on the first interface in response to the fourth input, the target operation comprising at least one of:
closing the first interface, moving the first interface, and zooming the first interface.
10. The document display apparatus according to claim 6, wherein the apparatus further comprises:
a fifth receiving module, configured to receive a fifth input from a user after the first interface corresponding to the target folder is displayed on the folder list;
and the fourth display module is used for responding to the fifth input and canceling to display the lower node of a third node, wherein the third node is a node in the at least one node.
CN202310927213.8A 2023-07-26 2023-07-26 File display method and file display device Pending CN116774882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310927213.8A CN116774882A (en) 2023-07-26 2023-07-26 File display method and file display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310927213.8A CN116774882A (en) 2023-07-26 2023-07-26 File display method and file display device

Publications (1)

Publication Number Publication Date
CN116774882A true CN116774882A (en) 2023-09-19

Family

ID=87986024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310927213.8A Pending CN116774882A (en) 2023-07-26 2023-07-26 File display method and file display device

Country Status (1)

Country Link
CN (1) CN116774882A (en)

Similar Documents

Publication Publication Date Title
US10175855B2 (en) Interaction in orbit visualization
US20150215245A1 (en) User interface for graphical representation of and interaction with electronic messages
EP1725927A2 (en) Method of real-time incremental zooming
US11625160B2 (en) Content navigation method and user interface
US20070045961A1 (en) Method and system providing for navigation of a multi-resource user interface
US9529509B1 (en) Item selection
CN106033301B (en) Application program desktop management method and touch screen terminal
CN114518822A (en) Application icon management method and device and electronic equipment
CN112558851B (en) Object processing method, device, equipment and readable storage medium
CN113805752A (en) Object moving method and electronic equipment
CN116774882A (en) File display method and file display device
CN115167721A (en) Display method and device of functional interface
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN112734882B (en) Image processing method and device
CN116662592A (en) Display method and device
CN114356170A (en) Page display method and device, electronic equipment and medium
CN117193919A (en) Display method, display device, electronic equipment and readable storage medium
CN114416268A (en) Information management method, information management device, electronic device, and medium
CN116245615A (en) Searching method and device and electronic equipment
CN114327730A (en) Image display method and electronic device
CN114518823A (en) Icon management method and device
CN117312595A (en) Picture display method and device
CN115146189A (en) Content sharing method and device and electronic equipment
CN115904095A (en) Information input method and device, electronic equipment and readable storage medium
CN117555464A (en) Image display method, terminal and electronic equipment

Legal Events

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