File control method and electronic equipment

文档序号:1543592 发布日期:2020-01-17 浏览:5次 中文

阅读说明:本技术 一种文件控制方法及电子设备 (File control method and electronic equipment ) 是由 柳达强 于 2019-09-29 设计创作,主要内容包括:本发明实施例提供一种文件控制方法及电子设备,涉及通信技术领域,以解决现有的电子设备整理文件的效率较低的问题。该方法包括:显示至少一个文件;接收用户针对至少一个目标文件的第一输入,至少一个目标文件为至少一个文件中的文件;响应于第一输入,以预设模式显示与至少一个目标文件对应的第一文件夹,和/或,创建并显示与至少一个目标文件相对应的第二文件夹。该方法应用于电子设备整理文件的场景中。(The embodiment of the invention provides a file control method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the existing electronic equipment is low in file arrangement efficiency. The method comprises the following steps: displaying at least one file; receiving first input of a user aiming at least one target file, wherein the at least one target file is a file in at least one file; and responding to the first input, displaying a first folder corresponding to at least one target file in a preset mode, and/or creating and displaying a second folder corresponding to at least one target file. The method is applied to a scene of arranging files by the electronic equipment.)

1. A file control method is applied to electronic equipment, and is characterized by comprising the following steps:

displaying at least one file;

receiving first input of a user aiming at least one target file, wherein the at least one target file is a file in the at least one file;

responding to the first input, and displaying a first folder corresponding to the at least one target file in a preset mode; and/or creating and displaying a second folder corresponding to the at least one target file.

2. The method according to claim 1, wherein displaying the first folder corresponding to the at least one target file in a preset mode comprises:

identifying the content of the at least one target file to obtain first information;

and determining the first folder corresponding to the first information according to the first information, and displaying the first folder in the preset mode.

3. The method of claim 2, wherein the at least one target document is at least one image;

the identifying the content of the at least one target file to obtain first information comprises:

and identifying the content of the at least one image by adopting an image identification technology to obtain the first information.

4. The method of claim 1, wherein the screen of the electronic device is a foldable screen;

the displaying at least one file includes:

displaying the at least one file in a first area of the screen;

the displaying a first folder corresponding to the at least one target file in a preset mode, and/or creating and displaying a second folder corresponding to the at least one target file, includes:

displaying the first folder in a second area of the screen in a preset mode; and/or creating and displaying the second folder in a second area of the screen.

5. The method of claim 1, wherein after displaying the first folder corresponding to the at least one target file in the preset mode, the method further comprises:

receiving a second input of the user, wherein the second input is an input of dragging the at least one target file to a third folder;

in response to the second input, switching from displaying the first folder in the preset mode to displaying the third folder in the preset mode.

6. The method of claim 1, wherein the preset mode is any one of: highlight display mode, preset color display mode and amplification display mode.

7. The method of claim 1, wherein creating and displaying a second folder corresponding to the at least one target file comprises:

creating and displaying the second folder in the absence of a folder corresponding to the contents of the at least one target file;

alternatively, the first and second electrodes may be,

and under the condition that the input parameters of the first input accord with preset parameters, creating and displaying the second folder.

8. An electronic device, comprising a first display module, a first receiving module, and a second display module;

the first display module is used for displaying at least one file;

the first receiving module is configured to receive a first input of a user for at least one target file, where the at least one target file is a file in the at least one file displayed by the first display module;

the second display module is used for responding to the first input received by the first receiving module and displaying a first folder corresponding to the at least one target file in a preset mode; and/or creating and displaying a second folder corresponding to the at least one target file.

9. The electronic device of claim 8, wherein the second display module includes an identification sub-module, a determination sub-module, and a first display sub-module;

the identification submodule is used for identifying the at least one target file to obtain first information;

the determining submodule is used for determining the first folder corresponding to the first information according to the first information obtained by the identifying submodule;

the first display submodule is configured to display the first folder determined by the determination submodule in the preset mode.

10. The electronic device of claim 9, wherein the at least one target file is at least one image;

the identification submodule comprises an identification unit;

the identification unit is configured to identify content of the at least one image by using an image identification technology, so as to obtain the first information.

11. The electronic device of claim 8, wherein the screen of the electronic device is a foldable screen;

the first display module comprises a second display submodule;

the second display submodule is used for displaying the at least one file in a first area of the screen;

the second display module comprises a third display sub-module;

the third display sub-module is used for displaying the first folder in a second area of the screen in a preset mode; and/or creating and displaying the second folder in a second area of the screen.

12. The electronic device of claim 8, further comprising a second receiving module and a third display module;

the second receiving module is configured to receive a second input of the user after the second display module displays the first folder corresponding to the at least one target file in a preset mode, where the second input is an input of dragging the at least one target file to a third folder;

