[go: up one dir, main page]

CN107895001A - File display method, operation method, display system, storage medium and device - Google Patents

File display method, operation method, display system, storage medium and device Download PDF

Info

Publication number
CN107895001A
CN107895001A CN201711035895.2A CN201711035895A CN107895001A CN 107895001 A CN107895001 A CN 107895001A CN 201711035895 A CN201711035895 A CN 201711035895A CN 107895001 A CN107895001 A CN 107895001A
Authority
CN
China
Prior art keywords
file
subfolder
interface
files
display
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
CN201711035895.2A
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201711035895.2A priority Critical patent/CN107895001A/en
Publication of CN107895001A publication Critical patent/CN107895001A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及一种显示方法、操作方法、显示系统、存储介质和设备。其中,文件显示方法,包括以下步骤:获取子文件夹数据以及子文件夹内的文件数据;根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。上述文件显示方法、操作方法、显示系统、存储介质和设备,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间。

The invention relates to a display method, an operation method, a display system, a storage medium and a device. Wherein, the file display method includes the following steps: obtaining subfolder data and file data in the subfolder; displaying the subfolder on the subfolder interface pre-divided by the folder interface according to the subfolder data; According to the file data, corresponding files in the subfolder are displayed on the file display area pre-divided by the subfolder interface. The above file display method, operation method, display system, storage medium and equipment realize the management of file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface.

Description

文件显示方法、操作方法、显示系统、存储介质和设备File display method, operation method, display system, storage medium and device

技术领域technical field

本发明涉及文件管理技术领域,特别是涉及一种文件显示方法、操作方法、显示系统、存储介质和设备。The invention relates to the technical field of file management, in particular to a file display method, an operation method, a display system, a storage medium and a device.

背景技术Background technique

传统的资源管理显示界面中,文件夹中可以同时包括多个文件和多个子文件夹,不同的文件和子文件夹可以进行不同的命名。In the traditional resource management display interface, a folder can include multiple files and multiple subfolders at the same time, and different files and subfolders can be named differently.

当文件较多时,通常需要用不同命名的文件夹来进行显示管理。在传统的文件显示管理方法中,资源管理显示界面的文件夹内呈现的文件夹和文件是以同样的方式排列。当我们需要打开文件夹,显示文件夹中的文件时,必须点击文件夹,才能看到文件夹中文件。如果还需要再打开其他文件夹,显示其他文件夹中的文件,就需要返回上级目录再打开另一个文件夹。在实现本发明过程中,发明人发现现有技术中的显示文件的方法至少存在操作过程比较繁琐的问题。When there are many files, it is usually necessary to use differently named folders for display management. In the traditional file display management method, the folders and files presented in the folders on the resource management display interface are arranged in the same manner. When we need to open a folder and display the files in the folder, we must click the folder to see the files in the folder. If you need to open other folders to display the files in other folders, you need to return to the parent directory and open another folder. During the process of implementing the present invention, the inventors found that the method for displaying files in the prior art at least has the problem of relatively cumbersome operation process.

发明内容Contents of the invention

基于此,有必要针对操作过程比较繁琐的问题,提供一种文件显示方法、操作方法、显示系统、存储介质和设备。Based on this, it is necessary to provide a file display method, an operation method, a display system, a storage medium and a device for the problem that the operation process is cumbersome.

其中,本发明实施例提供了一种文件显示方法,包括以下步骤:Wherein, the embodiment of the present invention provides a method for displaying files, including the following steps:

获取子文件夹数据以及子文件夹内的文件数据;Obtain subfolder data and file data in subfolders;

根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;displaying subfolders on the subfolder interface pre-divided by the folder interface according to the subfolder data;

根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。According to the file data, corresponding files in the subfolder are displayed on the file display area pre-divided by the subfolder interface.

在一个实施例中的文件显示方法,根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件,具体包括以下步骤:In the file display method in one embodiment, according to the file data, displaying the corresponding files in the subfolder in the file display area pre-divided by the subfolder interface specifically includes the following steps:

根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件,所述文件图标中包括文件标识,所述文件标识用于区分不同的文件。According to the file data, on the file display area pre-divided by the subfolder interface, the corresponding file in the subfolder is displayed in the form of a file icon, and the file icon includes a file identifier, and the file identifier is used for different files.

在另一个实施例中的文件显示方法,所述文件数据中还包括名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项;In the file display method in another embodiment, the file data further includes any one of name information, size information, item type information, and modification date information;

根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件,具体包括以下步骤:According to the file data, on the file display area pre-divided by the subfolder interface, the corresponding file in the subfolder is displayed in the form of a file icon, which specifically includes the following steps:

根据所述名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项对所述文件进行排序;sorting the files according to any one of the name information, size information, item type information and modification date information;

根据文件的排序以及子文件夹界面大小,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内预设数量的文件。According to the sorting of the files and the size of the subfolder interface, a preset number of files in the subfolder are displayed in the form of file icons on the file display area pre-divided by the subfolder interface.

可选地,在一个具体的实施例中的文件显示方法,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内预设数量的文件,具体包括以下步骤:Optionally, the file display method in a specific embodiment, in the file display area pre-divided by the subfolder interface, displays a preset number of files in the subfolder in the form of file icons, specifically including the following steps:

当所述预设数量大于或等于所述文件的总数量时,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内各个文件。When the preset number is greater than or equal to the total number of files, each file in the subfolder is displayed in the form of a file icon on the file display area pre-divided by the subfolder interface.

在一个具体的实施例中的文件显示方法,还包括以下步骤:The file display method in a specific embodiment also includes the following steps:

当所述预设数量小于所述文件的总数量时,以文件图标的方式显示预设数量的所述文件,并在所述子文件夹界面中显示标示符。When the preset number is less than the total number of files, display the preset number of files in the form of file icons, and display an indicator in the subfolder interface.

举例来说,在一个具体的实施例中的文件显示方法,还包括以下步骤:For example, the file display method in a specific embodiment also includes the following steps:

当所述预设数量小于所述文件的总数量时,若检测到对所述文件的显示指令,则通过放大所述子文件夹界面来增加所述文件图标的显示数量。When the preset number is less than the total number of files, if a display instruction for the files is detected, the displayed number of the file icons is increased by enlarging the subfolder interface.

一方面,本发明实施例提供了一种文件显示方法,还包括以下步骤:On the one hand, the embodiment of the present invention provides a method for displaying files, which further includes the following steps:

若检测到子文件夹的选定操作,则在显示面板上新建一个子文件夹显示界面;If the selected operation of the subfolder is detected, a new subfolder display interface will be created on the display panel;

在新建的子文件夹界面中的文件显示区域上,以文件图标的方式显示所述子文件夹中的各个文件。On the file display area in the newly created subfolder interface, each file in the subfolder is displayed in the form of a file icon.

另一方面,本发明实施例提供了一种文件操作方法,基于所述的文件显示方法,还包括以下步骤:On the other hand, an embodiment of the present invention provides a file operation method, based on the file display method, further comprising the following steps:

