CN110703972B - File control method and electronic equipment - Google Patents

File control method and electronic equipment Download PDF

Info

Publication number
CN110703972B
CN110703972B CN201910935525.7A CN201910935525A CN110703972B CN 110703972 B CN110703972 B CN 110703972B CN 201910935525 A CN201910935525 A CN 201910935525A CN 110703972 B CN110703972 B CN 110703972B
Authority
CN
China
Prior art keywords
folder
file
electronic device
input
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.)
Active
Application number
CN201910935525.7A
Other languages
Chinese (zh)
Other versions
CN110703972A (en
Inventor
柳达强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910935525.7A priority Critical patent/CN110703972B/en
Publication of CN110703972A publication Critical patent/CN110703972A/en
Priority to PCT/CN2020/108684 priority patent/WO2021057301A1/en
Application granted granted Critical
Publication of CN110703972B publication Critical patent/CN110703972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/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)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

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.

Description

File control method and electronic equipment
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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
Some terms/nouns referred to in the embodiments of the present invention are explained below.
And (3) interaction state: refers to a plurality of objects which can mutually acquire the information of each object. For example, when the first area and the second area are in an interactive state in the embodiment of the present invention, the first area may acquire an operation received by the second area and content in the second area; accordingly, the second area may acquire the operation received by the first area and the content in the first area.
The embodiment of the invention provides a file control method and electronic equipment, which can display at least one file; 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.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the file control method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the file control method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the file control method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the file control method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic equipment in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the file control method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the file control method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the file control method provided by the embodiment of the present invention.
In the embodiment of the invention, various types of files, such as document files, audio files, photo files and the like, can be stored in the electronic equipment. Typically, if a user wants to trigger the electronic device to sort a certain type of files, the user may trigger the electronic device to save some of the type of files in a folder to trigger the electronic device to sort the type of files. Specifically, in the case that the electronic device displays the file of the type (e.g., at least one file in the embodiment of the present invention), the user may trigger the electronic device to display the folder corresponding to the files (e.g., the first folder in the embodiment of the present invention) and/or create and display the folder corresponding to the files (e.g., the second folder in the embodiment of the present invention) through an input (e.g., the first input) to the file in the at least one file. Therefore, the user can trigger the electronic equipment to store the files into the first folder or the second folder, so that the user can quickly trigger the electronic equipment to arrange the files in the electronic equipment, and the file arranging efficiency of the electronic equipment can be improved.
The following provides an exemplary description of a file control method according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a file control method, which includes following steps S201 to S203.
S201, the electronic equipment displays at least one file.
S202, the electronic equipment receives 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.
S203, the electronic equipment responds to the first input and displays 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 the embodiment of the present invention, when a user wants to trigger the electronic device to arrange files in the electronic device, the user may trigger the electronic device to display the first folder in a preset mode and/or create and display the second folder through a first input for the at least one target file. Therefore, the user can trigger the electronic equipment to store the at least one target file into the first folder or the second folder according to the use requirement of the user, and the electronic equipment can be rapidly triggered to arrange the files in the electronic equipment.
Optionally, in this embodiment of the present invention, the file types to which the at least one file belongs may be the same. Correspondingly, the file types to which the at least one target file belongs may also be the same.
Optionally, in this embodiment of the present invention, the at least one file may be all files or part of files in files of the same file type stored in the electronic device.
Optionally, in this embodiment of the present invention, the file type to which the at least one file belongs may be any possible file type, such as a document type, a music type, a video type, a photo type, and the like. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In this embodiment of the present invention, the file type to which the at least one target file belongs may be the same as the file type to which the at least one file belongs.
Optionally, in this embodiment of the present invention, the electronic device may simultaneously display the at least one file and folders (e.g., the first folder, the second folder, and the like) for storing the files, which may be simultaneously displayed in different areas of a screen of the electronic device, so that a user may trigger the electronic device to store the file (e.g., the at least one target file) in a certain folder without triggering the electronic device to display different interfaces.
Illustratively, in conjunction with fig. 2, as shown in fig. 3, S201 may be implemented by S201a described below, and S203 may be implemented by S203a described below.
S201a, the electronic device displays at least one file in a first area of a screen of the electronic device.
S203a, the electronic device, in response to the first input, displays the first folder in a preset mode in the second area of the screen of the electronic device, and/or creates and displays the second folder in the second area of the screen of the electronic device.
In an embodiment of the present invention, in a case that a screen of the electronic device is a foldable screen, the electronic device may display the at least one file in the first area, and after the electronic device receives the first input, the electronic device may display the first folder in a preset mode in the second area, and/or create and display the second folder in the second area.
Optionally, in this embodiment of the present invention, the first area and the second area may be in an interactive state.
Optionally, in this embodiment of the present invention, the first area and the second area may be areas on a screen of the electronic device; alternatively, the first area and the second area may be areas on different screens of the electronic device.
It is to be understood that, when the first area and the second area are areas on different screens, the first area and the second area may be all areas on different screens or partial areas on different screens, respectively. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, the first area may be a whole area or a partial area on a first screen of the electronic device, and the second area may be a whole area or a partial area on a second screen of the electronic device.
It should be noted that, in the embodiment of the present invention, the first area is an entire area on a first screen of the electronic device, and the second area is an entire area on a second screen of the electronic device. For the control mode that the first area is a partial area on the first screen of the electronic device, the control mode that the second area is a partial area on the first screen of the electronic device or a partial area on the second screen of the electronic device is similar to the control mode that the first area is a whole area on the first screen of the electronic device, and the second area is a whole area on the second screen of the electronic device, the embodiment of the present invention is not repeated in order to avoid repetition.
Optionally, in this embodiment of the present invention, before the electronic device does not respond to the first input, the electronic device may display at least one folder in the second area. Wherein the at least one folder comprises the first folder.
In an embodiment of the present invention, the file type to which the file stored in the at least one folder belongs is the same as the file type to which the at least one file belongs.
For example, assuming that the file type to which the at least one file belongs is photo class, the first area is all areas on the first screen of the electronic device, and the second area is all areas on the second screen of the electronic device, as shown in fig. 4, the electronic device may display at least one photo on the first screen 34 (i.e., the first area) of the electronic device, and before the electronic device does not respond to the first input, the electronic device may display three folders (i.e., the at least one folder) for storing photo class files on the second screen 35 (i.e., the second area) of the electronic device.
It should be noted that, in the embodiment of the present invention, the interface schematic diagram is exemplarily illustrated by taking a screen of the electronic device as a foldable screen, and during actual implementation, the form of the screen of the electronic device may also be any other possible form, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, when the electronic device displays the at least one file, the first folder, and/or the second folder in different areas (i.e., the first area and the second area) of the screen of the electronic device, the user can trigger the electronic device to store the at least one target file in a certain folder without triggering the electronic device to display different interfaces, that is, the user can quickly trigger the electronic device to arrange the files in the electronic device.
Optionally, in an embodiment of the present invention, the second area may further include a deletion control, and after the electronic device displays at least one file in the first area, the user may further trigger the electronic device to delete the file in the at least one file through input to the file in the at least one file and the deletion control, so that the user may trigger the electronic device to delete the file in the electronic device more conveniently, and thus, the user may operate the electronic device more conveniently.
Optionally, in this embodiment of the present invention, the first input may include that the first input includes at least one of a first sub-input and a second sub-input. Each of the at least one first sub-input may be a user selection input for one of the at least one target file, and the second sub-input may be an input for a user to trigger the electronic device to display the first folder in a preset mode, and/or an input for a user to trigger the electronic device to create and display the second folder.
Specifically, in the embodiment of the present invention, the user may trigger the electronic device to select the at least one target file through the at least one first sub-input, and then trigger the electronic device to display the first folder in a preset mode through the second sub-input, and/or trigger the electronic device to create and display the second folder through the third sub-input.
Optionally, in this embodiment of the present invention, one first sub-input (any one of the at least one first sub-input) may be any possible input, such as a single-click input, a double-click input, or a long-press input, of the user on one target file. The method and the device can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In an embodiment of the present invention, the long press input may be an input that a user presses on the target file for a duration greater than or equal to a time threshold.
Optionally, in this embodiment of the present invention, the time threshold may be a value preset in the electronic device by a manufacturer of the electronic device according to the performance of the electronic device, for example, 3 seconds, 5 seconds, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, after the electronic device selects the at least one target file, the electronic device may display a selected identifier on each target file in the at least one target file. Wherein, the selected mark displayed on one target file can be used for indicating that the electronic equipment has selected the target file.
Optionally, in the embodiment of the present invention, the selected identifier may be any possible identifier, such as a tick-mark identifier or a dot-mark identifier. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, assuming that the selected identifier is a check identifier, the number of the at least one object file is 2, and the at least one object file is a first object file and a second object file, respectively, after the electronic device selects the at least one object file, as shown in fig. 4, the electronic device may display a check identifier 33 on each of the first object file 31 and the second object file 32. In this manner, the electronic device may present to the user that the electronic device has selected the at least one object file (i.e., the first object file 31 and the second object file 32 in fig. 4).
Optionally, in this embodiment of the present invention, the second sub-input may be an input of a user to a determination control in the electronic device, or any possible input such as a dragging input of the user to the at least one target file, which may be determined specifically according to an actual use requirement, and this embodiment of the present invention is not limited.
Of course, in actual implementation, the implementation manner of the first input may also be any other possible manner, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in this embodiment of the present invention, an input (hereinafter, referred to as a fourth input) for a user to trigger the electronic device to save the at least one target file into a certain folder may be an input continuous with the first input, or an input discontinuous with the first input, which may be determined specifically according to an actual use requirement, which is not limited in this embodiment of the present invention.
Optionally, in the embodiment of the present invention, in combination with fig. 2, as shown in fig. 5, S203 may be specifically implemented by S203b described below.
S203b, the electronic device responds to the first input and displays a first folder corresponding to at least one target file in a preset mode.
In the embodiment of the present invention, after the electronic device receives a first input of the user for the at least one target file, the electronic device may display a first folder corresponding to the at least one target file in a preset mode in response to the first input.
In an embodiment of the present invention, a correspondence relationship between the at least one target file and the first folder may be: the contents of the at least one target file match the contents of the files stored in the first folder.
In the embodiment of the present invention, the content of the file may be determined by the content type of the file. Of course, in actual implementation, the content of the file may also be determined by any other possible object, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
For example, in the case that the file type to which the at least one target file belongs is a photo type, the content type of the at least one target file may be a landscape type photo, a fruit type photo, a person type photo, and the like; under the condition that the file type of the at least one target file is audio, the content type of the at least one target file can be rock audio, lyric audio, hip-hop audio and the like; in the case that the file type of the at least one target file is a video type, the content type of the at least one target file may be an action type video, a comedy type video, a love type video, and the like.
In an embodiment of the present invention, the matching between the content of the at least one target file and the content of the file stored in the first folder may be: the type (hereinafter, simply referred to as content type) to which the content of the at least one target file belongs is the same as or similar to the content type of the file held in the first folder, and so on.
For example, when the content type of the at least one target file is a landscape photo, the content type of the file stored in the first folder may also be a landscape photo.
Optionally, in the embodiment of the present invention, the step S203b may be specifically implemented by the following steps S203b1-S203b 2.
S203b1, the electronic device identifies the content of at least one target file to obtain first information.
S203b2, the electronic device determines a first folder corresponding to the first information according to the first information, and displays the first folder in a preset mode.
In an embodiment of the present invention, in response to the first input, the electronic device may first identify content of the at least one target file to obtain the first information, then determine a first folder corresponding to the first information according to the first information, and display the first folder in a preset mode.
Optionally, in this embodiment of the present invention, the first information may be a content type of the at least one target file. Of course, in actual implementation, the first information may also be other information in the at least one target file, and may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
It is to be understood that the correspondence relationship between the first folder and the first information may be: the second information of the saved file in the first folder is the same as or similar to the first information. Wherein the second information and the first information may be the same type of information.
Optionally, in this embodiment of the present invention, when the at least one target file is at least one image, the electronic device may identify the at least one target file through an image identification technology to obtain the first information.
For example, in the embodiment of the present invention, the step S203a1 may be specifically implemented by the step S203a11 described below.
S203a11, the electronic device adopts an image recognition technology to recognize the content of at least one image, and first information is obtained.
In this embodiment of the present invention, when the at least one target file is at least one image, the electronic device may use an image recognition technology to recognize content of the at least one image, so as to obtain the first information.
Optionally, in the embodiment of the present invention, the image recognition technology may be implemented by an AI recognition function in the electronic device.
Of course, in actual implementation, the electronic device may further identify the content of the at least one image through any possible technology, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, since the image recognition technology can accurately recognize the content of the image, when the at least one target content is the at least one image, the electronic device can accurately recognize the content of the at least one image by using the image recognition technology, so that the first information obtained by the electronic device is relatively accurate, and further, the matching degree between the first folder and the at least one image (i.e., the at least one target file) determined by the electronic device according to the first information is relatively high.
Optionally, in an embodiment of the present invention, the preset mode may be any one of the following modes: highlight display mode, preset color display mode and amplification display mode.
Of course, in actual implementation, the preset mode may also be any other possible mode, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
For example, it is assumed that the file types to which the at least one target file belongs are all photos, and the content types of the at least one target file are all fruit photos, that is, the first information is fruit photos; the electronic equipment comprises three photo album folders, namely a landscape photo album folder, a fruit photo album folder and a figure photo album folder; and the preset mode is an amplification display mode. Then, the electronic device may determine the "fruit" album folder as the first folder from the 3 album folders according to the first information (fruit photos), and the electronic device may display the "fruit" album folder in the enlarged display state as shown in fig. 6.
In the embodiment of the present invention, since the preset mode can be clearly distinguished from other conventional display modes, the electronic device can clearly indicate to the user that the first folder corresponds to the first information by displaying the first folder in the preset mode. Therefore, the user can trigger the electronic equipment to store the at least one target file into the first folder according to the use requirement of the user.
Optionally, in this embodiment of the present invention, after the electronic device displays the first folder corresponding to the at least one target file in the preset mode, if the user wants to trigger the electronic device to save the at least one target file into another folder (for example, a third folder in this embodiment of the present invention), when the electronic device receives an input that the user drags the at least one target file into the third folder, the electronic device may display the third folder in the preset mode and display the first folder in the conventional mode, that is, the electronic device will not display the first folder in the preset mode any more.
For example, in the embodiment of the present invention, with reference to fig. 5, as shown in fig. 7, after S203b, the file control method according to the embodiment of the present invention may further include S204 and S205 described below.
And S204, the electronic equipment receives a second input of the user.
The second input may be an input of a user dragging the at least one target file to a third folder.
S205, the electronic equipment responds to the second input, and switches from displaying the first folder in the preset mode to displaying the third folder in the preset mode.
In an embodiment of the present invention, after the electronic device displays the first folder in the preset mode, if the electronic device receives the second input, the electronic device may switch from displaying the first folder in the preset mode to displaying the third folder in the preset mode, so as to remind the user that the electronic device stores the at least one target file in the third folder after the second input is finished.
Optionally, in an embodiment of the present invention, the second input may be an input continuous with the first input.
For example, when the first input is an input of a user dragging the at least one target file, the second input may be an input of a user dragging the at least one target file to a third folder without a finger of the user leaving a screen of the electronic device.
Optionally, in an embodiment of the present invention, the third folder may be determined according to the input parameter of the second input.
Optionally, in an embodiment of the present invention, in a first possible implementation manner, the electronic device may determine, as the third folder, a folder corresponding to an end position of the second input (for example, a position where a user releases a finger).
Of course, in actual implementation, the electronic device may further determine the third folder according to any other possible input parameters of the second input, which may be specifically determined according to actual usage requirements, and the embodiment of the present invention is not limited.
In an embodiment of the present invention, when the first folder and the third folder are the same folder, the electronic device may continue to display the first folder in the preset display state.
Optionally, in the embodiment of the present invention, after the electronic device receives the second input, the electronic device may cancel displaying the first folder in the preset mode, and continue displaying the third folder in the conventional display mode.
In actual implementation, after the electronic device receives the second input, the electronic device may further display the first folder and the third folder in any other possible form, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
In an embodiment of the present invention, since the second input is an active input of the user in the electronic device, when the electronic device receives the second input, the electronic device may determine that the user wants to save the at least one target file into the third folder, and therefore the electronic device may display the third folder in a special display mode (for example, a preset mode) to remind the user that the electronic device saves the at least one target file into the third folder after the second input is ended.
Optionally, in the embodiment of the present invention, as shown in fig. 8 in combination with fig. 2, the step S203 may be specifically implemented by the step S203c described below.
S203c, the electronic device creates and displays a second folder corresponding to the at least one target file in response to the first input.
In the embodiment of the present invention, after the electronic device receives the first input, the electronic device may create and display the second folder.
It is understood that before the user does not trigger the electronic device to save the at least one target file to the second folder, no file is saved in the second folder, i.e. the second folder is a blank folder.
Optionally, in the embodiment of the present invention, the step S203c may be specifically implemented by the following step S203c 1.
S203c1, the electronic device creates and displays a second folder in response to the first input in the absence of a folder corresponding to the content of the at least one target file.
In the embodiment of the present invention, in response to the first input, the electronic device may first identify contents of files stored in folders in the electronic device, and if a folder corresponding to the contents of the at least one target file does not exist in the electronic device, the electronic device may create and display the second folder, so as to remind a user that a folder corresponding to the at least one target file does not exist in the electronic device, and the user may trigger the electronic device to store the at least one target file in the second folder.
In the embodiment of the present invention, for the related description of how the at least one target file corresponds to the folder in the electronic device, reference may be specifically made to the detailed description in the above embodiment, and in order to avoid repetition, details are not described here again.
Optionally, in the embodiment of the present invention, the step S203c may be specifically implemented by the following step S203c 2.
S203c2, the electronic device responds to the first input, and creates and displays the second folder when the input parameters of the first input accord with the preset parameters.
Optionally, in this embodiment of the present invention, the input parameter of the first input may be any possible input parameter, such as an input duration of the first input or an input position of the first input. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Correspondingly, in the embodiment of the present invention, the preset parameter may be any possible parameter, such as a preset time length or a preset position. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
In the embodiment of the present invention, since the input parameter of the first input meeting the preset parameter may indicate that the user wants to trigger the electronic device to save the at least one target file into a new folder, the electronic device may create and display the second folder when the input parameter of the first input meets the preset parameter. Therefore, the user can trigger the electronic equipment to store the at least one target file into the second folder, so that the electronic equipment can flexibly arrange the files in the electronic equipment according to the use requirements of the user.
Optionally, in the embodiment of the present invention, with reference to fig. 2, as shown in fig. 9, S203 may be specifically implemented by S203d described below.
S203d, the electronic device responds to the first input, displays a first folder corresponding to at least one target file in a preset mode, and creates and displays a second folder corresponding to the at least one target file.
In an embodiment of the present invention, after the electronic device receives the first input, the electronic device may display the first folder in a preset mode, and create and display the second folder. Therefore, the user can select one folder from the folders according to the use requirement of the user, so as to trigger the electronic equipment to store the at least one target file into the folder.
In the embodiment of the present invention, for the related descriptions of "displaying the first folder corresponding to the at least one target file in the preset mode" and "creating and displaying the second folder corresponding to the at least one target file by the electronic device", reference may be specifically made to the detailed description in the above embodiments, and in order to avoid repetition, details are not described here again.
It should be noted that, in the embodiment of the present invention, if the user does not trigger the electronic device to save the at least one target file to the second folder, after the electronic device finishes arranging the at least one target file, the electronic device may cancel displaying the second folder, that is, the electronic device may delete the second folder.
In the embodiment of the invention, the electronic device responds to the first input, and can display the first folder in a preset mode and create and display the second folder, so that a user can flexibly select one folder according to the use requirement of the user and trigger the electronic device to put the at least one target file into a certain folder, and the way that the user arranges files in the electronic device is flexible.
The embodiment of the invention provides a file control method, which is characterized in that under the condition that electronic equipment receives first input of a user aiming at least one target file, the electronic equipment can display a first folder in a preset mode; 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.
Optionally, in this embodiment of the present invention, if the user wants to trigger the electronic device to sort a certain type of file in the electronic device, the user may first trigger the electronic device to display the certain type of file in the electronic device in the first area through an input (for example, a third input in this embodiment of the present invention), and display the at least one folder in the second area. The user may then trigger the electronic device to sort files of that type in the electronic device by an input in the electronic device (e.g., the first input described above).
For example, referring to fig. 3, as shown in fig. 10, before the above S201, the file control method according to the embodiment of the present invention may further include the following S206, and the above S201a may be specifically implemented by the following S201a 1.
S206, the electronic equipment receives a third input of the user.
S201a1, the electronic device, in response to the third input, displays at least one file in the first area and at least one folder in the second area.
It should be noted that, in the embodiment of the present invention, for the related description of the at least one file and the at least one folder, reference may be specifically made to the detailed description for indicating one file and at least one folder in the above embodiment, and in order to avoid repetition, details are not described here again.
Optionally, in this embodiment of the present invention, the third input may be an input of a target object by a user. The target object may be a specific control in the electronic device, a blank area in the electronic device, or a specific key in the electronic device. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the specific control may be any possible control such as a file sorting control, an editing control, and the like in the electronic device; the specific key may be any possible key such as an Artificial Intelligence (AI) key, a power key, etc. in the electronic device. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in an embodiment of the present invention, the third input may be a single-click input, a double-click input, a long-press input, or a re-press input of the user on the target object. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, when the number of the at least one file is large, the electronic device may not be able to display all files in the at least one file in the first area, and then the user may trigger the electronic device to display other files through an input such as a sliding input (for example, an upward sliding input, a downward sliding input, a leftward sliding input, or a rightward sliding input) in the first area. As such, the electronic device may be caused to display all of the at least one file in the first area.
Next, with reference to fig. 11, the above-mentioned S206 and S201a1 will be exemplarily described.
Exemplarily, assuming that the file type to which the at least one file belongs is a photo class, the number of the at least one file in the electronic device is 12, and the number of the at least one folder is 3; the target object is an editing control in the electronic equipment, and the third input is click input of the user on the target object; and the first area is the entire area on the first screen of the electronic device and the second area is the entire area on the second screen of the electronic device, then as shown in fig. 11 (a), the user clicks the edit control 41 in the electronic device, and in response to the input, the electronic device displays 12 photos (i.e., the at least one file) on the first screen 34 (i.e., the first area) of the electronic device as shown in fig. 11 (b), and displays 3 album folders (i.e., the at least one folder) on the second screen 35 (i.e., the second area) as shown in fig. 11 (b).
In the embodiment of the present invention, when a user wants to trigger the electronic device to arrange a file of a certain file type in the electronic device, the user may trigger the electronic device to display the at least one file in the first area and display the at least one folder in the second area through the third input, so that the user may quickly trigger the electronic device to arrange the file of the certain file type in the electronic device through the input in the electronic device.
Optionally, in this embodiment of the present invention, after the electronic device creates and displays the second folder, if the user triggers the electronic device to save the at least one target file into the second folder, after the electronic device saves the at least one target file into the second folder, the electronic device may display a name of the second folder in an editable state, or the electronic device may display an information input area to remind the user of naming the second folder. Therefore, the user can directly edit the name of the second folder in the electronic equipment according to the use requirement of the user, and the flexibility of arranging the files in the electronic equipment can be improved.
The name of the second folder may be determined according to the content of the at least one target file, and the target input area may be used to input the name of the second folder.
Optionally, in this embodiment of the present invention, a manner in which the electronic device displays the name of the second folder in an editable state may be any of the following: the area where the name of the second folder is located is in an editable state, and the electronic equipment displays an information input box. Wherein the information input box may include a name of the second folder.
Of course, in actual implementation, the manner in which the electronic device displays the name of the second folder in an editable state may also include any other possible manner, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
Optionally, in this embodiment of the present invention, the target input area may not include any content, and the user may input a name of the second folder in the target input area according to a user requirement.
Optionally, in the embodiment of the present invention, when the electronic device displays the name of the second folder in an editable state or displays the target input area, the electronic device may further display a virtual keyboard in the electronic device, so that a user may directly input the name of the second folder through the virtual keyboard.
For example, it is assumed that the electronic device displays an information input box for the electronic device in a manner that the name of the second folder is displayed in an editable state; and the name of the second folder is "game". Then, after the electronic device saves the at least one object file into the second folder, the electronic device may display an information input box 51 as shown in fig. 12, and the name "game" of the second folder is included in the information input box 51, and display a virtual keyboard 52 as shown in fig. 12. In this manner, the user can directly input the name of the second folder that the user wants to set in the virtual keyboard 52.
Optionally, in this embodiment of the present invention, the electronic device may further display a "confirm" control and a "cancel" control. The user can trigger the electronic equipment to finish editing the name of the second folder through inputting the 'confirm' control; the user may trigger the electronic device to end editing the name of the second folder by inputting the "cancel" control, where the name of the second folder may be a name determined by the electronic device according to the content information of the at least one target file.
In the embodiment of the present invention, the electronic device may prompt the user to name the second folder by displaying the name of the second folder in an editable state or displaying the target input area. Therefore, after the electronic equipment saves the at least one target file to the second folder, the user can directly input the name of the second folder which the user wants to set in the electronic equipment, and therefore the man-machine interaction performance of the user and the electronic equipment can be improved.
In the embodiment of the present invention, the file control method shown in each of the above drawings is exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the file control method shown in each of the above-mentioned figures may also be implemented by combining any other drawing that may be combined, which is illustrated in the above-mentioned embodiments, and is not described herein again.
As shown in fig. 13, an embodiment of the invention provides an electronic device 600. The electronic device 600 includes a first display module 601, a first receiving module 602, and a second display module 603. A first display module 601, configured to display at least one file; a first receiving module 602, configured to receive a first input by 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 displaying module 601; a second display module 603, configured to display a first folder corresponding to at least one target file in a preset mode in response to the first input received by the first receiving module 602; and/or creating and displaying a second folder corresponding to the at least one target file.
Optionally, 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 at least one target file to obtain first information; the determining submodule is used for determining a first folder corresponding to the first information according to the first information obtained by the identifying submodule; and the first display submodule is used for displaying the first folder determined by the determination submodule in a preset mode.
Optionally, the at least one target file is at least one image; the identification submodule comprises an identification unit; and the identification unit is used for identifying the content of at least one image by adopting an image identification technology to obtain the first information.
Optionally, the screen of the electronic device is a foldable screen; the first display module comprises a second display submodule, and the second display submodule is used for displaying at least one file in a first area of a screen of the electronic equipment; the second display module comprises a third display sub-module, and the third display sub-module is used for displaying the first folder in a second area of the screen of the electronic equipment in a preset mode; and/or creating and displaying a second folder in a second area of a screen of the electronic device.
Optionally, the electronic device further includes a second receiving module and a third display module; the second receiving module is used for receiving a second input of a user after the second display module displays the first folder corresponding to the at least one target file in a preset mode, wherein the second input is an input of dragging the at least one target file to a third folder; and the third display module is used for responding to the second input received by the second receiving module and switching from displaying the first folder in the preset mode to displaying the third folder in the preset mode.
Optionally, the preset mode is any one of the following modes: highlight display mode, preset color display mode and amplification display mode.
Optionally, the second display module includes a fourth display sub-module and a fifth display sub-module, and the fourth display sub-module is configured to create and display the second file when there is no folder corresponding to the content of the at least one target file; or 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 the preset parameters.
The electronic device provided by the embodiment of the invention can realize each process executed by the electronic device in the file control method embodiment, and can achieve the same technical effect, and the details are not repeated here in order to avoid repetition.
The embodiment of the invention provides electronic equipment, which can display a first folder in a preset mode under the condition that the electronic equipment receives first input of a user aiming 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.
Fig. 14 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 14, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 14 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The display unit 106 is configured to display at least one file; a user input unit 107, configured to receive a first input by 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 display unit 106; a display unit 106, further configured to display a first folder corresponding to the at least one target file in a preset mode in response to a first input received by the user input unit 107; and/or creating and displaying a second folder corresponding to the at least one target file.
It can be understood that, in the embodiment of the present invention, the first display module 601 and the second display module 603 in the structural schematic diagram of the electronic device in the above embodiment (for example, fig. 13) can be implemented by the display unit 106; the first receiving module 602 in the structural schematic diagram of the electronic device in the above embodiment (for example, fig. 13) may be implemented by the user input unit 106.
The embodiment of the invention provides electronic equipment, which can display a first folder in a preset mode under the condition that the electronic equipment receives first input of a user aiming 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.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 14, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 14, the memory 109, and a computer program that is stored in the memory 109 and is executable on the processor 110, and when the computer program is executed by the processor 110, the computer program implements each process of the file control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor as shown in fig. 14, the computer program implements each process of the file control method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (e.g., a mobile phone, a computer, a tablet computer, or a smart watch) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

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;
displaying a first folder corresponding to the content of the at least one target file in a preset mode in response to the first input; and/or creating and displaying a second folder corresponding to the at least one target file, the second folder being created in the absence of a folder corresponding to the content of the at least one target file or in the case where the input parameters of the first input conform to preset parameters.
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 content of 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 comprises:
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 content of 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. 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 content of 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, the second folder being created in the absence of a folder corresponding to the content of the at least one target file or in the case where the input parameters of the first input conform to preset parameters.
8. The electronic device of claim 7, 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.
9. The electronic device of claim 8, 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.
10. The electronic device of claim 9, 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.
11. The electronic device of claim 9, 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 content of 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.
12. The electronic device of claim 9, wherein the preset mode is any one of: highlight display mode, preset color display mode and amplification display mode.
13. 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 6.
14. 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 6.
CN201910935525.7A 2019-09-29 2019-09-29 File control method and electronic equipment Active CN110703972B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910935525.7A CN110703972B (en) 2019-09-29 2019-09-29 File control method and electronic equipment
PCT/CN2020/108684 WO2021057301A1 (en) 2019-09-29 2020-08-12 File control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935525.7A CN110703972B (en) 2019-09-29 2019-09-29 File control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110703972A CN110703972A (en) 2020-01-17
CN110703972B true CN110703972B (en) 2021-04-06

