CN111858493A - File management method, device, electronic device and medium - Google Patents
File management method, device, electronic device and medium Download PDFInfo
- Publication number
- CN111858493A CN111858493A CN202010717890.3A CN202010717890A CN111858493A CN 111858493 A CN111858493 A CN 111858493A CN 202010717890 A CN202010717890 A CN 202010717890A CN 111858493 A CN111858493 A CN 111858493A
- Authority
- CN
- China
- Prior art keywords
- file
- area
- management
- operation type
- target
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details 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
Description
技术领域technical field
本申请涉及移动互联网技术领域,具体而言,本申请涉及一种文件管理方法、装置、电子设备及介质。The present application relates to the field of mobile Internet technologies, and in particular, the present application relates to a file management method, apparatus, electronic device and medium.
背景技术Background technique
随着移动互联网技术的不断发展,移动终端等电子设备已经成为人们日常生活和工作中必不可少的工具。用户在使用移动终端的过程中,会产生大量的文件,因而对移动终端中的文件进行管理是必不可少的。With the continuous development of mobile Internet technology, electronic devices such as mobile terminals have become indispensable tools in people's daily life and work. In the process of using the mobile terminal, a user will generate a large number of files, so it is essential to manage the files in the mobile terminal.
传统的移动终端仅具备一个显示屏,由于单屏移动终端的显示屏尺寸较小等客观原因,用户在单屏移动终端上进行文件管理操作时,远不如在个人计算机(PersonalComputer,PC)端进行文件管理操作方便。随着双屏技术以及多屏技术的出现,移动终端不再局限于一个显示屏,可以具备两个显示屏甚至多个显示屏,这使得用户在双屏移动终端甚至多屏移动终端上进行更加便捷的文件管理操作成为可能,但具体如何在双屏移动终端甚至多屏移动终端上进行不同于传统方式的文件管理操作,尚未见报道。The traditional mobile terminal only has one display screen. Due to objective reasons such as the small size of the display screen of the single-screen mobile terminal, when users perform file management operations on the single-screen mobile terminal, it is far better than the personal computer (Personal Computer, PC) side. File management is easy to operate. With the emergence of dual-screen technology and multi-screen technology, mobile terminals are no longer limited to one display screen, but can have two or even multiple display screens. Convenient file management operations are possible, but how to perform file management operations different from traditional methods on dual-screen mobile terminals or even multi-screen mobile terminals has not yet been reported.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种文件管理方法、装置、电子设备及介质,可以解决如何在双屏移动终端甚至多屏移动终端上进行不同于传统方式的文件管理操作的技术问题。The present application provides a file management method, device, electronic device and medium, which can solve the technical problem of how to perform file management operations different from traditional methods on a dual-screen mobile terminal or even a multi-screen mobile terminal.
第一方面,提供了一种文件管理方法,该方法包括:In a first aspect, a file management method is provided, the method comprising:
当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;When it is detected that the user performs a management operation on the target file in the first file area, identifying the operation type of the management operation;
若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。If the operation type of the management operation is the preset operation type, the management operation is performed on the target file in the first file area, and the result of the management operation is displayed in the second file area.
第二方面,提供了一种文件管理装置,该装置包括:In a second aspect, a file management device is provided, the device comprising:
识别模块,用于当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;an identification module, configured to identify the operation type of the management operation when it is detected that the user performs a management operation on the target file in the first file area;
执行显示模块,用于若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。The execution display module is configured to, if the operation type of the management operation is a preset operation type, perform the management operation on the target file in the first file area, and display the result of the management operation in the second file area.
第三方面,提供了一种电子设备,该电子设备包括:In a third aspect, an electronic device is provided, the electronic device comprising:
一个或多个处理器;one or more processors;
存储器;memory;
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于:执行根据第一方面所示的文件管理方法对应的操作。one or more application programs, wherein the one or more application programs are stored in memory and configured to be executed by one or more processors, the one or more programs are configured to: execute a file according to the first aspect The operation corresponding to the management method.
第四方面,提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现第一方面所示的文件管理方法。A fourth aspect provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the file management method shown in the first aspect is implemented.
本申请提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the application are:
本申请提供了一种文件管理方法、装置、电子设备及介质,与现有技术相比,本申请当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。对于移动终端等电子设备,由于双屏移动终端具有两个显示屏,多屏移动终端具有至少两个显示屏,使得第一文件区域与第二文件区域可以设置在电子设备的不同显示屏上,从而便于用户对一个文件区域中的文件执行管理操作,在另一个文件区域中显示管理操作的结果,降低了操作复杂度,节省了时间资源,提升了显示效果,改善了用户体验。The present application provides a file management method, device, electronic device and medium. Compared with the prior art, the present application identifies the operation type of the management operation when it is detected that a user performs a management operation on a target file in the first file area. ; If the operation type of the management operation is the preset operation type, perform the management operation on the target file in the first file area, and display the result of the management operation in the second file area. For electronic devices such as mobile terminals, since a dual-screen mobile terminal has two display screens, and a multi-screen mobile terminal has at least two display screens, the first file area and the second file area can be set on different display screens of the electronic device. Therefore, it is convenient for a user to perform management operations on files in one file area, and display the results of the management operations in another file area, which reduces operation complexity, saves time and resources, improves display effects, and improves user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present application.
图1为本申请实施例提供的一种文件管理方法的流程示意图;1 is a schematic flowchart of a file management method according to an embodiment of the present application;
图2为本申请实施例提供的一种第一文件区域的示意图;2 is a schematic diagram of a first file area provided by an embodiment of the present application;
图3为本申请实施例提供的另一种第一文件区域的示意图;3 is a schematic diagram of another first file area provided by an embodiment of the present application;
图4为本申请实施例提供的一种文件管理装置的结构示意图;4 is a schematic structural diagram of a file management apparatus provided by an embodiment of the present application;
图5为本申请实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, but not to be construed as a limitation on the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of the stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
本申请实施例提供了一种文件管理方法,可以由电子设备执行,该电子设备可以是智能手机、平板、笔记本电脑、台式电脑等终端设备。The embodiment of the present application provides a file management method, which can be executed by an electronic device, and the electronic device can be a terminal device such as a smart phone, a tablet, a notebook computer, and a desktop computer.
如图1所示,该文件管理方法包括以下步骤S101和步骤S102:As shown in Figure 1, the file management method includes the following steps S101 and S102:
步骤S101,当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型。Step S101, when it is detected that the user performs a management operation on the target file in the first file area, the operation type of the management operation is identified.
本申请实施例中,第一文件区域中可以显示至少一个文件和/或至少一个文件夹,每一个文件夹中可以显示至少一个文件,每一个文件可以为文本文件、图片文件、视频文件以及音频文件中的任一项。In this embodiment of the present application, at least one file and/or at least one folder may be displayed in the first file area, at least one file may be displayed in each folder, and each file may be a text file, a picture file, a video file, and an audio file any item in the file.
本申请实施例中,目标文件为第一文件区域中的全部或者部分文件,目标文件可以为至少一个文件和/或至少一个文件夹。In this embodiment of the present application, the target file is all or part of the files in the first file area, and the target file may be at least one file and/or at least one folder.
需要说明的是,用户可以对第一文件区域中的目标文件实施管理操作,该管理操作的操作类型可以为文件复制操作类型、文件移动操作类型、文件删除操作类型、文件改名操作类型等中的任一项或者其他与文件相关的操作类型。It should be noted that the user can perform a management operation on the target file in the first file area, and the operation type of the management operation can be one of the file copy operation type, file move operation type, file deletion operation type, file renaming operation type, etc. Any or other file-related operation type.
步骤S102,若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。Step S102, if the operation type of the management operation is the preset operation type, perform the management operation on the target file in the first file area, and display the result of the management operation in the second file area.
其中,预设操作类型可以为文件复制操作类型、文件移动操作类型或者可以显示操作结果的操作类型。The preset operation type may be a file copy operation type, a file move operation type, or an operation type that can display an operation result.
本申请实施例中,当管理操作的操作类型为文件复制操作类型或文件移动操作类型时,用户可以在第一文件区域对目标文件执行管理操作,将管理操作的结果显示在第二文件区域,其中,管理操作的结果可以为显示在第二文件区域的目标文件。In the embodiment of the present application, when the operation type of the management operation is the file copy operation type or the file move operation type, the user can perform the management operation on the target file in the first file area, and display the result of the management operation in the second file area, The result of the management operation may be the target file displayed in the second file area.
可以理解的是,第二文件区域中可以显示至少一个文件和/或至少一个文件夹,每一个文件夹中可以显示至少一个文件,每一个文件可以为文本文件、图片文件、视频文件以及音频文件中的任一项。It can be understood that, at least one file and/or at least one folder can be displayed in the second file area, at least one file can be displayed in each folder, and each file can be a text file, a picture file, a video file, and an audio file. any of the.
需要说明的是,当管理操作的操作类型为预设操作类型时,第一文件区域与第二文件区域可以同时设置在电子设备的显示屏中;当管理操作的操作类型不为预设操作类型,如管理操作的操作类型为文件删除操作类型或者文件改名操作类型等时,优先选择在电子设备的显示屏中设置第一文件区域,不在电子设备的显示屏中设置第二文件区域,当然,视实际需求,也可以在电子设备的显示屏中设置第二文件区域,在此不做限定。It should be noted that, when the operation type of the management operation is the preset operation type, the first file area and the second file area can be set on the display screen of the electronic device at the same time; when the operation type of the management operation is not the preset operation type , for example, when the operation type of the management operation is the file deletion operation type or the file renaming operation type, etc., it is preferred to set the first file area on the display screen of the electronic device, and not set the second file area on the display screen of the electronic device. Of course, Depending on actual requirements, a second file area may also be set in the display screen of the electronic device, which is not limited herein.
本申请实施例中,当管理操作的操作类型为文件复制操作类型时,在第一文件区域对目标文件执行文件复制操作,并将目标文件粘贴至第二文件区域,以使得在第二文件区域显示管理操作的结果。此时,目标文件既显示在第一文件区域,也显示在第二文件区域。In the embodiment of the present application, when the operation type of the management operation is the file copy operation type, the file copy operation is performed on the target file in the first file area, and the target file is pasted into the second file area, so that the second file area is Displays the results of administrative operations. At this time, the target file is displayed in both the first file area and the second file area.
本申请实施例中,当管理操作的操作类型为文件移动操作类型时,在第一文件区域对目标文件执行文件移动操作,以将目标文件由第一文件区域移动至第二文件区域,使在第二文件区域显示管理操作的结果。此时,目标文件仅显示在第二文件区域,第一文件区域不再显示目标文件。In the embodiment of the present application, when the operation type of the management operation is the file moving operation type, the file moving operation is performed on the target file in the first file area, so as to move the target file from the first file area to the second file area, so that the target file is moved from the first file area to the second file area. The second file area displays the result of the management operation. At this time, the target file is only displayed in the second file area, and the target file is no longer displayed in the first file area.
本申请实施例中,当管理操作的操作类型为文件删除操作类型时,在第一文件区域对目标文件执行文件删除操作,使得第一文件区域显示的文件中不包括该目标文件;当管理操作的操作类型为文件改名操作类型时,在第一文件区域对目标文件执行文件改名操作,以对目标文件的名称进行修改,在第一文件区域显示的目标文件的名称为修改后的名称。In the embodiment of the present application, when the operation type of the management operation is the file deletion operation type, the file deletion operation is performed on the target file in the first file area, so that the file displayed in the first file area does not include the target file; when the management operation When the operation type is the file renaming operation type, the file renaming operation is performed on the target file in the first file area to modify the name of the target file, and the name of the target file displayed in the first file area is the modified name.
例如,第一文件区域显示的目标文件的原有名称为“网页收集资料”,在第一文件区域对目标文件执行文件改名操作,并将目标文件的名称修改为“会议资料”后,此时,在第一文件区域显示目标文件修改后的名称,即“会议资料”。For example, the original name of the target file displayed in the first file area is "Website Collection Materials", after the file renaming operation is performed on the target file in the first file area, and the name of the target file is changed to "Conference Materials", at this time , the modified name of the target file, that is, "Meeting Information", is displayed in the first file area.
本申请实施例提供了一种文件管理方法,与现有技术相比,本申请实施例当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。对于移动终端等电子设备,由于双屏移动终端具有两个显示屏,多屏移动终端具有至少两个显示屏,使得第一文件区域与第二文件区域可以设置在电子设备的不同显示屏上,从而便于用户对一个文件区域中的文件执行管理操作,在另一个文件区域中显示管理操作的结果,降低了操作复杂度,节省了时间资源,提升了显示效果,改善了用户体验。The embodiment of the present application provides a file management method. Compared with the prior art, the embodiment of the present application identifies the operation type of the management operation when it is detected that the user performs a management operation on the target file in the first file area; The operation type of the operation is a preset operation type, the management operation is performed on the target file in the first file area, and the result of the management operation is displayed in the second file area. For electronic devices such as mobile terminals, since a dual-screen mobile terminal has two display screens, and a multi-screen mobile terminal has at least two display screens, the first file area and the second file area can be set on different display screens of the electronic device. Therefore, it is convenient for a user to perform management operations on files in one file area, and display the results of the management operations in another file area, which reduces operation complexity, saves time and resources, improves display effects, and improves user experience.
本申请实施例的另一种可能实现方式,步骤S102之后,即在第一文件区域对目标文件执行管理操作之后,还可以包括步骤S103和步骤S104。Another possible implementation manner of the embodiment of the present application, after step S102 , that is, after performing the management operation on the target file in the first file area, may further include step S103 and step S104 .
步骤S103,当管理操作的操作类型为文件复制操作类型时,在第二文件区域显示目标文件的复制进度。Step S103, when the operation type of the management operation is the file copy operation type, the copy progress of the target file is displayed in the second file area.
本申请实施例中,当管理操作的操作类型为文件复制操作类型时,在第二文件区域显示目标文件的提示信息,该提示信息包括复制进度,如已复制完成45%,除此之外,还可以包括其他信息,如预计复制完成所需的时间等。In the embodiment of the present application, when the operation type of the management operation is the file copy operation type, prompt information of the target file is displayed in the second file area, and the prompt information includes the copy progress. Other information may also be included, such as the estimated time it will take for the replication to complete.
步骤S104,当管理操作的操作类型为文件移动操作类型时,在第二文件区域显示目标文件的移动进度。Step S104, when the operation type of the management operation is the file moving operation type, the moving progress of the target file is displayed in the second file area.
本申请实施例中,当管理操作的操作类型为文件移动操作类型时,在第二文件区域显示目标文件的提示信息,该提示信息包括移动进度,如已移动完成3%,除此之外,还可以包括其他信息,如预计移动完成所需的时间等。In the embodiment of the present application, when the operation type of the management operation is the file moving operation type, prompt information of the target file is displayed in the second file area, and the prompt information includes the moving progress. Other information may also be included, such as the estimated time it will take for the move to complete.
本申请实施例中,在第二文件区域显示目标文件的提示信息,包括复制进度和/或移动进度,一方面可以直观的显示目标文件的复制进度和/或移动进度,便于用户了解,另一方面,可以防止提示信息对第一文件区域造成遮挡,影响用户对第一文件区域中的文件进行管理操作,提升用户体验。In the embodiment of the present application, the prompt information of the target file is displayed in the second file area, including the copy progress and/or the move progress. In one aspect, the prompt information can be prevented from blocking the first file area, which affects the user's management operations on the files in the first file area, and improves user experience.
需要说明的是,当管理操作的操作类型为文件删除操作类型时,可以在第一文件区域显示或者不显示目标文件的删除进度,当第二文件区域与第一文件区域同时设置在电子设备的显示屏中时,还可以在第二文件区域显示或者不显示目标文件的删除进度。It should be noted that, when the operation type of the management operation is the file deletion operation type, the deletion progress of the target file may or may not be displayed in the first file area. When the second file area and the first file area are simultaneously set in the electronic device When the display screen is displayed, the deletion progress of the target file may or may not be displayed in the second file area.
同样地,当管理操作的操作类型为文件改名操作类型时,可以在第一文件区域显示或者不显示目标文件的改名进度,当第二文件区域与第一文件区域同时设置在电子设备的显示屏中时,还可以在第二文件区域显示或者不显示目标文件的改名进度,在此不做限定。Similarly, when the operation type of the management operation is the file renaming operation type, the renaming progress of the target file may or may not be displayed in the first file area. When the second file area and the first file area are simultaneously set on the display screen of the electronic device In the middle, the renaming progress of the target file may or may not be displayed in the second file area, which is not limited here.
本申请实施例的另一种可能实现方式,步骤S101,即当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型,具体可以包括步骤S1011。Another possible implementation manner of the embodiment of the present application, step S101, that is, when it is detected that the user performs a management operation on the target file in the first file area, identifying the operation type of the management operation, which may specifically include step S1011.
步骤S1011,当检测到用户在目标区域中对目标文件实施滑动操作时,识别滑动操作的滑动轨迹对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型。Step S1011, when it is detected that the user performs a sliding operation on the target file in the target area, the operation type corresponding to the sliding track of the sliding operation is identified, and the identified operation type is used as the operation type of the management operation.
其中,目标区域为第一文件区域中目标文件对应的操作区域。The target area is an operation area corresponding to the target file in the first file area.
本申请实施例中,第一文件区域中包括至少一个文件,第一文件区域中每一个文件对应的操作区域可以记为第一区域,即第一文件区域中包括至少一个第一区域,其中,当第一区域为目标文件对应的操作区域时,该第一区域为目标区域,用户可以在目标区域对目标文件执行滑动操作。In the embodiment of the present application, the first file area includes at least one file, and the operation area corresponding to each file in the first file area may be recorded as the first area, that is, the first file area includes at least one first area, wherein, When the first area is the operation area corresponding to the target file, the first area is the target area, and the user can perform a sliding operation on the target file in the target area.
如图2所示,该第一文件区域中包括文件1-4各自对应的操作区域,分别记为第一区域1-4,其中,第一区域1为目标区域,即标号21所指示的区域,用户可以在第一区域1对文件1执行滑动操作,即在第一区域1滑“+”;第一区域2为目标区域,即标号22所指示的区域,用户可以在第一区域2对文件2执行滑动操作,即在第一区域2滑“×”。As shown in FIG. 2 , the first file area includes respective operation areas corresponding to files 1-4, which are respectively denoted as the first area 1-4, wherein the first area 1 is the target area, that is, the area indicated by the
本申请实施例,预先建立滑动轨迹与操作类型之间的对应关系,当检测到用户在目标区域中对目标文件实施滑动操作时,识别滑动操作的滑动轨迹对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型。In this embodiment of the present application, the correspondence between the sliding trajectory and the operation type is established in advance, and when it is detected that the user performs a sliding operation on the target file in the target area, the operation type corresponding to the sliding trajectory of the sliding operation is identified, and the identified Operation type, as the operation type of the management operation.
例如,预先建立滑动轨迹“+”为文件复制操作类型,滑动轨迹“→”为文件移动操作类型,滑动轨迹“×”为文件删除操作类型,滑动轨迹“O”为文件改名操作类型,在图2中,当检测到在第一区域1滑“+”,识别滑动轨迹“+”对应的操作类型为文件复制操作类型,则管理操作的操作类型为文件复制操作类型;当检测到在第一区域2滑“×”,识别滑动轨迹“×”对应的操作类型为文件删除操作类型,则管理操作的操作类型为文件删除操作类型。For example, the pre-established sliding track "+" is the file copy operation type, the sliding track "→" is the file moving operation type, the sliding track "×" is the file deletion operation type, and the sliding track "O" is the file renaming operation type. In 2, when it is detected that a "+" is slid in the first area, the operation type corresponding to the identified sliding track "+" is a file copy operation type, then the operation type of the management operation is a file copy operation type; Slide "X" in area 2, identify the operation type corresponding to the sliding track "X" is the file deletion operation type, and the operation type of the management operation is the file deletion operation type.
本申请实施例的另一种可能实现方式,步骤S101,即当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型,具体可以包括步骤S1012。Another possible implementation manner of the embodiment of the present application, step S101, that is, when it is detected that the user performs a management operation on the target file in the first file area, identifying the operation type of the management operation, which may specifically include step S1012.
步骤S1012,当检测到用户将第一文件区域中的目标文件滑动至目标区域的操作时,识别目标区域对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型。Step S1012, when an operation of sliding the target file in the first file area to the target area is detected, the operation type corresponding to the target area is identified, and the identified operation type is used as the operation type of the management operation.
其中,目标区域为设定的操作区域,且目标区域设置在第一文件区域中、或者不设置在第一文件区域中。The target area is a set operation area, and the target area is set in the first file area or not set in the first file area.
本申请实施例中,显示界面中包括各个操作类型对应的第二区域,任一个第二区域为设定的操作区域,任一个第二区域可以位于第一文件区域中,也可以不位于第一文件区域中。其中,任一个第二区域可以作为目标区域,用户可以将第一文件区域中的目标文件滑动至目标区域中。In this embodiment of the present application, the display interface includes second areas corresponding to each operation type, any second area is a set operation area, and any second area may be located in the first file area, or may not be located in the first file area. in the file area. Wherein, any second area can be used as the target area, and the user can slide the target file in the first file area to the target area.
如图3所示,第一文件区域包括文件a、b以及c,且第一文件区域中包括4个第二区域,分别为标号31-34各自所指示的区域。可以将标号31所指示的区域作为目标区域,将文件a滑动至标号31所指示的区域中;也可以将标号33所指示的区域作为目标区域,将文件c滑动至标号33所指示的区域中。As shown in FIG. 3 , the first file area includes files a, b, and c, and the first file area includes four second areas, which are respectively the areas indicated by the numerals 31-34. The area indicated by
本申请实施例中,预先建立第二区域与操作类型之间的对应关系,当检测到用户将第一文件区域中的目标文件滑动至目标区域的操作时,识别目标区域对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型。In the embodiment of the present application, the correspondence between the second area and the operation type is established in advance, and when the user's operation of sliding the target file in the first file area to the target area is detected, the operation type corresponding to the target area is identified, and Use the recognized operation type as the operation type of the management operation.
例如,预先建立标号31所指示的区域对应的操作类型为文件复制操作类型,标号32所指示的区域对应的操作类型为文件移动操作类型,标号33所指示的区域对应的操作类型为文件删除操作类型,标号34所指示的区域对应的操作类型为文件改名操作类型。当检测到将文件a滑动至标号31所指示的区域的操作时,识别标号31所指示的区域对应的操作类型为文件复制操作类型,则管理操作的操作类型为文件复制操作类型;当检测到将文件c滑动至标号33所指示的区域的操作时,识别标号33所指示的区域对应的操作类型为文件删除操作类型,则管理操作的操作类型为文件删除操作类型。For example, it is pre-established that the operation type corresponding to the area indicated by the
本申请实施例的另一种可能实现方式,文件管理方法应用于电子设备,该电子设备的显示屏为至少两个,第一文件区域和第二文件区域分别设置在电子设备的不同显示屏中。In another possible implementation of the embodiments of the present application, the file management method is applied to an electronic device, the electronic device has at least two display screens, and the first file area and the second file area are respectively set in different display screens of the electronic device .
本申请实施例中,当电子设备的显示屏为至少两个,则第一文件区域和第二文件区域可以分别设置在电子设备的不同显示屏中。In the embodiment of the present application, when there are at least two display screens of the electronic device, the first document area and the second document area may be respectively set in different display screens of the electronic device.
本申请实施例中,第一文件区域和第二文件区域分别设置在电子设备的不同显示屏中,可以使显示屏中尽可能多的显示第一文件区域中的文件和/或第二文件区域中的文件,同时由于一个显示屏中设置一个文件区域,便于用户对目标文件进行文件管理,降低因显示屏尺寸较小而导致用户不方便进行文件管理。In this embodiment of the present application, the first file area and the second file area are respectively set in different display screens of the electronic device, so that as many files and/or second file areas in the first file area can be displayed on the display screen as possible At the same time, because a file area is set in one display screen, it is convenient for users to manage the target files, reducing the inconvenience for users to manage files due to the small size of the display screen.
当然,根据实际应用情况,当电子设备的显示屏仅为一个时,第一文件区域和第二文件区域可以同时设置在该电子设备的显示屏中;或者,当电子设备的显示屏为至少两个时,第一文件区域和第二文件区域也可以同时设置在该电子设备的一个显示屏中。Of course, according to the actual application, when there is only one display screen of the electronic device, the first file area and the second file area can be set in the display screen of the electronic device at the same time; or, when the display screen of the electronic device is at least two In one case, the first document area and the second document area may also be simultaneously set in one display screen of the electronic device.
本申请实施例的另一种可能实现方式,第一文件区域中的文件和第二文件区域中的文件,存储在同一个存储空间中、或者存储在不同的存储空间中。In another possible implementation manner of the embodiment of the present application, the files in the first file area and the files in the second file area are stored in the same storage space, or are stored in different storage spaces.
本申请实施例中,第一文件区域中的文件和第二文件区域中的文件,可以存储在同一个存储空间中。例如,第一文件区域中的文件和第二文件区域中的文件,均可以存储在电子设备的随机存取存储器(Random Access Memory,RAM)中,其中,RAM可以为电子设备的内部存储器。In this embodiment of the present application, the files in the first file area and the files in the second file area may be stored in the same storage space. For example, both the files in the first file area and the files in the second file area may be stored in a random access memory (Random Access Memory, RAM) of the electronic device, where the RAM may be an internal memory of the electronic device.
本申请实施例中,第一文件区域中的文件和第二文件区域中的文件,也可以存储在不同的存储空间中。例如第一文件区域中的文件可以存储在RAM中,第二文件区域中的文件可以存储在安全数码卡(Secure Digital Memory Card,SD卡)中。In this embodiment of the present application, the files in the first file area and the files in the second file area may also be stored in different storage spaces. For example, the files in the first file area may be stored in RAM, and the files in the second file area may be stored in a secure digital memory card (Secure Digital Memory Card, SD card).
上述从方法步骤的角度具体阐述了文件管理方法,下面从虚拟模块或者虚拟单元的角度介绍文件管理装置,具体如下所示:The above describes the file management method from the perspective of method steps. The following describes the file management device from the perspective of virtual modules or virtual units, as follows:
本申请实施例提供了一种文件管理装置,如图4所示,该文件管理装置40可以包括:识别模块401以及执行显示模块402,其中,An embodiment of the present application provides a file management apparatus. As shown in FIG. 4 , the file management apparatus 40 may include: an
识别模块401,用于当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型。The
执行显示模块402,用于若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。The execution display module 402 is configured to, if the operation type of the management operation is a preset operation type, perform the management operation on the target file in the first file area, and display the result of the management operation in the second file area.
本申请实施例的另一种可能实现方式,预设操作类型为文件复制操作类型或文件移动操作类型。In another possible implementation manner of the embodiment of the present application, the preset operation type is a file copy operation type or a file move operation type.
本申请实施例的另一种可能实现方式,文件管理装置40还包括第一显示模块和第二显示模块,其中,In another possible implementation manner of the embodiment of the present application, the file management apparatus 40 further includes a first display module and a second display module, wherein,
第一显示模块,用于当管理操作的操作类型为文件复制操作类型时,在第二文件区域显示目标文件的复制进度。The first display module is configured to display the copy progress of the target file in the second file area when the operation type of the management operation is the file copy operation type.
第二显示模块,用于当管理操作的操作类型为文件移动操作类型时,在第二文件区域显示目标文件的移动进度。The second display module is configured to display the moving progress of the target file in the second file area when the operation type of the management operation is the file moving operation type.
本申请实施例的另一种可能实现方式,识别模块401具体用于:In another possible implementation manner of the embodiment of the present application, the
当检测到用户在目标区域中对目标文件实施滑动操作时,识别滑动操作的滑动轨迹对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型;When it is detected that the user performs a sliding operation on the target file in the target area, the operation type corresponding to the sliding track of the sliding operation is identified, and the identified operation type is used as the operation type of the management operation;
其中,目标区域为第一文件区域中目标文件对应的操作区域。The target area is an operation area corresponding to the target file in the first file area.
本申请实施例的另一种可能实现方式,识别模块401具体用于:In another possible implementation manner of the embodiment of the present application, the
当检测到用户将第一文件区域中的目标文件滑动至目标区域的操作时,识别目标区域对应的操作类型,并将识别到的操作类型,作为管理操作的操作类型;When detecting the operation of the user sliding the target file in the first file area to the target area, identify the operation type corresponding to the target area, and use the identified operation type as the operation type of the management operation;
其中,目标区域为设定的操作区域;Among them, the target area is the set operation area;
目标区域设置在第一文件区域中、或者不设置在第一文件区域中。The target area is set in the first document area or not in the first document area.
本申请实施例的另一种可能实现方式,该文件管理装置40设置在电子设备中,电子设备的显示屏为至少两个,第一文件区域和第二文件区域分别设置在电子设备的不同显示屏中。In another possible implementation of the embodiment of the present application, the file management apparatus 40 is provided in an electronic device, the electronic device has at least two display screens, and the first file area and the second file area are respectively set on different displays of the electronic device. on the screen.
本申请实施例的另一种可能实现方式,第一文件区域中的文件和第二文件区域中的文件,存储在同一个存储空间中、或者存储在不同的存储空间中。In another possible implementation manner of the embodiment of the present application, the files in the first file area and the files in the second file area are stored in the same storage space, or are stored in different storage spaces.
本实施例的文件管理装置可执行本申请上述任一实施例所示的文件管理方法,其实现原理相类似,此处不再赘述。The file management apparatus of this embodiment can execute the file management method shown in any of the above-mentioned embodiments of the present application, and the implementation principle thereof is similar, and details are not described herein again.
本申请实施例提供了一种文件管理装置,与现有技术相比,本申请实施例当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。对于移动终端等电子设备,由于双屏移动终端具有两个显示屏,多屏移动终端具有至少两个显示屏,使得第一文件区域与第二文件区域可以设置在电子设备的不同显示屏上,从而便于用户对一个文件区域中的文件执行管理操作,在另一个文件区域中显示管理操作的结果,降低了操作复杂度,节省了时间资源,提升了显示效果,改善了用户体验。The embodiment of the present application provides a file management device. Compared with the prior art, the embodiment of the present application identifies the operation type of the management operation when it is detected that the user performs a management operation on the target file in the first file area; The operation type of the operation is a preset operation type, the management operation is performed on the target file in the first file area, and the result of the management operation is displayed in the second file area. For electronic devices such as mobile terminals, since a dual-screen mobile terminal has two display screens, and a multi-screen mobile terminal has at least two display screens, the first file area and the second file area can be set on different display screens of the electronic device. Therefore, it is convenient for a user to perform management operations on files in one file area, and display the results of the management operations in another file area, which reduces operation complexity, saves time and resources, improves display effects, and improves user experience.
上述从虚拟模块或者虚拟单元的角度介绍本申请的文件管理装置,下面从实体装置的角度介绍本申请的电子设备。The file management apparatus of the present application is described above from the perspective of a virtual module or virtual unit, and the electronic device of the present application is described below from the perspective of an entity device.
本申请实施例提供了一种电子设备,如图5所示,图5所示的电子设备4000包括:处理器4001和存储器4003。其中,处理器4001和存储器4003相连,如通过总线4002相连。可选地,电子设备4000还可以包括收发器4004。需要说明的是,实际应用中收发器4004不限于一个,该电子设备4000的结构并不构成对本申请实施例的限定。An embodiment of the present application provides an electronic device. As shown in FIG. 5 , the
处理器4001可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器4001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The
总线4002可包括一通路,在上述组件之间传送信息。总线4002可以是PCI总线或EISA总线等。总线4002可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
存储器4003可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The
存储器4003用于存储执行本申请方案的应用程序代码,并由处理器4001来控制执行。处理器4001用于执行存储器4003中存储的应用程序代码,以实现前述任一方法实施例所示的内容。The
本申请实施例提供了一种电子设备,本申请实施例中的电子设备包括:存储器和处理器;至少一个程序,存储于所述存储器中,用于被所述处理器执行时,与现有技术相比可实现:当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。对于移动终端等电子设备,由于双屏移动终端具有两个显示屏,多屏移动终端具有至少两个显示屏,使得第一文件区域与第二文件区域可以设置在电子设备的不同显示屏上,从而便于用户对一个文件区域中的文件执行管理操作,在另一个文件区域中显示管理操作的结果,降低了操作复杂度,节省了时间资源,提升了显示效果,改善了用户体验。An embodiment of the present application provides an electronic device, and the electronic device in the embodiment of the present application includes: a memory and a processor; at least one program, stored in the memory, is used for, when executed by the processor, to be compatible with existing Compared with the technology, it can be realized: when it is detected that the user performs a management operation on the target file in the first file area, the operation type of the management operation is identified; if the operation type of the management operation is a preset operation type, the target file in the first file area The file performs a management operation, and the result of the management operation is displayed in the second file area. For electronic devices such as mobile terminals, since a dual-screen mobile terminal has two display screens, and a multi-screen mobile terminal has at least two display screens, the first file area and the second file area can be set on different display screens of the electronic device. Therefore, it is convenient for a user to perform management operations on files in one file area, and display the results of the management operations in another file area, which reduces operation complexity, saves time and resources, improves display effects, and improves user experience.
上述从实体装置的角度介绍本申请的电子设备,下面从存储介质的角度介绍本申请的计算机可读存储介质。The electronic device of the present application is described above from the perspective of a physical device, and the computer-readable storage medium of the present application is described below from the perspective of a storage medium.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述方法实施例中相应内容。与现有技术相比,当检测到用户对第一文件区域中的目标文件实施管理操作时,识别管理操作的操作类型;若管理操作的操作类型为预设操作类型,在第一文件区域对目标文件执行管理操作,在第二文件区域显示管理操作的结果。对于移动终端等电子设备,由于双屏移动终端具有两个显示屏,多屏移动终端具有至少两个显示屏,使得第一文件区域与第二文件区域可以设置在电子设备的不同显示屏上,从而便于用户对一个文件区域中的文件执行管理操作,在另一个文件区域中显示管理操作的结果,降低了操作复杂度,节省了时间资源,提升了显示效果,改善了用户体验。Embodiments of the present application provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program runs on the computer, the computer can execute the corresponding content in the foregoing method embodiments. Compared with the prior art, when it is detected that the user performs a management operation on the target file in the first file area, the operation type of the management operation is identified; The target file executes the management operation, and the result of the management operation is displayed in the second file area. For electronic devices such as mobile terminals, since a dual-screen mobile terminal has two display screens, and a multi-screen mobile terminal has at least two display screens, the first file area and the second file area can be set on different display screens of the electronic device. Therefore, it is convenient for a user to perform management operations on files in one file area, and display the results of the management operations in another file area, which reduces operation complexity, saves time and resources, improves display effects, and improves user experience.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the accompanying drawings are sequentially shown in the order indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution sequence is also It does not have to be performed sequentially, but may be performed alternately or alternately with other steps or at least a portion of sub-steps or stages of other steps.
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only part of the embodiments of the present application. It should be pointed out that for those skilled in the art, without departing from the principles of the present application, several improvements and modifications can also be made. It should be regarded as the protection scope of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010717890.3A CN111858493A (en) | 2020-07-23 | 2020-07-23 | File management method, device, electronic device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010717890.3A CN111858493A (en) | 2020-07-23 | 2020-07-23 | File management method, device, electronic device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111858493A true CN111858493A (en) | 2020-10-30 |
Family
ID=72949736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010717890.3A Pending CN111858493A (en) | 2020-07-23 | 2020-07-23 | File management method, device, electronic device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111858493A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365529A (en) * | 2012-04-05 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Icon management method and mobile terminal |
CN106126036A (en) * | 2016-06-30 | 2016-11-16 | 北京奇虎科技有限公司 | The batch processing method of a kind of icon, device and mobile terminal |
CN109782976A (en) * | 2019-01-15 | 2019-05-21 | Oppo广东移动通信有限公司 | file processing method, device, terminal and storage medium |
CN111008179A (en) * | 2019-11-27 | 2020-04-14 | 维沃移动通信有限公司 | A file management method and electronic device |
-
2020
- 2020-07-23 CN CN202010717890.3A patent/CN111858493A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365529A (en) * | 2012-04-05 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Icon management method and mobile terminal |
CN106126036A (en) * | 2016-06-30 | 2016-11-16 | 北京奇虎科技有限公司 | The batch processing method of a kind of icon, device and mobile terminal |
CN109782976A (en) * | 2019-01-15 | 2019-05-21 | Oppo广东移动通信有限公司 | file processing method, device, terminal and storage medium |
CN111008179A (en) * | 2019-11-27 | 2020-04-14 | 维沃移动通信有限公司 | A file management method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8924858B2 (en) | Touch-based system for transferring data | |
JP6142580B2 (en) | Information processing system, information registration method, conference apparatus, and program | |
US9449027B2 (en) | Apparatus and method for representing and manipulating metadata | |
CN105868353A (en) | Photograph clearing method and terminal | |
CN111859856A (en) | Information display method, device, electronic device and storage medium | |
CN102591566A (en) | Device and method for searching for an electronic-book in a portable terminal | |
Wolf et al. | The paper-like interface | |
CN109710147A (en) | Folder switching method, terminal and computer storage medium | |
CN110109591B (en) | Picture editing method and device | |
CN106648349A (en) | Information displaying method and device | |
CN111858493A (en) | File management method, device, electronic device and medium | |
CN108469938B (en) | E-book reading reminder method, device and terminal device | |
CN107450891A (en) | Paging control implementation method, device and equipment | |
CN104793963B (en) | Information makes a copy of method and device | |
CN116756099A (en) | Display method and device | |
CN108595569B (en) | File path copy method, file path copy device and mobile terminal | |
JP2013073441A (en) | Display control method and display control program | |
CN110688035B (en) | Photo album processing method, photo album processing device and mobile terminal | |
CN103650027B (en) | Method and apparatus for causing a portion of at least one content item to be highlighted relative to another portion of the at least one content item during movement of the content item | |
CN114461585A (en) | File classification method, computing device and readable storage medium | |
CN113988023A (en) | A note-taking method, device, storage medium and terminal device for multimedia files | |
CN111954873B (en) | Presents an overview of the components in the file | |
CN115904569A (en) | Resource sharing method and device, electronic equipment and storage medium | |
Mistry et al. | SPARSH: touch the cloud | |
WO2019242585A1 (en) | Picture browsing method, apparatus, mobile terminal, and computer readable 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 |
Application publication date: 20201030 |
|
RJ01 | Rejection of invention patent application after publication |