当检测到对文件的操作指令时,根据所述操作指令对文件执行对应的操作。When an operation instruction on the file is detected, a corresponding operation is performed on the file according to the operation instruction.

再一方面,本发明实施例还提供了一种文件显示系统,包括:In yet another aspect, an embodiment of the present invention also provides a file display system, including:

获取模块,用于获取子文件夹数据以及子文件夹内的文件数据;The obtaining module is used to obtain subfolder data and file data in the subfolder;

第一显示模块,用于根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;The first display module is used to display subfolders on the subfolder interface pre-divided by the folder interface according to the subfolder data;

第二显示模块,用于根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。The second display module is configured to display corresponding files in the subfolder on the file display area pre-divided by the subfolder interface according to the file data.

进一步地,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现所述的文件显示方法。Further, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned file display method is implemented.

更进一步地,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的文件显示方法。Furthermore, an embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the described program when executing the program. File display method.

上述文件显示方法、操作方法、显示系统、存储介质和设备,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间。The above-mentioned file display method, operation method, display system, storage medium and device, by obtaining the subfolder data and the file data in the subfolder, display the subfolder on the subfolder interface pre-divided by the folder interface, in The file display area pre-divided by the subfolder interface displays the corresponding files in the subfolder, realizing the management of file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface.

附图说明Description of drawings

图1为本发明一个实施例的文件显示方法步骤示意图;FIG. 1 is a schematic diagram of the steps of a file display method according to an embodiment of the present invention;

图2为本发明一个实施例的传统的文件夹界面示意图;Fig. 2 is a traditional folder interface schematic diagram of an embodiment of the present invention;

图3为本发明一个实施例的列表结构与树形结构的数据结构示意图;Fig. 3 is the data structure diagram of list structure and tree structure of an embodiment of the present invention;

图4为本发明第一实施例的文件夹界面示意图;FIG. 4 is a schematic diagram of a folder interface in the first embodiment of the present invention;

图5为本发明一个实施例的子文件夹展开示意图;Fig. 5 is a schematic diagram of expanded subfolders according to an embodiment of the present invention;

图6为本发明一个实施例的文件夹界面的列表结构与平铺结构示意图;6 is a schematic diagram of a list structure and a tiled structure of a folder interface according to an embodiment of the present invention;

图7为本发明第二实施例的文件夹界面示意图;Fig. 7 is a schematic diagram of the folder interface of the second embodiment of the present invention;

图8为本发明第三实施例的文件夹界面示意图;FIG. 8 is a schematic diagram of a folder interface according to a third embodiment of the present invention;

图9为本发明第四实施例的文件夹界面示意图;FIG. 9 is a schematic diagram of a folder interface of the fourth embodiment of the present invention;

图10为本发明第五实施例的文件夹界面示意图;Fig. 10 is a schematic diagram of the folder interface of the fifth embodiment of the present invention;

图11为本发明一个实施例的文件显示系统结构示意图。FIG. 11 is a schematic structural diagram of a file display system according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例所提供的文件显示方法可以应用于存储在云端的在线文件的界面显示管理,也可以应用于存储在计算机硬盘或移动硬盘上的本地文件的界面显示管理。在传统方案中,子文件夹在文件夹的显示界面上通常是显示子文件夹的标识,如子文件夹的名称,而本发明的实施例基于树形数据结构基础,文件夹上不只单纯地显示子文件夹的标识,还可以将子文件夹内的文件以列表或平铺的形式呈现出来。本发明的实施例主要以在线文件为例对本发明的文件显示方法进行阐述,需要注意的是,具体的实施例所阐述的技术特征及其有益效果均适用于本地文件的实施例中。The file display method provided by the embodiment of the present invention can be applied to the interface display management of online files stored in the cloud, and can also be applied to the interface display management of local files stored on a computer hard disk or a mobile hard disk. In the traditional solution, the subfolder usually displays the subfolder's identification on the folder's display interface, such as the name of the subfolder, but the embodiment of the present invention is based on the tree data structure, and the folder is not only simply Display the logo of the subfolder, and present the files in the subfolder in the form of list or tile. The embodiments of the present invention mainly use online files as an example to illustrate the file display method of the present invention. It should be noted that the technical features and beneficial effects described in the specific embodiments are applicable to the embodiments of local files.

下面结合图1阐述本发明的文件显示方法的实施例。The following describes an embodiment of the file display method of the present invention with reference to FIG. 1 .

图1为本发明一个实施例的文件显示方法步骤示意图,包括以下步骤:Fig. 1 is a schematic diagram of steps of a file display method according to an embodiment of the present invention, including the following steps:

S101,获取子文件夹数据以及子文件夹内的文件数据;S101, acquiring subfolder data and file data in the subfolder;

具体地,越来越多的用户将文件存储在云端,传统的云端资源管理界面中,通常分为文件和文件夹。当云端文件较多时,通常需要用文件夹来进行管理,如图2所示,是传统的文件夹下的显示方案,在图2所示的实施例中,文件夹下包括第一子文件夹、第二子文件夹、第一文件和第二文件。可以看出,传统的文件夹的显示方案中,文件夹的显示界面中同时包含子文件夹的控件和文件的控件,即文件夹显示界面中的子文件夹与文件通常是放在同一个一览表(list)中,没有有效利用子文件夹的内容信息,即子文件夹与文件的数据结构是列表结构,虽然获取到了文件夹界面内的子文件夹数据和文件夹界面内的文件数据,但无法获取到子文件夹内的文件数据。例如,在图2所示的实施例中,第一子文件夹内的文件数据和第二子文件夹内的文件数据均无法直接查看。而在本发明的实施例中,文件夹显示界面中子文件夹与文件的数据结构是树形结构,获取到了文件夹界面内的子文件夹数据的同时也获取了子文件夹内对应的文件数据。Specifically, more and more users store files in the cloud, and traditional cloud resource management interfaces are usually divided into files and folders. When there are many files in the cloud, it is usually necessary to use folders for management. As shown in Figure 2, it is a traditional display scheme under folders. In the embodiment shown in Figure 2, the folder includes the first subfolder , the second subfolder, the first file, and the second file. It can be seen that in the traditional folder display scheme, the folder display interface contains both subfolder controls and file controls, that is, subfolders and files in the folder display interface are usually placed in the same list In (list), the content information of subfolders is not effectively used, that is, the data structure of subfolders and files is a list structure, although the subfolder data in the folder interface and the file data in the folder interface are obtained, but Unable to get file data in subfolder. For example, in the embodiment shown in FIG. 2 , neither the file data in the first subfolder nor the file data in the second subfolder can be directly viewed. However, in the embodiment of the present invention, the data structure of subfolders and files in the folder display interface is a tree structure, and the corresponding files in the subfolders are also obtained while obtaining the subfolder data in the folder interface. data.