Family

ID=69196569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935525.7A Active CN110703972B (en) 2019-09-29 2019-09-29 File control method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110703972B (en)
WO (1) WO2021057301A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703972B (en) * 2019-09-29 2021-04-06 维沃移动通信有限公司 File control method and electronic equipment
CN111294542B (en) * 2020-02-17 2022-04-08 维沃移动通信有限公司 Image storage method and electronic equipment
WO2022161273A1 (en) * 2021-01-28 2022-08-04 维沃移动通信有限公司 File saving method and apparatus, device, and storage medium
CN113448927A (en) * 2021-06-29 2021-09-28 维沃软件技术有限公司 File naming method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135911A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Information processing method and electronic terminal
CN104484107A (en) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 Picture processing method

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073948A (en) * 2012-01-17 2018-05-25 华为技术有限公司 A kind of photo sort management, server, apparatus and system
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device
CN102999249A (en) * 2012-10-17 2013-03-27 广东欧珀移动通信有限公司 User interface management method and system for mobile terminal provided with touch screen
KR102409202B1 (en) * 2015-07-21 2022-06-15 삼성전자주식회사 Electronic device and method for managing objects in folder on the electronic device
CN106445995A (en) * 2016-07-18 2017-02-22 腾讯科技(深圳)有限公司 Picture classification method and apparatus
CN107844344B (en) * 2016-09-19 2021-04-09 腾讯科技(深圳)有限公司 Application icon management method and device
CN108255372B (en) * 2018-01-24 2020-10-27 维沃移动通信有限公司 Desktop application icon sorting method and mobile terminal
CN109471841B (en) * 2018-10-31 2022-02-01 维沃移动通信有限公司 File classification method and device
CN109871358A (en) * 2019-01-31 2019-06-11 维沃移动通信有限公司 A kind of management method and terminal device
CN110231897A (en) * 2019-04-26 2019-09-13 维沃移动通信有限公司 A kind of object processing method and terminal device
CN110703972B (en) * 2019-09-29 2021-04-06 维沃移动通信有限公司 File control method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135911A (en) * 2011-11-28 2013-06-05 联想(北京)有限公司 Information processing method and electronic terminal
CN104484107A (en) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 Picture processing method

Also Published As

Publication number Publication date
CN110703972A (en) 2020-01-17
WO2021057301A1 (en) 2021-04-01

Similar Documents

Publication Publication Date Title
CN110851051B (en) Object sharing method and electronic equipment
CN110891144B (en) Image display method and electronic equipment
CN108415652B (en) Text processing method and mobile terminal
CN110502163B (en) Terminal device control method and terminal device
CN110703972B (en) File control method and electronic equipment
CN111338530B (en) Control method of application program icon and electronic equipment
CN110489029B (en) Icon display method and terminal equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN111142723B (en) Icon moving method and electronic equipment
CN110752981B (en) Information control method and electronic equipment
CN110928461A (en) Icon moving method and electronic equipment
CN110099296B (en) Information display method and terminal equipment
CN111026464A (en) Identification method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN109828731B (en) Searching method and terminal equipment
CN110244884B (en) Desktop icon management method and terminal equipment
CN110647277A (en) Control method and terminal equipment
CN111190517B (en) Split screen display method and electronic equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN110012152B (en) Interface display method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN111049976B (en) Interface display method, electronic device and computer readable storage medium
CN111443968A (en) Screenshot method and electronic equipment

Legal Events

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