the third display module is configured to switch from displaying the first folder in the preset mode to displaying the third folder in the preset mode in response to the second input received by the second receiving module.

13. The electronic device of claim 8, wherein the preset mode is any one of: highlight display mode, preset color display mode and amplification display mode.

14. The electronic device of claim 8, wherein the second display module includes a fourth display sub-module and a fifth display sub-module,

the fourth display submodule is used for creating and displaying the second folder under the condition that no folder corresponding to the content of the at least one target file exists;

alternatively, the first and second electrodes may be,

and the fifth display submodule is used for creating and displaying the second folder under the condition that the input parameters of the first input accord with preset parameters.

15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the file control method according to any one of claims 1 to 7.

16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the file control method according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of communication, in particular to a file control method and electronic equipment.

Background

With the rapid development of communication technology, electronic devices are more and more widely used, and users have higher and higher requirements for the performance of the electronic devices.

Currently, a large number of files, such as documents, audio, and photos, may be stored in electronic devices. Typically, the user may trigger the electronic device to save different files in different folders. Taking photos stored in the electronic equipment as an example, if a user wants to trigger the electronic equipment to store the same type of photos in the electronic equipment in an album folder, the user can trigger the electronic equipment to create the album folder in an album list interface of the electronic equipment; then selecting a photo in a photo list interface of the electronic equipment; and finally, the user selects the album folder in the album list interface, so that the electronic equipment can be triggered to store the photos selected by the user in the album folder.

However, according to the method, when a user wants to trigger the electronic device to arrange a certain type of files in the electronic device, the user needs to trigger the electronic device to switch the display between different interfaces many times, which results in low efficiency of arranging files by the electronic device.

Disclosure of Invention

The embodiment of the invention provides a file control method and electronic equipment, and aims to solve the problem that the existing electronic equipment is low in file arrangement efficiency.

In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:

in a first aspect, an embodiment of the present invention provides a file control method, where the method includes: displaying at least one file; receiving a first input of a user aiming at least one target file, wherein the at least one target file is a file in the at least one file; and in response to the first input, displaying a first folder corresponding to the at least one target file in a preset mode, and/or creating and displaying a second folder corresponding to the at least one target file.

In a second aspect, an embodiment of the present invention provides an electronic device. The electronic equipment comprises a first display module, a first receiving module and a second display module. The first display module is used for displaying at least one file; the first receiving module is used for receiving first input of a user aiming at least one target file, wherein the at least one target file is a file in the at least one file displayed by the first display module; and the second display module is used for responding to the first input received by the first receiving module, displaying the first folder corresponding to the at least one target file in a preset mode, and/or creating and displaying the second folder corresponding to the at least one target file.

In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the file control method in the first aspect.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the file control method in the first aspect.

In an embodiment of the present invention, at least one file may be displayed; receiving a first input of a user for at least one target file, wherein the at least one target file is a file in at least one file; responding to a first input, and displaying a first folder corresponding to the at least one target file in a preset mode; and/or creating and displaying a second folder corresponding to the at least one target file. By the scheme, the electronic equipment can display the first folder in the preset mode under the condition that the electronic equipment receives the first input of the user for the at least one target file; and/or creating and displaying a second folder, so that when the user wants to trigger the electronic device to sort the files displayed by the electronic device, the user can trigger the electronic device to display and/or create and display the folder corresponding to the files which the user wants to sort through the first input. Therefore, the user can directly trigger the electronic equipment to store the files into the folders corresponding to the files, so that the user can quickly trigger the electronic equipment to arrange the files in the electronic equipment, and the efficiency of arranging the files by the electronic equipment can be improved.

Drawings

Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;

FIG. 2 is a diagram illustrating a file control method according to an embodiment of the present invention;

FIG. 3 is a second schematic diagram of a file control method according to an embodiment of the present invention;

FIG. 4 is a schematic view of an interface applied to a file control method according to an embodiment of the present invention;

FIG. 5 is a third schematic diagram of a file control method according to an embodiment of the present invention;

FIG. 6 is a second schematic interface diagram of an application of the file control method according to the embodiment of the present invention;

FIG. 7 is a fourth schematic diagram illustrating a file control method according to an embodiment of the present invention;

FIG. 8 is a fifth schematic view illustrating a file control method according to an embodiment of the present invention;

FIG. 9 is a sixth schematic view illustrating a document control method according to an embodiment of the present invention;

FIG. 10 is a seventh schematic diagram illustrating a document control method according to an embodiment of the present invention;

FIG. 11 is a third schematic interface diagram of an application of the file control method according to the embodiment of the present invention;

FIG. 12 is a fourth schematic view of an interface applied by the file control method according to the embodiment of the present invention;

fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;

fig. 14 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像裁剪方法和装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类