下面,结合图3和具体的实施例来阐述本发明的文件显示方法的数据结构与传统的文件显示方法的数据结构的区别。在一个实施例中,有这样的一个文件夹A,其中有子文件夹a、子文件夹b,文件A1,文件A2,子文件夹a中包含文件a1、文件a2,子文件夹b中包含文件b1、文件b2。传统的获取A文件夹的内容的方案中,得到的数据是如图3左侧所示的列表结构,并不能识别子文件夹a和子文件夹b中的内容。而本发明的实施例中,获取文件夹A的内容,得到的数据是如图3右侧所示的树形结构,能够识别子文件夹a和子文件夹b中的内容。基于树形结构,本方案可以在显示文件夹A的时候,将子文件夹a和子文件夹b中的内容显示出来。Next, the difference between the data structure of the file display method of the present invention and the data structure of the traditional file display method will be described with reference to FIG. 3 and specific embodiments. In one embodiment, there is such a folder A, which contains subfolder a, subfolder b, file A1, file A2, subfolder a contains file a1, file a2, and subfolder b contains File b1, file b2. In the traditional scheme of obtaining the content of folder A, the obtained data is a list structure as shown on the left side of FIG. 3 , and the content in subfolder a and subfolder b cannot be identified. However, in the embodiment of the present invention, the content of folder A is acquired, and the obtained data is a tree structure as shown on the right side of FIG. 3 , which can identify the content in subfolder a and subfolder b. Based on the tree structure, this solution can display the contents of subfolder a and subfolder b when folder A is displayed.

S102,根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;S102. According to the subfolder data, display the subfolders on the subfolder interface pre-divided by the folder interface;

如图2所示,传统方案中,列表排列的文件夹界面中,子文件夹和文件采用不同的模板,其各自占一定的几何区域,在一个实施例中,本方案与传统方案一样,在显示文件内容的时候,子文件夹和文件依然有各自的模板,可以将文件夹界面预先划分成多个子文件夹界面,可以根据获取到的子文件夹数据在每一个子文件夹界面上显示一个子文件夹。另外,文件夹界面中不仅可以包括子文件夹界面,也可以包括文件显示区域,即文件夹界面上既可以显示子文件夹控件,也可以显示文件控件。As shown in Figure 2, in the traditional solution, in the list-arranged folder interface, subfolders and files use different templates, which each occupy a certain geometric area. In one embodiment, this solution is the same as the traditional solution. When displaying file content, subfolders and files still have their own templates. The folder interface can be divided into multiple subfolder interfaces in advance, and a subfolder interface can be displayed on each subfolder interface according to the obtained subfolder data. subfolder. In addition, the folder interface can include not only a subfolder interface, but also a file display area, that is, both subfolder controls and file controls can be displayed on the folder interface.

S103,根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。S103. According to the file data, display corresponding files in the subfolder on the file display area pre-divided by the subfolder interface.

举例来说,在一个实施例中,可以将每个子文件夹界面预先划分成多个文件显示区域,在每个文件显示区域上可以显示一个子文件夹内对应的文件。For example, in one embodiment, each subfolder interface can be pre-divided into multiple file display areas, and corresponding files in a subfolder can be displayed on each file display area.

例如,如图4所示,可以将文件夹界面预先划分成两个子文件夹界面和两个文件显示区域,其中,一个子文件夹界面用于显示第一子文件夹,另一个子文件夹界面用于显示第二子文件夹,一个文件显示区域用于显示第一文件,另一个文件显示区域用于显示第二文件。进一步地,两个子文件夹界面又可以分别再划分成两个文件显示区域,第一子文件夹界面内的两个文件显示区域分别用来显示第一子文件夹内的文件A和文件B,第二子文件夹界面内的两个文件显示区域分别用来显示第二子文件夹内的文件E和文件F。For example, as shown in Figure 4, the folder interface can be pre-divided into two subfolder interfaces and two file display areas, wherein one subfolder interface is used to display the first subfolder, and the other subfolder interface It is used to display the second subfolder, one file display area is used to display the first file, and the other file display area is used to display the second file. Further, the two subfolder interfaces can be further divided into two file display areas, and the two file display areas in the first subfolder interface are used to display file A and file B in the first subfolder respectively. The two file display areas in the second subfolder interface are respectively used to display file E and file F in the second subfolder.

在传统的文件管理方法中,文件夹内的子文件夹和文件都是以同样的方式排列。当我们需要查看子文件夹某个文件时,必须点击子文件夹,如图5所示,打开“第一子文件夹”,才能看到子文件夹中文件:文件A、文件B、文件C、文件D、文件E。如果需要查看的文件不在当前打开的子文件夹中,还需要再打开其他子文件夹中的文件,就需要返回上级目录再打开另一个子文件夹。操作过程比较繁琐,而且子文件夹的排版浪费空间。In traditional file management methods, subfolders and files within a folder are arranged in the same way. When we need to view a file in a subfolder, we must click the subfolder, as shown in Figure 5, and open the "first subfolder" to see the files in the subfolder: file A, file B, file C , file D, file E. If the file to be viewed is not in the currently opened subfolder, and you need to open files in other subfolders, you need to return to the parent directory and open another subfolder. The operation process is cumbersome, and the typesetting of subfolders wastes space.

上述实施例,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,文件夹界面的排版也充分利用了显示界面的空间。In the above embodiment, by acquiring the subfolder data and the file data in the subfolder, the subfolder is displayed on the subfolder interface pre-divided by the folder interface, and the subfolder is displayed on the file display area pre-divided by the subfolder interface. The corresponding files in the subfolder realize the management of the file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the folder interface also makes full use of the space of the display interface.

在一个实施例中,对于步骤S103中的“根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件”,具体可以包括步骤:根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件,所述文件图标中包括文件标识,所述文件标识用于区分不同的文件。In one embodiment, for the "according to the file data, display the corresponding files in the subfolder in the file display area pre-divided by the subfolder interface" in step S103 may specifically include the steps: according to the For file data, on the file display area pre-divided by the subfolder interface, the corresponding files in the subfolder are displayed in the form of file icons, and the file icons include file identifiers, and the file identifiers are used to distinguish different files. document.

上述实施例中,文件标识可以是文件名称,通过对不同的文件进行不同的命名来区分不同的文件。将若干文件按一定的逻辑放进子文件夹中,页面常常采用如图6左侧所示的列表或如图6右侧所示的平铺的方式来同时组织文件和子文件夹。无论是哪种方式,通常都是将子文件夹和文件以同样的方式展现在界面上。本发明则采用另一种方式来展示子文件夹。如图7所示,子文件夹不再是一个单纯的条目,而是作为文件的一个界面容器。当用户把不同的文件放到同一个子文件夹中,这些文件直接显示在子文件夹界面中,并可以直接操作。若想要打开第一子文件夹内的文件A,点击文件A的图标即可以打开,而不需要进入第一子文件夹中。In the foregoing embodiment, the file identifier may be a file name, and different files are distinguished by naming different files differently. Put several files into subfolders according to a certain logic. The page often adopts the list as shown on the left of Figure 6 or the tile method as shown on the right of Figure 6 to organize files and subfolders at the same time. Either way, subfolders and files are usually displayed on the interface in the same way. The present invention adopts another way to display subfolders. As shown in Figure 7, the subfolder is no longer a simple entry, but an interface container for files. When the user puts different files into the same subfolder, these files are directly displayed in the subfolder interface and can be directly operated. If you want to open file A in the first subfolder, click the icon of file A to open it without entering the first subfolder.

上述实施例,通过在子文件夹界面上显示子文件夹内对应的文件,可以预先预览不同子文件夹内的文件,并且充分利用了页面控件,减少打开子文件夹和返回上级目录的操作。In the above embodiment, by displaying the corresponding files in the subfolder on the subfolder interface, the files in different subfolders can be previewed in advance, and the page controls are fully utilized to reduce the operations of opening a subfolder and returning to the parent directory.

进一步地,在一个具体的实施例的文件显示方法中,所述文件数据中还包括名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项。“根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件”,具体可以通过以下步骤来实现:Further, in the file display method of a specific embodiment, the file data further includes any one of name information, size information, item type information, and modification date information. "According to the file data, on the file display area pre-divided by the subfolder interface, display the corresponding file in the subfolder in the form of a file icon", which can be specifically implemented through the following steps:

根据所述名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项对所述文件进行排序;根据文件的排序以及子文件夹界面大小,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示预设数量的所述文件。According to any one of the name information, size information, item type information and modification date information, the files are sorted; according to the sorting of the files and the size of the subfolder interface, in the file display area pre-divided by the subfolder interface , display the preset number of files in the form of file icons.

在上述实施例中,根据名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项对文件进行排序,可以是升序排列,也可以是降序排列。预设数量如图7所示,可以是两个,另外,也可以根据不同的子文件夹界面模板来设置不同的预设数量。当子文件夹界面大小只够显示子文件夹内的部分文件时,可以只显示排序靠前的几个文件,其他的文件可以隐藏显示,也可以通过点击子文件夹名称,按传统的方式打开子文件夹,显示子文件夹内所有的文件。In the above embodiment, the files are sorted according to any one of name information, size information, item type information and modification date information, which may be sorted in ascending order or descending order. As shown in FIG. 7 , the preset number can be two. In addition, different preset numbers can also be set according to different subfolder interface templates. When the size of the subfolder interface is only large enough to display some files in the subfolder, only the top few files can be displayed, and other files can be hidden and displayed, or can be opened in the traditional way by clicking the subfolder name Subfolder, display all files in the subfolder.

上述实施例,通过将子文件夹内的文件按照名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项进行排序,在子文件夹界面上显示预设数量子文件夹内对应文件时,就可以按照这个排序进行显示。实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间。In the above embodiment, by sorting the files in the subfolders according to any one of the name information, size information, item type information and modification date information, the preset number of corresponding files in the subfolders are displayed on the subfolder interface , it can be displayed in this order. Realized the management of file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface.

更进一步地,在一个实施例中,“在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示预设数量的所述文件”,还可以具体包括以下步骤:当所述预设数量大于或等于所述文件的总数量时,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内各个文件。Furthermore, in one embodiment, "displaying the preset number of files in the form of file icons on the file display area pre-divided by the sub-folder interface" may also specifically include the following steps: when the preset When the number is greater than or equal to the total number of files, each file in the subfolder is displayed in the form of a file icon on the file display area pre-divided by the subfolder interface.

上述实施例中的预设数量可以是指子文件夹界面中预先显示的最大数量,如图7所示,第二子文件夹内只包括文件E和文件F两个文件,若预设数量刚好是两个,则第二子文件夹的显示界面上可以显示第二子文件夹内的所有文件。若预设数量大于两个,为三个或更多,则第二子文件夹的显示界面上仍然是文件E和文件F两个文件。The preset number in the above embodiment may refer to the maximum number displayed in advance in the subfolder interface, as shown in Figure 7, the second subfolder only includes two files, file E and file F, if the preset number is just right If there are two, all files in the second subfolder can be displayed on the display interface of the second subfolder. If the preset number is greater than two and is three or more, then the display interface of the second subfolder still contains two files, file E and file F.

上述实施例,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间。In the above embodiment, by acquiring the subfolder data and the file data in the subfolder, the subfolder is displayed on the subfolder interface pre-divided by the folder interface, and the subfolder is displayed on the file display area pre-divided by the subfolder interface. The corresponding files in the subfolder realize the management of the file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface.

另外,如图8所示,在一个具体的实施例中的文件显示方法,还可以包括以下步骤:当所述预设数量小于所述文件的总数量时,在所述子文件夹界面中显示标示符。In addition, as shown in FIG. 8 , the file display method in a specific embodiment may further include the following steps: when the preset number is less than the total number of files, display in the subfolder interface Identifier.

在上述实施例中,标示符可以是省略号,也可以是其它的标示符,用来表示子文件夹内还有其它文件没有显示出来。如图8中,在第一子文件夹内,根据界面大小,以及子文件夹内的文件的排序,第一子文件夹内的头两项文件:文件A、文件B可以直接显示,剩余的文件则在文件显示区域上显示为“……”。第二子文件夹内总共只包括两个文件:文件E、文件F,则在文件显示区域上可以不再显示“……”。当然省略号的显示区域也不仅限于在文件显示区域上显示,比方说,也可以在子文件夹名称后面显示省略号。In the above embodiment, the identifier may be an ellipsis, or other identifiers, which are used to indicate that there are other files in the subfolder that are not displayed. As shown in Figure 8, in the first subfolder, according to the size of the interface and the ordering of the files in the subfolder, the first two files in the first subfolder: file A and file B can be displayed directly, and the remaining The file is displayed as "..." on the file display area. There are only two files in the second subfolder: file E and file F, so "..." can no longer be displayed on the file display area. Of course, the display area of the ellipsis is not limited to displaying on the file display area, for example, the ellipsis may also be displayed behind the subfolder name.

上述实施例,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,没显示出来的文件以标示符的形式在子文件夹界面中显示出来,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间。In the above embodiment, by acquiring the subfolder data and the file data in the subfolder, the subfolder is displayed on the subfolder interface pre-divided by the folder interface, and the subfolder is displayed on the file display area pre-divided by the subfolder interface. The corresponding files in the subfolder and the undisplayed files are displayed in the subfolder interface in the form of identifiers, which realizes the management of file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface.

优选地,如图9所示,在一个实施例中,本发明的文件显示方法,还包括以下步骤:当所述预设数量小于所述文件的总数量时,若检测到对所述文件的显示指令,则通过放大所述子文件夹界面来增加所述文件图标的显示数量。Preferably, as shown in FIG. 9, in one embodiment, the file display method of the present invention further includes the following steps: when the preset number is less than the total number of the files, if it is detected that If the instruction is displayed, the number of displayed file icons is increased by enlarging the interface of the subfolder.

在上述实施例中,对所述文件的显示指令可以通过将鼠标悬浮在子文件夹上来实现,当鼠标悬浮在子文件夹界面上,子文件夹对应的子文件夹界面就可以放大,具体地,可以按照预设的倍数放大,也可以按照子文件夹内文件的数量以及界面的大小进行放大。具体地,可以检测鼠标位置,根据鼠标位置确定鼠标当前所在的子文件夹界面,当鼠标在该子文件夹界面上的停留时间大于预设的时间阈值时,执行放大子文件夹界面的操作。如图9所示的第一子文件夹,放大后的子文件夹界面上就可以显示更多的文件。平铺布局和列表布局类似,此处就不在赘述。同样,其他实施例中的平铺布局和列表布局也是类似的。In the above embodiment, the display instruction for the file can be realized by hovering the mouse over the subfolder interface, and when the mouse hovers over the subfolder interface, the subfolder interface corresponding to the subfolder can be enlarged, specifically , you can zoom in according to the preset multiple, or you can zoom in according to the number of files in the subfolder and the size of the interface. Specifically, the position of the mouse can be detected, and the subfolder interface where the mouse is currently located can be determined according to the mouse position, and when the stay time of the mouse on the subfolder interface is greater than a preset time threshold, the operation of enlarging the subfolder interface is performed. For the first subfolder shown in FIG. 9 , more files can be displayed on the enlarged subfolder interface. The tile layout is similar to the list layout, so I won't go into details here. Likewise, the tile layout and list layout in other embodiments are also similar.

另外,本发明的实施例,还包括以下步骤:若检测到子文件夹的选定操作,则在显示面板上新建一个子文件夹显示界面,在新建的子文件夹界面中的文件显示区域上,以文件图标的方式显示各个所述文件。In addition, the embodiment of the present invention also includes the following steps: if the selected operation of the subfolder is detected, a new subfolder display interface is created on the display panel, and the file display area in the newly created subfolder interface to display each of the files in the form of file icons.

在上述实施例中,依然保留了传统的子文件夹打开方式,可以通过将鼠标悬浮在子文件夹界面上来执行子文件夹的选定操作。若鼠标悬浮在子文件夹界面上,子文件夹界面放大,但还是无法显示所有子文件夹内文件时,依然可以通过进行子文件夹的选定操作,按传统方式进入子文件夹。同时,放大后的子文件夹若还不能完全显示文件内对应文件,依然可以在子文件夹界面上显示标示符,提醒用户子文件夹界面上还有未显示的文件。平铺布局和列表布局类似,此处就不提供示意图了。其中,可以通过点击子文件夹名进行子文件夹的选定操作。In the above embodiment, the traditional way of opening the subfolder is still retained, and the selection operation of the subfolder can be performed by hovering the mouse over the subfolder interface. If the mouse hovers over the subfolder interface and the subfolder interface is enlarged, but all the files in the subfolder still cannot be displayed, you can still enter the subfolder in the traditional way by selecting the subfolder. At the same time, if the enlarged subfolder cannot fully display the corresponding files in the file, the indicator can still be displayed on the subfolder interface to remind the user that there are still undisplayed files on the subfolder interface. The tile layout is similar to the list layout, and a diagram is not provided here. Among them, you can select a subfolder by clicking the subfolder name.

上述实施例,当子文件夹内文件无法在放大后的子文件夹界面上全部显示出来时,通过传统的方式进入子文件夹。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间,同时也保留了传统方式的特点。In the above embodiment, when all the files in the subfolder cannot be displayed on the enlarged subfolder interface, the subfolder is entered in a traditional way. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the process and subfolders also makes full use of the space of the display interface, while retaining the characteristics of the traditional method.

举例来说,本发明的实施例还提供一种文件操作方法,包括本发明实施例中的文件显示方法,还包括以下步骤:当检测到对文件的操作指令时,根据所述操作指令对文件执行对应的操作。For example, an embodiment of the present invention also provides a file operation method, including the file display method in the embodiment of the present invention, and further includes the following steps: when an operation instruction to the file is detected, the file is displayed according to the operation instruction Perform the corresponding operation.

其中,对文件的操作可包括文件名更改、文件移动、文件复制、文件排序等。相应地,操作指令可包括文件名更改指令、文件移动指令、文件复制指令、文件排序指令等。Wherein, the operation on the file may include changing the file name, moving the file, copying the file, sorting the file and so on. Correspondingly, the operation instruction may include a file name change instruction, a file movement instruction, a file copy instruction, a file sort instruction, and the like.

当操作指令为文件名更改指令时,可以检测文件名更改指令所作用的文件,在一个实施例中,可以先根据鼠标位置确定文件名更改指令所作用的文件,当检测到文件名更改指令(例如,通过鼠标右键点击“重命名”选项)时,根据接收到的文件名对文件名进行更改。When the operation instruction is a file name change command, the file that the file name change command acts on can be detected. In one embodiment, the file that the file name change command acts on can be determined first according to the mouse position. When the file name change command ( For example, when the "Rename" option is clicked by the right mouse button), the file name is changed according to the received file name.

当操作指令为文件移动指令时,可以检测文件移动指令所作用的文件,以及文件移动的目标子文件夹。例如,当检测到鼠标对某个文件的拖动操作时,可监测鼠标操作,当监测到鼠标释放时,可检测释放鼠标时鼠标所在的目标子文件夹界面,并将文件移动至目标子文件夹界面。When the operation instruction is a file movement instruction, the file on which the file movement instruction acts and the target subfolder of the file movement may be detected. For example, when a mouse dragging operation on a file is detected, the mouse operation can be monitored; when the mouse release is detected, the target subfolder interface where the mouse is located when the mouse is released can be detected, and the file can be moved to the target subfolder clip interface.

当操作指令为文件复制指令时,可以检测复制指令所作用的文件,在一个实施例中,可以先根据鼠标位置确定复制指令所作用的文件,当检测到复制指令(例如,通过鼠标右键点击“复制”选项)时,对文件进行复制,并在检测到粘贴指令(例如,通过鼠标右键点击“粘贴”选项)时,将在鼠标当前所在的目标子文件夹界面粘贴之前复制的文件。When the operation instruction is a file copy instruction, the file on which the copy instruction acts can be detected. In one embodiment, the file on which the copy instruction acts can be determined first according to the position of the mouse. "Copy" option), the file is copied, and when a paste command is detected (for example, by right-clicking the "Paste" option), the previously copied file will be pasted in the target subfolder interface where the mouse is currently located.

当操作指令为文件排序指令时,可以检测排序指令所作用的子文件夹,在一个实施例中,可以先根据鼠标位置确定排序指令所作用的子文件夹,并且可以获取子文件夹内对应文件的名称信息、大小信息、项目类型信息、修改日期信息中的任意一项,当检测到排序指令(例如,通过鼠标右键点击“排序方式-大小”选项)时,对子文件夹内的文件进行排序(例如,按文件大小排序)。When the operation instruction is a file sorting instruction, the subfolder on which the sorting instruction acts can be detected. In one embodiment, the subfolder on which the sorting instruction acts can be determined first according to the mouse position, and the corresponding files in the subfolder can be obtained. Any one of the name information, size information, item type information, and modification date information of the file, when a sorting command is detected (for example, by right-clicking the "sort by-size" option), the files in the subfolder will be sorted Sort (for example, sort by file size).

在上述实施例中,在获取子文件夹数据时,可以根据界面大小以及其中子文件夹排序方式(比如按最近更新时间排序)获取其中若干文件的数据。而且子文件夹作为一个界面容器,展示其中的文件。在传统文件展示方式中,文件夹和子文件夹打开的内容展示,都是一个容器。本发明采用了容器嵌套的方式。容器中包含子文件夹,子文件夹本身也是一个容器。如图9所示,还可以很方便地将文件G从第二子文件夹中移动到第一子文件夹中,只需要选中文件,并将文件拖动到另一个子文件夹中,通过触发释放(Drop)命令的方法,使数据的存储位置发生改变。In the above embodiment, when acquiring subfolder data, the data of several files in it may be acquired according to the size of the interface and the subfolder sorting method (for example, sorting by latest update time). And the subfolder is used as an interface container to display the files in it. In the traditional file display mode, the opened content display of folders and subfolders is a container. The present invention adopts the mode of container nesting. A container contains subfolders, which are themselves containers. As shown in Figure 9, it is also very convenient to move the file G from the second subfolder to the first subfolder, just select the file and drag the file to another subfolder, by triggering the release (Drop) command to change the storage location of the data.

上述实施例,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,子文件夹的排版也充分利用了显示界面的空间,同时可以通过检测对文件的操作指令对文件执行对应的操作,实现了对文件的操作管理。In the above embodiment, by acquiring the subfolder data and the file data in the subfolder, the subfolder is displayed on the subfolder interface pre-divided by the folder interface, and the subfolder is displayed on the file display area pre-divided by the subfolder interface. The corresponding files in the subfolder realize the management of the file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The typesetting of the subfolders also makes full use of the space of the display interface, and at the same time, it can perform corresponding operations on the files by detecting the operation instructions on the files, realizing the operation management of the files.

同时,如图11所示,本发明的实施例还提供一种文件显示系统,包括:At the same time, as shown in Figure 11, the embodiment of the present invention also provides a file display system, including:

获取模块11,用于获取子文件夹数据以及子文件夹内的文件数据;An acquisition module 11, configured to acquire subfolder data and file data in the subfolder;

具体地,越来越多的用户将文件存储在云端,传统的云端资源管理界面中,通常分为文件和文件夹。当云端文件较多时,通常需要用文件夹来进行管理,如图2所示,是传统的文件夹下的显示方案,在图2所示的实施例中,文件夹下包括第一子文件夹、第二子文件夹、第一文件和第二文件。可以看出,传统的文件夹的显示方案中,文件夹的显示界面中同时包含子文件夹的控件和文件的控件,即文件夹显示界面中的子文件夹与文件通常是放在同一个一览表(list)中,没有有效利用子文件夹的内容信息,即子文件夹与文件的数据结构是列表结构,虽然获取到了文件夹界面内的子文件夹数据和文件夹界面内的文件数据,但无法获取到子文件夹内的文件数据。例如,在图2所示的实施例中,第一子文件夹内的文件数据和第二子文件夹内的文件数据均无法直接查看。而在本发明的实施例中,文件夹显示界面中子文件夹与文件的数据结构是树形结构,获取到了文件夹界面内的子文件夹数据的同时也获取了子文件夹内对应的文件数据。Specifically, more and more users store files in the cloud, and traditional cloud resource management interfaces are usually divided into files and folders. When there are many files in the cloud, it is usually necessary to use folders for management. As shown in Figure 2, it is a traditional display scheme under folders. In the embodiment shown in Figure 2, the folder includes the first subfolder , the second subfolder, the first file, and the second file. It can be seen that in the traditional folder display scheme, the folder display interface contains both subfolder controls and file controls, that is, subfolders and files in the folder display interface are usually placed in the same list In (list), the content information of subfolders is not effectively used, that is, the data structure of subfolders and files is a list structure, although the subfolder data in the folder interface and the file data in the folder interface are obtained, but Unable to get file data in subfolder. For example, in the embodiment shown in FIG. 2 , neither the file data in the first subfolder nor the file data in the second subfolder can be directly viewed. However, in the embodiment of the present invention, the data structure of subfolders and files in the folder display interface is a tree structure, and the corresponding files in the subfolders are also obtained while obtaining the subfolder data in the folder interface. data.

下面,结合图3和具体的实施例来阐述本发明的文件显示方法的数据结构与传统的文件显示方法的数据结构的区别。在一个实施例中,有这样的一个文件夹A,其中有子文件夹a、子文件夹b,文件A1,文件A2,子文件夹a中包含文件a1、文件a2,子文件夹b中包含文件b1、文件b2。传统的获取A文件夹的内容的方案中,得到的数据是如图3左侧所示的列表结构,并不能识别子文件夹a和子文件夹b中的内容。而本发明的实施例中,获取文件夹A的内容,得到的数据是如图3右侧所示的树形结构,能够识别子文件夹a和子文件夹b中的内容。基于树形结构,本方案可以在显示文件夹A的时候,将子文件夹a和子文件夹b中的内容显示出来。Next, the difference between the data structure of the file display method of the present invention and the data structure of the traditional file display method will be described with reference to FIG. 3 and specific embodiments. In one embodiment, there is such a folder A, which contains subfolder a, subfolder b, file A1, file A2, subfolder a contains file a1, file a2, and subfolder b contains File b1, file b2. In the traditional scheme of obtaining the content of folder A, the obtained data is a list structure as shown on the left side of FIG. 3 , and the content in subfolder a and subfolder b cannot be identified. However, in the embodiment of the present invention, the content of folder A is acquired, and the obtained data is a tree structure as shown on the right side of FIG. 3 , which can identify the content in subfolder a and subfolder b. Based on the tree structure, this solution can display the contents of subfolder a and subfolder b when folder A is displayed.

第一显示模块12,根据所述子文件夹数据,在由文件夹界面预先划分的每个子文件夹界面上显示一个子文件夹;The first display module 12 displays a subfolder on each subfolder interface pre-divided by the folder interface according to the subfolder data;

如图2所示,传统方案中,列表排列的文件夹界面中,子文件夹和文件采用不同的模板,其各自占一定的几何区域,在一个实施例中,本方案与传统方案一样,在显示文件内容的时候,子文件夹和文件依然有各自的模板,可以将文件夹界面预先划分成多个子文件夹界面,可以根据获取到的子文件夹数据在每一个子文件夹界面上显示一个子文件夹。另外,文件夹界面中不仅可以包括子文件夹界面,也可以包括文件显示区域,即文件夹界面上既可以显示子文件夹控件,也可以显示文件控件。As shown in Figure 2, in the traditional solution, in the list-arranged folder interface, subfolders and files use different templates, which each occupy a certain geometric area. In one embodiment, this solution is the same as the traditional solution. When displaying file content, subfolders and files still have their own templates. The folder interface can be divided into multiple subfolder interfaces in advance, and a subfolder interface can be displayed on each subfolder interface according to the obtained subfolder data. subfolder. In addition, the folder interface can include not only a subfolder interface, but also a file display area, that is, both subfolder controls and file controls can be displayed on the folder interface.

第二显示模块13,根据所述文件数据,在由子文件夹界面预先划分的每个文件显示区域上显示一个所述子文件夹对应的文件。The second display module 13, according to the file data, displays a file corresponding to the subfolder on each file display area pre-divided by the subfolder interface.

举例来说,在一个实施例中,可以将每个子文件夹界面预先划分成多个文件显示区域,在每个文件显示区域上可以显示一个子文件夹内对应的文件。For example, in one embodiment, each subfolder interface can be pre-divided into multiple file display areas, and corresponding files in a subfolder can be displayed on each file display area.

例如,如图4所示,可以将文件夹界面预先划分成两个子文件夹界面和两个文件显示区域,其中,一个子文件夹界面用于显示第一子文件夹,另一个子文件夹界面用于显示第二子文件夹,一个文件显示区域用于显示第一文件,另一个文件显示区域用于显示第二文件。进一步地,两个子文件夹界面又可以分别再划分成两个文件显示区域,第一子文件夹界面内的两个文件显示区域分别用来显示第一子文件夹内的文件A和文件B,第二子文件夹界面内的两个文件显示区域分别用来显示第二子文件夹内的文件E和文件F。For example, as shown in Figure 4, the folder interface can be pre-divided into two subfolder interfaces and two file display areas, wherein one subfolder interface is used to display the first subfolder, and the other subfolder interface It is used to display the second subfolder, one file display area is used to display the first file, and the other file display area is used to display the second file. Further, the two subfolder interfaces can be further divided into two file display areas, and the two file display areas in the first subfolder interface are used to display file A and file B in the first subfolder respectively. The two file display areas in the second subfolder interface are respectively used to display file E and file F in the second subfolder.

在传统的文件管理方法中,文件夹内的子文件夹和文件都是以同样的方式排列。当我们需要查看子文件夹某个文件时,必须点击子文件夹,如图5所示,打开“第一子文件夹”,才能看到子文件夹中文件:文件A、文件B、文件C、文件D、文件E。如果需要查看的文件不在当前打开的子文件夹中,还需要再打开其他子文件夹中的文件,就需要返回上级目录再打开另一个子文件夹。操作过程比较繁琐,而且子文件夹的排版浪费空间。In traditional file management methods, subfolders and files within a folder are arranged in the same way. When we need to view a file in a subfolder, we must click the subfolder, as shown in Figure 5, and open the "first subfolder" to see the files in the subfolder: file A, file B, file C , file D, file E. If the file to be viewed is not in the currently opened subfolder, and you need to open files in other subfolders, you need to return to the parent directory and open another subfolder. The operation process is cumbersome, and the typesetting of subfolders wastes space.

上述实施例,通过获取子文件夹数据以及子文件夹内的文件数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹,在由子文件夹界面预先划分的文件显示区域上显示子文件夹内对应的文件,实现了对文件显示的管理。在进行不同子文件夹内文件的显示时,不需要返回上级目录再打开另一个子文件夹,在同一个显示界面上就能显示不同子文件夹以及子文件夹内对应的文件,简化了操作过程,文件夹界面的排版也充分利用了显示界面的空间。In the above embodiment, by acquiring the subfolder data and the file data in the subfolder, the subfolder is displayed on the subfolder interface pre-divided by the folder interface, and the subfolder is displayed on the file display area pre-divided by the subfolder interface. The corresponding files in the subfolder realize the management of the file display. When displaying files in different subfolders, there is no need to return to the parent directory and open another subfolder. Different subfolders and corresponding files in the subfolder can be displayed on the same display interface, which simplifies the operation The layout of the folder interface also makes full use of the space of the display interface.

进一步地,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现所述的文件显示方法。Further, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned file display method is realized.

上述实施例与本发明的文件显示方法中对应的实施例相类似,此处不再赘述。The foregoing embodiments are similar to the corresponding embodiments in the file display method of the present invention, and will not be repeated here.

更进一步地,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的文件显示方法。Furthermore, an embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the described program when executing the program. File display method.

上述实施例与本发明的文件显示方法中对应的实施例相类似,此处不再赘述。The foregoing embodiments are similar to the corresponding embodiments in the file display method of the present invention, and will not be repeated here.

本发明的文件显示系统与本发明的文件显示方法一一对应,在上述文件显示方法的实施例阐述的技术特征及其有益效果均适用于文件显示系统的实施例中,特此声明。The document display system of the present invention corresponds one-to-one to the document display method of the present invention, and the technical features and beneficial effects described in the above document display method embodiments are applicable to the document display system embodiments, hereby declared.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment used. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device.

计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (11)

1.一种文件显示方法,其特征在于,包括以下步骤:1. A file display method, characterized in that, comprising the following steps: 获取子文件夹数据以及子文件夹内的文件数据;Obtain subfolder data and file data in subfolders; 根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;displaying subfolders on the subfolder interface pre-divided by the folder interface according to the subfolder data; 根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。According to the file data, corresponding files in the subfolder are displayed on the file display area pre-divided by the subfolder interface. 2.根据权利要求1所述的文件显示方法,其特征在于,根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件,具体包括以下步骤:2. The file display method according to claim 1, wherein, according to the file data, the corresponding files in the subfolder are displayed on the file display area pre-divided by the subfolder interface, specifically comprising the following steps : 根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件,所述文件图标中包括文件标识,所述文件标识用于区分不同的文件。According to the file data, on the file display area pre-divided by the subfolder interface, the corresponding file in the subfolder is displayed in the form of a file icon, and the file icon includes a file identifier, and the file identifier is used for different files. 3.根据权利要求2所述的文件显示方法,其特征在于,所述文件数据中还包括名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项;3. The file display method according to claim 2, wherein the file data further includes any one of name information, size information, item type information, and modification date information; 根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示所述子文件夹内对应的文件,具体包括以下步骤:According to the file data, on the file display area pre-divided by the subfolder interface, the corresponding file in the subfolder is displayed in the form of a file icon, which specifically includes the following steps: 根据所述名称信息、大小信息、项目类型信息以及修改日期信息中的任意一项对所述文件进行排序;sorting the files according to any one of the name information, size information, item type information and modification date information; 根据文件的排序以及子文件夹界面大小,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内预设数量的文件。According to the sorting of the files and the size of the subfolder interface, a preset number of files in the subfolder are displayed in the form of file icons on the file display area pre-divided by the subfolder interface. 4.根据权利要求3所述的文件显示方法,其特征在于,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内预设数量的文件,具体包括以下步骤:4. The file display method according to claim 3, characterized in that, on the file display area pre-divided by the subfolder interface, the preset number of files in the subfolder are displayed in the form of file icons, specifically comprising the following steps : 当所述预设数量大于或等于所述文件的总数量时,在由子文件夹界面预先划分的文件显示区域上,以文件图标的方式显示子文件夹内各个文件。When the preset number is greater than or equal to the total number of files, each file in the subfolder is displayed in the form of a file icon on the file display area pre-divided by the subfolder interface. 5.根据权利要求4所述的文件显示方法,其特征在于,还包括以下步骤:5. The file display method according to claim 4, further comprising the following steps: 当所述预设数量小于所述文件的总数量时,以文件图标的方式显示预设数量的所述文件,并在所述子文件夹界面中显示标示符。When the preset number is less than the total number of files, display the preset number of files in the form of file icons, and display an indicator in the subfolder interface. 6.根据权利要求4所述的文件显示方法,其特征在于,还包括以下步骤:6. The file display method according to claim 4, further comprising the following steps: 当所述预设数量小于所述文件的总数量时,若检测到对所述文件的显示指令,则通过放大所述子文件夹界面来增加所述文件图标的显示数量。When the preset number is less than the total number of files, if a display instruction for the files is detected, the displayed number of the file icons is increased by enlarging the subfolder interface. 7.根据权利要求4所述的文件显示方法,其特征在于,还包括以下步骤:7. The file display method according to claim 4, further comprising the following steps: 若检测到对子文件夹的选定操作,则在显示面板上新建一个子文件夹显示界面;If a selected operation on a subfolder is detected, a new subfolder display interface is created on the display panel; 在新建的子文件夹界面中的文件显示区域上,以文件图标的方式显示所述子文件夹中的各个文件。On the file display area in the newly created subfolder interface, each file in the subfolder is displayed in the form of a file icon. 8.一种文件操作方法,基于权利要求1至7任意一项所述的文件显示方法,其特征在于,还包括以下步骤:8. A file operation method, based on the file display method according to any one of claims 1 to 7, further comprising the following steps: 当检测到对文件的操作指令时,根据所述操作指令对文件执行对应的操作。When an operation instruction on the file is detected, a corresponding operation is performed on the file according to the operation instruction. 9.一种文件显示系统,其特征在于,包括:9. A file display system, characterized in that it comprises: 获取模块,用于获取子文件夹数据以及子文件夹内的文件数据;The obtaining module is used to obtain subfolder data and file data in the subfolder; 第一显示模块,用于根据所述子文件夹数据,在由文件夹界面预先划分的子文件夹界面上显示子文件夹;The first display module is used to display subfolders on the subfolder interface pre-divided by the folder interface according to the subfolder data; 第二显示模块,用于根据所述文件数据,在由子文件夹界面预先划分的文件显示区域上显示所述子文件夹内对应的文件。The second display module is configured to display corresponding files in the subfolder on the file display area pre-divided by the subfolder interface according to the file data. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至8任意一项所述的文件显示方法。10. A computer-readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the file display method according to any one of claims 1 to 8 is realized. 11.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至8任意一项所述的文件显示方法。11. A computer device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the program, any one of claims 1 to 8 is realized The file display method described.
CN201711035895.2A 2017-10-30 2017-10-30 File display method, operation method, display system, storage medium and device Pending CN107895001A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711035895.2A CN107895001A (en) 2017-10-30 2017-10-30 File display method, operation method, display system, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711035895.2A CN107895001A (en) 2017-10-30 2017-10-30 File display method, operation method, display system, storage medium and device

Publications (1)

Publication Number Publication Date
CN107895001A true CN107895001A (en) 2018-04-10

Family

ID=61802812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711035895.2A Pending CN107895001A (en) 2017-10-30 2017-10-30 File display method, operation method, display system, storage medium and device

Country Status (1)

Country Link
CN (1) CN107895001A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033145A (en) * 2018-06-11 2018-12-18 卫军征 The tag displaying method of file, calculates equipment and storage medium at system
CN114817159A (en) * 2022-04-01 2022-07-29 维沃移动通信有限公司 File processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164402A (en) * 2011-12-08 2013-06-19 青岛海尔电子有限公司 Method for displaying files
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN105094557A (en) * 2015-07-27 2015-11-25 联想(北京)有限公司 Method and device for display control, and electronic device
CN105653114A (en) * 2015-04-15 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Folder processing method and apparatus
CN105930062A (en) * 2016-05-23 2016-09-07 珠海市魅族科技有限公司 Method and device for viewing file in folder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164402A (en) * 2011-12-08 2013-06-19 青岛海尔电子有限公司 Method for displaying files
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN105653114A (en) * 2015-04-15 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Folder processing method and apparatus
CN105094557A (en) * 2015-07-27 2015-11-25 联想(北京)有限公司 Method and device for display control, and electronic device
CN105930062A (en) * 2016-05-23 2016-09-07 珠海市魅族科技有限公司 Method and device for viewing file in folder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033145A (en) * 2018-06-11 2018-12-18 卫军征 The tag displaying method of file, calculates equipment and storage medium at system
CN114817159A (en) * 2022-04-01 2022-07-29 维沃移动通信有限公司 File processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US9836472B2 (en) Tagged management of stored items
CN101223496B (en) Rich drag and drop user interface
US9342217B2 (en) Concentric hierarchical list browser
JP6488265B2 (en) User interface for accessing documents from a computing device
TWI395114B (en) Computer readable storage medium, method, and system for rich drag drop user interface
US9639237B2 (en) User-customizable context menus
US20200348815A1 (en) Content-based directional placement application launch
JP2005198064A (en) File management program
JPH10293760A (en) Object management methods
MXPA06012367A (en) Property metadata navigation and assigment.
CN102037450A (en) Content managing device and content managing method
US8683361B2 (en) Presentation of headers for groups of locations in an electronic library
CN107092657A (en) File management user interface
JP5595548B2 (en) Content management apparatus, content management apparatus control method, program, and recording medium recording program
WO2020048286A1 (en) Data processing method, terminal, and computer-readable storage medium
US9864479B2 (en) System and method for managing and reviewing document integration and updates
WO2016197247A1 (en) Method and apparatus for managing and organizing objects in a virtual repository
US11086506B2 (en) Methods and systems for managing data and files
CN107895001A (en) File display method, operation method, display system, storage medium and device
WO2009068852A1 (en) Computer file storage
CN114416640A (en) File management method and device
KR101589969B1 (en) File management method and system of network structure
JP5235495B2 (en) CONTENT MANAGEMENT DEVICE, CONTENT MANAGEMENT DEVICE CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
CN108108077A (en) A kind of desktop management method and device
CN111831610B (en) File and database record acquisition method, computer equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180410