WO2021057301A1 - 文件控制方法及电子设备 - Google Patents

文件控制方法及电子设备 Download PDF

Info

Publication number
WO2021057301A1
WO2021057301A1 PCT/CN2020/108684 CN2020108684W WO2021057301A1 WO 2021057301 A1 WO2021057301 A1 WO 2021057301A1 CN 2020108684 W CN2020108684 W CN 2020108684W WO 2021057301 A1 WO2021057301 A1 WO 2021057301A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display
folder
file
input
Prior art date
Application number
PCT/CN2020/108684
Other languages
English (en)
French (fr)
Inventor
柳达强
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021057301A1 publication Critical patent/WO2021057301A1/zh

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

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a file control method and electronic equipment.
  • a large number of files can be stored in electronic devices, such as documents, audio, and photos.
  • the user can trigger the electronic device to save different files in different folders.
  • the photos stored in the electronic device as an example, if the user wants to trigger the electronic device to save the same type of photos in the electronic device in an album folder, the user can first trigger the electronic device in the album list interface of the electronic device Create an album folder; then select photos in the photo list interface of the electronic device; finally, the user selects the album folder in the album list interface, so that the electronic device can be triggered to store the photos selected by the user in the album folder.
  • the embodiments of the present disclosure provide a file control method and an electronic device, so as to solve the problem of low efficiency of the existing electronic device in organizing files.
  • an embodiment of the present disclosure provides a file control method.
  • the method includes: displaying at least one file; and receiving a user's first input for at least one target file, and the at least one target file is one of the at least one file.
  • File ; and in response to the first input, display a first folder corresponding to the at least one target file in a preset mode, and/or create and display a second folder corresponding to the at least one target file.
  • an embodiment of the present disclosure provides an electronic device.
  • the electronic device includes a first display module, a first receiving module, and a second display module.
  • the first display module is configured to display at least one file;
  • the first receiving module is configured to receive a user's first input for at least one target file, and 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 configured to display the first folder corresponding to the at least one target file in a preset mode in response to the first input received by the first receiving module, and/or create and display the first folder corresponding to the at least one target file The corresponding second folder.
  • the embodiments of the present disclosure provide an electronic device that includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor.
  • the computer program is executed by the processor, The steps of the file control method as in the above-mentioned first aspect are realized.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the steps of the file control method in the above-mentioned first aspect are implemented. .
  • At least one file may be displayed; and a user's first input for at least one target file is received, and the at least one target file is a file in the at least one file; and in response to the first input, a preset mode Displaying the first folder corresponding to the at least one target file; and/or, creating and displaying a second folder corresponding to the at least one target file.
  • the electronic device when the electronic device receives the user's first input for at least one target file, the electronic device can display the first folder in a preset mode; and/or create and display the second folder, so when the user wants to trigger the electronic device to organize the files displayed by the electronic device, the user can trigger the electronic device to display and/or create and display the folders corresponding to the files that the electronic device wants to organize through the first input.
  • the user can directly trigger the electronic device to save these files in the folders corresponding to the files, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device to organize files.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is one of the schematic diagrams of a file control method provided by an embodiment of the disclosure
  • FIG. 3 is a second schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 4 is one of the schematic diagrams of the interface of the file control method application provided by the embodiments of the present disclosure.
  • FIG. 5 is the third schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 6 is the second schematic diagram of the interface of the file control method application provided by the embodiments of the present disclosure.
  • FIG. 7 is a fourth schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 8 is a fifth schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 9 is a sixth schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 10 is a seventh schematic diagram of a file control method provided by an embodiment of the disclosure.
  • FIG. 11 is the third schematic diagram of the interface of the file control method application provided by the embodiments of the present disclosure.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • FIG. 14 is a schematic diagram of hardware of an electronic device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • Interaction status It means that multiple objects can obtain each object's information from each other.
  • the first area and the second area in the embodiment of the present disclosure are in an interactive state, the first area can obtain the operation received by the second area and the content in the second area; correspondingly, the second area can obtain the first area. Operations received in one area and content in the first area.
  • the embodiments of the present disclosure provide a file control method and electronic device, which can display at least one file; and receive a user's first input for at least one target file, the at least one target file being a file in the at least one file; and in response to the first One input is to display the first folder corresponding to the at least one target file in a preset mode; and/or, to create and display a second folder corresponding to the at least one target file.
  • the electronic device when the electronic device receives the user's first input for at least one target file, the electronic device can display the first folder in a preset mode; and/or create and display the second folder, so when the user wants to trigger the electronic device to organize the files displayed by the electronic device, the user can trigger the electronic device to display and/or create and display the folders corresponding to the files that the electronic device wants to organize through the first input.
  • the user can directly trigger the electronic device to save these files in the folders corresponding to the files, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device to organize files.
  • the electronic device in the embodiment of the present disclosure may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
  • the following takes the Android operating system as an example to introduce the software environment to which the file control method provided by the embodiments of the present disclosure is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the file control method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the control method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the file control method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present disclosure may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the execution subject of the file control method provided by the embodiments of the present disclosure may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the file control method, and the specifics may be determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited. The following takes an electronic device as an example to illustrate the file control method provided by the embodiment of the present disclosure.
  • multiple types of files can be stored in the electronic device, such as document files, audio files, and photo files.
  • the user wants to trigger the electronic device to sort files of a certain type, the user can trigger the electronic device to save some of the files of this type in a folder to trigger the electronic device to sort files of this type.
  • the electronic device displays this type of file (for example, at least one file in the embodiment of the present disclosure)
  • the user can input the file in the at least one file (for example, the first file in the embodiment of the present disclosure).
  • trigger the electronic device to display the folders corresponding to these files (for example, the first folder in the embodiment of the present disclosure), and/or, create and display the folders corresponding to these files (for example, the embodiment of the present disclosure) In the first folder).
  • the user can trigger the electronic device to save these files in the first folder or the second folder, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device in organizing files.
  • an embodiment of the present disclosure provides a file control method, which includes the following S201-S203.
  • the electronic device displays at least one file.
  • the electronic device receives a user's first input for at least one target file.
  • the at least one target file is a file in the at least one file.
  • the electronic device In response to the first input, displays a first folder corresponding to the at least one target file in a preset mode; and/or, creates and displays a second folder corresponding to the at least one target file .
  • the user in the case that the user wants to trigger the electronic device to organize files in the electronic device, the user can trigger the electronic device to display the first folder in a preset mode through the first input for the above at least one target file, And/or, create and display the aforementioned second folder. In this way, the user can trigger the electronic device to save the at least one target file in the first folder or the second folder according to their own use requirements, so that the electronic device can be quickly triggered to sort the files in the electronic device.
  • the file types of the at least one file mentioned above may be the same.
  • the file types of the at least one target file mentioned above may also be the same.
  • the aforementioned at least one file may be all or part of the files of the same file type stored in the electronic device.
  • the file type to which the above-mentioned at least one file belongs may be any possible file type such as document type, music type, video type, and photo type. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the file type to which the aforementioned at least one target file belongs may be the same as the file type to which the aforementioned at least one file belongs.
  • the electronic device may simultaneously display the above at least one file and the folder (for example, the first folder, the second folder, etc.) storing these files may be simultaneously displayed in different areas of the screen of the electronic device.
  • the user does not need to trigger the electronic device to display a different interface, and can trigger the electronic device to save the file in the at least one file (for example, the aforementioned at least one target file) to a certain folder.
  • the foregoing S201 may be specifically implemented by the following S201a
  • the foregoing S203 may be specifically implemented by the following S203a.
  • the electronic device displays at least one file in the first area of the screen of the electronic device.
  • 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.
  • the electronic device when the 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 The second area displays the first folder in a preset mode, and/or the second folder is created and displayed in the second area.
  • the above-mentioned first area and the above-mentioned second area may be in an interactive state.
  • the first area and the second area may be areas on one screen of the electronic device; or, the first area and the second area may be areas on different screens of the electronic device.
  • 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 part of areas on different screens, respectively.
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the first area may be the entire area or part of the area on the first screen of the electronic device
  • the second area may be the entire area or part of the area on the second screen of the electronic device.
  • the first area is the entire area on the first screen of the electronic device
  • the second area is the entire area on the second screen of the electronic device as an example.
  • the first area is a partial area on the first screen of the electronic device
  • the second area is a partial area on the first screen of the electronic device or a partial area on the second screen.
  • the control method of the first area is the second area of the electronic device. All areas on one screen and the second area are all areas on the second screen of the electronic device. The control methods are similar. To avoid repetition, the details are not repeated in the embodiment of the present disclosure.
  • the electronic device may display at least one folder in the second area.
  • the at least one folder includes the aforementioned first folder.
  • the file type of the file stored in the at least one folder is the same as the file type of the at least one file.
  • the file type to which the at least one file belongs is a photo category
  • the first area is all areas on the first screen of the electronic device
  • the second area is all areas on the second screen of the electronic device.
  • the schematic diagrams of the interface in the embodiments of the present disclosure are all exemplified by taking the screen of the electronic device as a foldable screen as an example.
  • the form of the screen of the electronic device may also be in any other possible form. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the electronic device when the electronic device displays the at least one file, the first folder and/or the second folder in different areas of its screen (that is, the first area and the second area), the user does not need to trigger the electronic device.
  • the electronic device can be triggered to save the above-mentioned at least one target file in a certain folder, that is, the user can quickly trigger the electronic device to sort the files in the electronic device.
  • the above-mentioned second area may further include a delete control.
  • the user may also use the file in the at least one file and the delete control.
  • the input of the control triggers the electronic device to delete the file in the at least one file. In this way, the user can more conveniently trigger the electronic device to delete the file in the electronic device, so that the user's operation in the electronic device is more convenient.
  • the above-mentioned first input may include the first input including at least one of a first sub-input and a second sub-input.
  • each first sub-input of the at least one first sub-input may be a user's selection input for one of the above-mentioned at least one target file
  • the second sub-input may be a user triggering the electronic device to display in a preset mode The input of the aforementioned first folder, and/or the user triggers the electronic device to create and display the aforementioned input of the second folder.
  • the user can trigger the electronic device to select the at least one target file through the above-mentioned at least one first sub-input, and then trigger the electronic device to display the above-mentioned first file in a preset mode through the above-mentioned second sub-input Folder, and/or, triggering the electronic device to create and display the second folder through the third sub-input.
  • a first sub-input (any one of the above-mentioned at least one first sub-input) may be a user's single-click input, double-click input, or long-press input on a target file Input and other possible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the aforementioned long-press input may be an input of a user pressing on the target file for a duration greater than or equal to a time threshold.
  • the above-mentioned time threshold may be a value preset in the electronic device by the manufacturer of the electronic device according to the performance of the electronic device, such as 3 seconds, 5 seconds, and so on. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the electronic device may display a selected mark on each target file in the at least one target file.
  • the selected mark displayed on a target file can be used to indicate that the electronic device has selected the target file.
  • the above-mentioned selected mark may be any possible mark such as a check mark or a dot mark. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the electronic device may display a check mark 33 on the first target file 31 and the second target file 32, respectively. In this way, the electronic device can show the user that the electronic device has selected at least one target file (that is, the first target file 31 and the second target file 32 in FIG. 4).
  • the above-mentioned second sub-input may be a user's input to a certain control in the electronic device, or any possible input such as a user's drag input to the at least one target file, which may be specifically based on The actual use requirement is determined, and the embodiment of the present disclosure does not limit it.
  • the foregoing first input implementation manner may also be any other possible manner, which may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the input that the user triggers the electronic device to save the at least one target file to a certain folder may be an input that is continuous with the first input, or may be
  • the input that is not continuous with the above-mentioned first input may be specifically determined according to actual use requirements, and the embodiment of the present disclosure does not limit it.
  • the foregoing S203 may be specifically implemented by the following S203b.
  • the electronic device In response to the first input, displays the first folder corresponding to the at least one target file in a preset mode.
  • the electronic device may display the first input corresponding to the at least one target file in a preset mode in response to the first input. folder.
  • the correspondence between the at least one target file and the first folder may be: the content of the at least one target file matches the content of the file stored in the first folder.
  • the content of the above-mentioned file may be determined by the content type of the file.
  • the content of the file can also be determined by any other possible objects, and can be specifically determined according to actual usage requirements, which is not limited in the embodiments of the present disclosure.
  • the content type of the at least one target file may be a landscape photo, a fruit photo, a person photo, etc.;
  • the content type of the at least one target file may be rock audio, lyrical audio, and hip-hop audio, etc.;
  • the file type to which the at least one target file belongs is video
  • the content type of the aforementioned at least one target file may be an action video, a comedy video, a love video, and so on.
  • the content of the at least one target file and the content of the file saved in the first folder may match as follows: the type of the content of the at least one target file (hereinafter referred to as content type) and the first file
  • content type the type of the content of the at least one target file
  • the content types of the files saved in the folder are the same or similar, etc.
  • the content type of the at least one target file is landscape photos
  • the content type of the files stored in the first folder may also be landscape photos.
  • the foregoing S203b may be specifically implemented by the following S203b1-S203b2.
  • the electronic device recognizes the content of at least one target file, and obtains first information.
  • 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.
  • the electronic device in response to the first input, may first identify the content of the at least one target file to obtain the first information, and then determine the first information corresponding to the first information according to the first information.
  • a folder, and the first folder is displayed in a preset mode.
  • the above-mentioned first information may be the content type of the above-mentioned at least one target file.
  • the above-mentioned first information may also be other information in the at least one target file, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present disclosure.
  • the correspondence between the first folder and the first information may be: the second information of the files stored in the first folder is the same or similar to the first information.
  • the second information and the first information may be the same type of information.
  • the electronic device may recognize the at least one target file through image recognition technology to obtain the first information.
  • the foregoing S203a1 may be specifically implemented by the following S203a11.
  • the electronic device uses image recognition technology to recognize the content of at least one image to obtain first information.
  • the electronic device may use image recognition technology to recognize the content of the at least one image to obtain the first information.
  • the above-mentioned image recognition technology may be implemented by the AI image recognition function in the electronic device.
  • the electronic device may also use any possible technology to recognize the content of the above at least one image, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
  • the electronic device since the image recognition technology can accurately recognize the content of the image, in the case where the at least one target content is at least one image, the electronic device can use the image recognition technology to accurately recognize the content of the at least one image, Therefore, the first information obtained by the electronic device can be made relatively accurate, and the first folder determined by the electronic device according to the first information has a relatively high degree of matching with the at least one image (that is, the at least one target file).
  • the foregoing preset mode may be any one of the following: a highlight display mode, a preset color display mode, and an enlarged display mode.
  • the above-mentioned preset mode may also be any other possible modes, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
  • the file types to which the at least one target file belongs are all photos, and the content type of the at least one target file is all fruit photos, that is, the first information is fruit photos; and the electronic device includes three photos.
  • the album folders are the "Landscape” album folder, the "Fruit” album folder and the "People” album folder; and the above-mentioned preset mode is an enlarged display mode.
  • the electronic device can determine from the three album folders that the "fruit" album folder is the aforementioned first folder according to the first information (fruit photos), and the electronic device can be as shown in FIG. 6
  • the enlarged display status shows the "Fruit" album folder.
  • the electronic device can clearly indicate the first folder to the user by displaying the above first folder in the preset mode Corresponds to the above-mentioned first information. In this way, the user can trigger the electronic device to save the at least one target file in the first folder according to their own use requirements.
  • the electronic device displays the first folder corresponding to the above-mentioned at least one target file in a preset mode
  • the user wants to trigger the electronic device to save the at least one target file to other files Folder (for example, the third folder in the embodiment of the present disclosure)
  • the electronic device can display the third folder in a preset mode. Folder, and display the first folder in the traditional mode, that is, the electronic device will no longer display the first folder in the preset mode.
  • the file control method provided by the embodiment of the present disclosure may further include the following S204 and S205.
  • the electronic device receives a second input from the user.
  • the above-mentioned second input may be the user's input of dragging the above-mentioned at least one target file to the third folder.
  • the electronic device switches from displaying the first folder in the preset mode to displaying the third folder in the preset mode.
  • the electronic device after the electronic device displays the first folder in the preset mode, if the electronic device receives the second input, the electronic device can switch from displaying the first folder in the preset mode to displaying the first folder in the preset mode. It is assumed that the third folder is displayed in the mode, so that the user can be reminded that the electronic device saves the at least one target file in the third folder after the second input is completed.
  • the above-mentioned second input may be an input that is continuous with the above-mentioned first input.
  • the second input may be that the user's finger does not leave the screen of the electronic device, and the at least one target file is dragged to the third file.
  • Folder input when the first input is an input for the user to drag the at least one target file, the second input may be that the user's finger does not leave the screen of the electronic device, and the at least one target file is dragged to the third file. Folder input.
  • the above-mentioned third folder may be determined according to the above-mentioned second input input parameter.
  • the electronic device may determine the folder corresponding to the end position of the second input (for example, the position where the user releases the finger) as the third folder .
  • the electronic device may also 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, which is not limited in the embodiment of the present disclosure.
  • the electronic device may continue to display the first folder in the preset display state.
  • the electronic device may cancel displaying the first folder in the preset mode, and continue to display the third folder in the traditional display mode.
  • the electronic device may also display the above-mentioned first folder and the above-mentioned third folder in any other possible forms, which can be specifically determined according to actual usage requirements.
  • the embodiment is not limited.
  • the electronic device can determine that the user wants to save the above-mentioned at least one target file to the above-mentioned third Therefore, the electronic device can display the third folder in a special display mode (such as a preset mode) to remind the user that after the second input is completed, the electronic device saves the at least one target file to the third file Folder.
  • a special display mode such as a preset mode
  • the above S203 may be specifically implemented by the following S203c.
  • the electronic device creates and displays a second folder corresponding to the at least one target file.
  • the electronic device may create and display the above-mentioned second folder.
  • the electronic device before the user triggers the electronic device to save the at least one target file to the second folder, no file is saved in the second folder, that is, the second folder is a blank folder.
  • the foregoing S203c may be specifically implemented by the following S203c1.
  • the electronic device creates and displays a second folder if there is no folder corresponding to the content of the at least one target file.
  • the electronic device in response to the above-mentioned first input, may first identify the content of the file stored in the folder in the electronic device, if there is no folder corresponding to the content of the at least one target file in the electronic device.
  • the electronic device can create and display the above-mentioned second folder, which can remind the user that there is no folder corresponding to the at least one target file in the electronic device, and the user can trigger the electronic device to save the at least one target file To the second folder.
  • the foregoing S203c may be specifically implemented by the following S203c2.
  • the electronic device creates and displays a second folder when the input parameters of the first input meet the preset parameters.
  • the input parameter of the first input may be any possible input parameter such as the input duration of the first input or the input position of the first input. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the aforementioned preset parameter may be any possible parameter such as a preset duration or a preset position. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the input parameter of the first input mentioned above meets the preset parameter, it may indicate that the user wants to trigger the electronic device to save the at least one target file in a new folder. Therefore, the input parameter entered at the first meets the preset parameter.
  • the electronic device can create and display the above-mentioned second folder. In this way, the user can trigger the electronic device to save the at least one target file in the second folder, so that the electronic device can flexibly organize the files in the electronic device according to the user's usage requirements.
  • the foregoing S203 may be specifically implemented by the following S203d.
  • the electronic device In response to the first input, displays a first folder corresponding to the at least one target file in a preset mode, and creates and displays a second folder corresponding to the at least one target file.
  • the electronic device may display the aforementioned first folder in a preset mode, and create and display the aforementioned second folder. In this way, the user can select a folder from these folders according to their own use requirements to trigger the electronic device to save the at least one target file in the folder.
  • the electronic device can cancel the display after the electronic device finishes organizing the at least one target file.
  • the second folder that is, the electronic device can delete the second folder.
  • the electronic device in response to the first input, can display the first folder in a preset mode and create and display the second folder, so that the user can flexibly select a folder according to their own use needs.
  • the electronic device has been triggered to store the at least one target file in a certain folder, which makes the way for the user to organize files in the electronic device more flexible.
  • the embodiment of the present disclosure provides a file control method, because when the electronic device receives a user's first input for at least one target file, the electronic device can display the first folder in a preset mode; and/or create and display the first folder;
  • the second folder therefore, when the user wants to trigger the electronic device to organize 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 file that the electronic device wants to organize through the first input.
  • the user can directly trigger the electronic device to save these files in the folders corresponding to the files, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device to organize files.
  • the user can first trigger the electronic device through an input (for example, the third input in the embodiment of the present disclosure).
  • the file of this type in the electronic device is displayed in the first area, and the at least one folder is displayed in the second area.
  • the user can trigger the electronic device to sort files of this type in the electronic device through an input in the electronic device (for example, the above-mentioned first input).
  • the file control method provided by the embodiment of the present disclosure may further include the following S206, and the above S201a may be specifically implemented by the following S201a1.
  • the electronic device receives a third input from the user.
  • the electronic device displays at least one file in the first area, and displays at least one folder in the second area.
  • the above-mentioned third input may be the user's input to the target object.
  • the target object may be a specific control in the electronic device, a blank area in the electronic device, or a specific button in the electronic device. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned specific control may be any possible control such as a file organization control and an editing control in the electronic device;
  • the above-mentioned specific button may be an artificial intelligence (AI) button in the electronic device, Any possible buttons such as the power button. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the above-mentioned third input may be a single-click input, a double-click input, a long-press input, or a double-click input by the user of the above-mentioned target object.
  • it can be determined according to actual usage requirements, and the embodiment of the present disclosure does not limit it.
  • the electronic device when the number of the at least one file is large, the electronic device may not be able to display all the files in the at least one file in the first area, and then the user can use Inputs such as sliding input (for example, sliding up input, sliding down input, left sliding input, or right sliding input, etc.) trigger the electronic device to display other files. In this way, the electronic device can be made to display all the files in the at least one file in the first area.
  • sliding input for example, sliding up input, sliding down input, left sliding input, or right sliding input, etc.
  • the file type to which the at least one file belongs is a photo category
  • the number of 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 editor in the electronic device.
  • the third input is the user's click input on the target object
  • the first area is all areas on the first screen of the electronic device
  • the second area is all areas on the second screen of the electronic device
  • the first area displays 12 photos (that is, the above-mentioned at least one file), and displays 3 album folders (that is, the above-mentioned at least one file) on the second screen 35 (that is, the second area) as shown in (b) in Figure 11 folder).
  • the user when the user wants to trigger the electronic device to sort files of a certain file type in the electronic device, the user can trigger the electronic device to display the at least one file in the first area through the third input, and display the file in the first area.
  • the second area displays the aforementioned at least one folder, so that the user can quickly trigger the electronic device to sort files of the file type in the electronic device through input in the electronic device.
  • the electronic device after the electronic device creates and displays the above-mentioned second folder, if the user triggers the electronic device to save the above-mentioned at least one target file in the second folder, then the electronic device will store the at least one target file in the second folder.
  • the electronic device may display the name of the second folder in an editable state, or the electronic device may display an information input area to remind the user to name the second folder. In this way, the user can directly edit the name of the second folder he wants in the electronic device according to his own use requirements, thereby improving the flexibility of the electronic device to organize files.
  • the name of the second folder may be determined based on 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.
  • the electronic device displays the name of the second folder in an editable state can be any of the following: the area where the name of the second folder is located is in an editable state, and the electronic device displays information Input box.
  • the information input box may include the name of the second folder.
  • the manner in which the electronic device displays the name of the second folder in an editable state may also include any other possible manners, which may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present disclosure.
  • the above-mentioned target input area may not include any content, and the user can input the name of the second folder he wants in the target input area according to his own use requirements.
  • the electronic device 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 also display a virtual keyboard in the electronic device, so that the user can directly Enter the name of the second folder through the virtual keyboard.
  • the electronic device displays the information input box in a manner that the electronic device displays the name of the second folder in an editable state; and the name of the second folder is "game”. Then, after the electronic device saves the above-mentioned at least one target file in the second folder, the electronic device may display the information input box 51 as shown in FIG. 12, and the information input box 51 includes the name of the second folder. Game", and the virtual keyboard 52 shown in FIG. 12 is displayed. In this way, the user can directly input the name of the second folder he wants to set in the virtual keyboard 52.
  • the electronic device may also display an "OK" control and a "Cancel" control.
  • the user can trigger the electronic device to finish editing the name of the second folder by inputting the "OK” control; the user can trigger the electronic device to finish editing the name of the second folder by inputting the "Cancel” control.
  • 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.
  • the electronic device may remind the user to name the second folder by displaying the name of the second folder in an editable state or displaying the above-mentioned target input area. In this way, after the electronic device saves the above-mentioned at least one target file in the second folder, the user can directly input the name of the second folder he wants to set in the electronic device, which can improve the human-machine interface of the user and the electronic device. Interactive performance.
  • an embodiment of the present disclosure 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.
  • the first display module 601 is configured to display at least one file;
  • the first receiving module 602 is configured to receive a user's first input for at least one target file, and the at least one target file is one of the at least one file displayed by the first display module 601 File;
  • 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, create and display at least A second folder corresponding to a target file.
  • the second display module includes an identification sub-module, a determination sub-module, and a first display sub-module; the identification sub-module is used to identify at least one target file to obtain the first information; the determination sub-module is used to identify the sub-module according to the The obtained first information determines the first folder corresponding to the first information; the first display sub-module is configured to display the first folder determined by the determining sub-module in a preset mode.
  • the at least one target file is at least one image;
  • the recognition sub-module includes a recognition unit; the recognition unit is configured to use image recognition technology to recognize the content of the at least one image to obtain the first information.
  • the screen of the electronic device is a foldable screen;
  • the first display module includes a second display sub-module, and the second display sub-module is configured to display at least one file in the first area of the screen of the electronic device;
  • the second display module It includes a third display sub-module, and a third display sub-module for displaying the first folder in a preset mode in the second area of the screen of the electronic device; and/or creating and displaying the first folder in the second area of the screen of the electronic device Two folders.
  • the electronic device further includes a second receiving module and a third display module;
  • the second receiving module is configured to receive after the second display module displays the first folder corresponding to the at least one target file in a preset mode
  • the second input of the user is the input of dragging at least one target file to the third folder
  • the third display module is configured to display in the preset mode in response to the second input received by the second receiving module
  • the first folder switches to display the third folder in the preset mode.
  • the preset mode is any one of the following: highlight display mode, preset color display mode, and enlarged display mode.
  • the second display module includes a fourth display sub-module and a fifth display sub-module
  • the fourth display sub-module is used to create and create a folder corresponding to the content of the at least one target file when there is no folder corresponding to the content of the at least one target file.
  • Display the second file; or, the fifth display sub-module is used to create and display the second folder when the input parameters of the first input meet the preset parameters.
  • the electronic device provided by the embodiment of the present disclosure can implement each process performed by the electronic device in the above-mentioned file control method embodiment, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure provide an electronic device.
  • the electronic device receives a user's first input for at least one target file
  • the electronic device can display the first folder in a preset mode; and/or create and display the first folder;
  • Two folders so when the user wants to trigger the electronic device to organize the files displayed by the electronic device, the user can trigger the electronic device to display and/or create and display the folders corresponding to the files that the electronic device wants to organize through the first input.
  • the user can directly trigger the electronic device to save these files in the folders corresponding to the files, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device to organize files.
  • FIG. 14 is a schematic diagram of hardware of an electronic device that implements various embodiments of the present disclosure.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, The processor 110, and the power supply 111 and other components.
  • the structure of the electronic device shown in FIG. 14 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle terminals, wearable devices, and pedometers.
  • the display unit 106 is configured to display at least one file; the user input unit 107 is configured to receive a user's first input for at least one target file, and the at least one target file is a file in the at least one file displayed by the display unit 106; The display unit 106 is further configured to display the first folder corresponding to the at least one target file in a preset mode in response to the first input received by the user input unit 107; and/or, create and display the first folder corresponding to the at least one target file.
  • the second folder corresponding to the file is configured to display at least one file; the user input unit 107 is configured to receive a user's first input for at least one target file, and the at least one target file is a file in the at least one file displayed by the display unit 106; The display unit 106 is further configured to display the first folder corresponding to the at least one target file in a preset mode in response to the first input received by the user input unit 107; and/or, create and display the first folder corresponding to the at least one
  • the first display module 601 and the second display module 603 in the structural schematic diagram of the electronic device in the above-mentioned embodiment can be realized by the above-mentioned display unit 106; in the above-mentioned embodiment
  • the first receiving module 602 in the schematic structural diagram of the electronic device may be implemented by the above-mentioned user input unit 106.
  • the embodiments of the present disclosure provide an electronic device.
  • the electronic device receives a user's first input for at least one target file
  • the electronic device can display the first folder in a preset mode; and/or create and display the first folder;
  • Two folders so when the user wants to trigger the electronic device to organize the files displayed by the electronic device, the user can trigger the electronic device to display and/or create and display the folders corresponding to the files that the electronic device wants to organize through the first input.
  • the user can directly trigger the electronic device to save these files in the folders corresponding to the files, so that the user can quickly trigger the electronic device to organize the files in the electronic device, thereby improving the efficiency of the electronic device to organize files.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the 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.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the 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 it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, 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 audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processing unit 1041 is used to capture images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the 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.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device and the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides an electronic device, including a processor 110 as shown in FIG. 14, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is
  • the processor 110 implements each process of the above-mentioned file control method embodiment during execution, and can achieve the same technical effect. In order to avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor as shown in FIG. 14, each process of the above-mentioned file control method embodiment is implemented. And can achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable an electronic device (which can be a mobile phone, a computer, a tablet computer, or a smart watch, etc.) to execute the methods described in the various embodiments of the present disclosure.

Abstract

本公开实施例提供一种文件控制方法及电子设备。该方法包括:显示至少一个文件;接收用户针对至少一个目标文件的第一输入,至少一个目标文件为至少一个文件中的文件;响应于第一输入,以预设模式显示与至少一个目标文件对应的第一文件夹,和/或,创建并显示与至少一个目标文件相对应的第二文件夹。

Description

文件控制方法及电子设备
相关申请的交叉引用
本申请要求于2019年09月29日提交中国国家知识产权局、申请号为201910935525.7、申请名称为“一种文件控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种文件控制方法及电子设备。
背景技术
随着通信技术的高速发展,电子设备的应用越来越广泛,用户对电子设备的性能要求也越来越高。
目前,电子设备中可以存储大量的文件,例如文档、音频,以及照片等文件。通常,用户可以触发电子设备将不同的文件保存在不同的文件夹中。以电子设备中存储的照片为例,如果用户想要触发电子设备将电子设备中的同一类型的照片保存在一个相册文件夹中,那么用户可以先在电子设备的相册列表界面中,触发电子设备创建一个相册文件夹;然后在电子设备的照片列表界面中选择照片;最后用户再在相册列表界面中选择该相册文件夹,如此可以触发电子设备将用户选择的照片存储在该相册文件夹中。
然而,按照上述方法,当用户想要触发电子设备整理电子设备中的某类文件时,用户需要多次触发电子设备在不同界面之间切换显示,如此导致电子设备整理文件的效率较低。
发明内容
本公开实施例提供一种文件控制方法及电子设备,以解决现有的电子设备整理文件的效率较低的问题。
为了解决上述技术问题,本公开实施例是这样实现的:
第一方面,本公开实施例提供了一种文件控制方法,该方法包括:显示至少一个文件;并接收用户针对至少一个目标文件的第一输入,该至少一个目标文件为该至少一个文件中的文件;以及响应于该第一输入,以预设模式显示与该至少一个目标文件相对应的第一文件夹,和/或,创建并显示与该至少一个目标文件相对应的第二文件夹。
第二方面,本公开实施例提供了一种电子设备。该电子设备包括第一显示模块、第一接收模块和第二显示模块。第一显示模块,用于显示至少一个文件;第一接收模块,用于接收用户针对至少一个目标文件的第一输入,该至少一个目标文件为第一显示模块显示的至少一个文件中的文件;第二显示模块,用于响应于第一接收模块接收的第一输入,以预设模式显示与至少一个目标文件相对应的第一文件夹,和/或,创建并显示与至少一个目标文件相对应的第二文件夹。
第三方面,本公开实施例提供了一种电子设备,该电子设备包括处理器、存储器 及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如上述第一方面中的文件控制方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如上述第一方面中的文件控制方法的步骤。
在本公开实施例中,可以显示至少一个文件;并接收用户针对至少一个目标文件的第一输入,该至少一个目标文件为至少一个文件中的文件;以及响应于第一输入,以预设模式显示与该至少一个目标文件相对应的第一文件夹中;和/或,创建并显示与至少一个目标文件相对应的第二文件夹。通过该方案,由于在电子设备接收到用户针对至少一个目标文件的第一输入的情况下,电子设备可以以预设模式显示第一文件夹;和/或创建并显示第二文件夹,因此当用户想要触发电子设备整理电子设备显示的文件时,用户可以通过第一输入触发电子设备显示和/或创建并显示与其想要整理的文件相对应的文件夹。如此,用户可以直接触发电子设备将这些文件保存到与这些文件对应的文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
附图说明
图1为本公开实施例提供的安卓操作系统的架构示意图;
图2为本公开实施例提供的文件控制方法的示意图之一;
图3为本公开实施例提供的文件控制方法的示意图之二;
图4为本公开实施例提供的文件控制方法应用的界面示意图之一;
图5为本公开实施例提供的文件控制方法的示意图之三;
图6为本公开实施例提供的文件控制方法应用的界面示意图之二;
图7为本公开实施例提供的文件控制方法的示意图之四;
图8为本公开实施例提供的文件控制方法的示意图之五;
图9为本公开实施例提供的文件控制方法的示意图之六;
图10为本公开实施例提供的文件控制方法的示意图之七;
图11为本公开实施例提供的文件控制方法应用的界面示意图之三;
图12为本公开实施例提供的文件控制方法应用的界面示意图之四;
图13为本公开实施例提供的电子设备的结构示意图;
图14为本公开实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象, 而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
下面对本公开实施例中涉及的一些术语/名词进行解释说明。
交互状态:是指多个对象之间可以相互获取每个对象的信息。例如,当本公开实施例中的第一区域和第二区域处于交互状态时,第一区域可以获取第二区域接收到的操作以及第二区域中的内容;相应的,第二区域可以获取第一区域接收到的操作以及第一区域中的内容。
本公开实施例提供一种文件控制方法及电子设备,可以显示至少一个文件;并接收用户针对至少一个目标文件的第一输入,该至少一个目标文件为至少一个文件中的文件;以及响应于第一输入,以预设模式显示与该至少一个目标文件相对应的第一文件夹中;和/或,创建并显示与至少一个目标文件相对应的第二文件夹。通过该方案,由于在电子设备接收到用户针对至少一个目标文件的第一输入的情况下,电子设备可以以预设模式显示第一文件夹;和/或创建并显示第二文件夹,因此当用户想要触发电子设备整理电子设备显示的文件时,用户可以通过第一输入触发电子设备显示和/或创建并显示与其想要整理的文件相对应的文件夹。如此,用户可以直接触发电子设备将这些文件保存到与这些文件对应的文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
本公开实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本公开实施例提供的文件控制方法所应用的软件环境。
如图1所示,为本公开实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的文件控制方法的软件程序,从而使得该文件控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的文件控制方法。
本公开实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。
本公开实施例提供的文件控制方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该文件控制方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以电子设备为例,对本公开实施例提供的文件控制方法进行示例性的说明。
本公开实施例中,电子设备中可以存储多种类型的文件,例如文档类文件、音频类文件,以及照片类文件等。通常,如果用户想要触发电子设备整理某一类型的文件,那么用户可以触发电子设备将该类型的文件中的一些文件保存在一个文件夹,以触发电子设备整理该类型的文件。具体的,在电子设备显示该类型的文件(例如本公开实施例中的至少一个文件)的情况下,用户可以通过对该至少一个文件中的文件的输入(例如本公开实施例中的第一输入),触发电子设备显示与这些文件相对应的文件夹(例如本公开实施例中的第一文件夹),和/或,创建并显示与这些文件相对应的文件夹(例如本公开实施例中的第而文件夹)。如此,用户可以触发电子设备将这些文件保存到该第一文件夹或第二文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
下面结合各个附图对本公开实施例提供文件控制方法进行示例性的说明。
如图2所示,本公开实施例提供一种文件控制方法,该方法包括下述的S201-S203。
S201、电子设备显示至少一个文件。
S202、电子设备接收用户针对至少一个目标文件的第一输入。
其中,上述至少一个目标文件为上述至少一个文件中的文件。
S203、电子设备响应于该第一输入,以预设模式显示与该至少一个目标文件相对应的第一文件夹;和/或,创建并显示与该至少一个目标文件相对应的第二文件夹。
本公开实施例中,在用户想要触发电子设备整理电子设备中的文件的情况下,用户可以通过针对上述至少一个目标文件的第一输入触发电子设备以预设模式显示上述第一文件夹,和/或,创建并显示上述第二文件夹。如此用户可以根据自身使用需求,触发电子设备将该至少一个目标文件保存到第一文件夹或第二文件夹,从而可以快速地触发电子设备整理电子设备中的文件。
可选的,本公开实施例中,上述至少一个文件所属的文件类型可以相同。相应的,上述至少一个目标文件所属的文件类型也可以相同。
可选的,本公开实施例中,上述至少一个文件可以为电子设备中保存的同种文件类型的文件中的全部文件或部分文件。
可选的,本公开实施例中,上述至少一个文件所属的文件类型可以为文档类、音乐类、视频类,以及照片类等任意可能的文件类型。具体可以根据实际使用需求确定,本公开实施例不做限定。
本公开实施例中,上述至少一个目标文件所属的文件类型可以与上述至少一个文件所属的文件类型相同。
可选的,本公开实施例中,电子设备可以同时显示上述至少一个文件和保存这些文件的文件夹(例如第一文件夹、第二文件夹等)可以同时显示在电子设备的屏幕的不同区域,如此用户无须触发电子设备显示不同的界面,即可触发电子设备将该至少一个文件中的文件(例如上述至少一个目标文件)保存到某个文件夹中。
示例性的,结合上述图2,如图3所示,上述S201具体可以通过下述的S201a实现,上述S203具体可以通过下述的S203a实现。
S201a、电子设备在电子设备的屏幕的第一区域显示至少一个文件。
S203a、电子设备响应于第一输入,在电子设备的屏幕的第二区域以预设模式显示第一文件夹,和/或,在电子设备的屏幕的第二区域创建并显示第二文件夹。
本公开实施例中,在电子设备的屏幕为可折叠屏幕的情况下,电子设备可以在上述第一区域显示上述至少一个文件,且在电子设备接收到上述第一输入之后,电子设备可以在上述第二区域以预设模式显示上述第一文件夹,和/或,在上述第二区域创建并显示上述第二文件夹。
可选的,本公开实施例中,上述第一区域和上述第二区域可以处于交互状态。
可选的,本公开实施例中,上述第一区域和第二区域可以为电子设备的一个屏幕上的区域;或者,上述第一区域和第二区域可以为电子设备的不同屏幕上的区域。
可以理解,当上述第一区域和上述第二区域为不同屏幕上的区域时,上述第一区域和上述第二区域分别可以为不同屏幕上的全部区域,或者为不同屏幕上的部分区域。具体可以根据实际使用需求确定,本公开实施例不作限定。
例如,第一区域可以为电子设备的第一屏幕上的全部区域或部分区域,第二区域可以为电子设备的第二屏幕上的全部区域或部分区域。
需要说明的是,本公开实施例是以第一区域为电子设备的第一屏幕上的全部区域,第二区域为电子设备的第二屏幕上的全部区域为例进行示例性的说明的。对于第一区域为电子设备的第一屏幕上的部分区域,第二区域为电子设备的第一屏幕上的部分区域或第二屏幕上的部分区域的控制方式与第一区域为电子设备的第一屏幕上的全部区域,第二区域为电子设备的第二屏幕上的全部区域的控制方式类似,为避免重复,本公开实施例不再赘述。
可选的,本公开实施例中,在电子设备未响应上述第一输入之前,电子设备可以在上述第二区域显示至少一个文件夹。其中,该至少一个文件夹包括上述第一文件夹。
本公开实施例中,上述至少一个文件夹中保存的文件所属的文件类型与上述至少一个文件的所属的文件类型相同。
示例性的,假设上述至少一个文件所属的的文件类型为照片类,且上述第一区域为电子设备的第一屏幕上的全部区域,上述第二区域为电子设备的第二屏幕的全部区域,那么,如图4所示,电子设备可以在电子设备的第一屏幕34(即第一区域)上显示至少一张照片,且在电子设备未响应上述第一输入之前,电子设备在电子设备的第二屏幕35(即第二区域) 上显示三个用于保存照片类文件的文件夹(即上述至少一个文件夹)。
需要说明的是,本公开实施例中界面示意图均是以电子设备的屏幕为可折叠屏幕为例进行示例性说明的,实际实现时,电子设备的屏幕的形式还可以为其它任意可能的形式,具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,当电子设备在其屏幕的不同区域(即上述第一区域和第二区域)显示上述至少一个文件、上述第一文件夹和/或第二文件夹时,用户无须触发电子设备显示不同的界面,即可触发电子设备将上述至少一个目标文件保存至某一文件夹中,即用户可以快速地触发电子设备整理电子设备中的文件。
可选的,本公开实施例中,上述第二区域中还可以包括删除控件,在电子设备在上述第一区域显示至少一个文件之后,用户还可以通过对该至少一个文件中的文件和该删除控件的输入,触发电子设备删除该至少一个文件中的文件,如此,用户可以比较便捷地触发电子设备删除电子设备中的文件,从而使得用户在电子设备中的操作比较便捷。
可选的,本公开实施例中,上述第一输入可以包括第一输入包括至少一个第一子输入和第二子输入。其中,该至少一个第一子输入中的每个第一子输入可以为用户对上述至少一个目标文件中的一个目标文件的选择输入,第二子输入可以为用户触发电子设备以预设模式显示上述第一文件夹的输入,和/或,用户触发电子设备创建并显示上述第二文件夹的输入。
具体的,本公开实施例中,用户可以通过上述至少一个第一子输入,触发电子设备选中上述至少一个目标文件,然后再通过上述第二子输入触发电子设备以预设模式显示上述第一文件夹,和/或,通过上述第三子输入触发电子设备创建并显示上述第二文件夹。
可选的,本公开实施例中,一个第一子输入(上述至少一个第一子输入中的任意一个第一子输入)可以为用户对一个目标文件的单击输入、双击输入,或者长按输入等任意可能的输入。具体可以根据实际使用需求确定,本公开实施例不做限定。
本公开实施例中,上述长按输入可以为用户在目标文件上以大于或等于时间阈值的时长按下的输入。
可选的,本公开实施例中,上述时间阈值可以为电子设备的厂商根据电子设备的性能在电子设备中预置的数值,例如3秒、5秒等。具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,在电子设备选中上述至少一个目标文件之后,电子设备可以在该至少一个目标文件中的每个目标文件上显示一个选中标识。其中,一个目标文件上显示的选中标识可以用于指示电子设备已选中该目标文件。
可选的,本公开实施例中,上述选中标识可以为一个对勾标识或者圆点标识等任意可能的标识。具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,假设上述选中标识为一个对勾标识,上述至少一个目标文件的数量为2个,分别为第一目标文件和第二目标文件,那么在电子设备选中该至少一个目标文件之后,如图4所示,电子设备可以在第一目标文件31和第二目标文件32上分别显示一个对勾标识33。如此,电子设备可以向用户展示电子设备已选中上述至少一个目标文件(即图4中的第一目标文件31和第二目标文件32)。
可选的,本公开实施例中,上述第二子输入可以为用户对电子设备中的确定控件的输 入,或者为用户对该至少一个目标文件的拖动输入等任意可能的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
当然,实际实现时,上述第一输入的实现方式还可以为其它任意可能的方式,具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,用户触发电子设备将上述至少一个目标文件保存至某一文件夹的输入(以下简称为第四输入)可以为与上述第一输入连续的输入,也可以为与上述第一输入不连续的输入,具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,结合上述图2,如图5所示,上述S203具体可以通过下述的S203b实现。
S203b、电子设备响应于第一输入,以预设模式显示与至少一个目标文件相对应的第一文件夹。
本公开实施例中,在电子设备接收到用户针对上述至少一个目标文件的第一输入之后,电子设备响应于该第一输入,可以以预设模式显示与该至少一个目标文件相对应的第一文件夹。
本公开实施例中,上述至少一个目标文件与上述第一文件夹的对应关系可以为:该至少一个目标文件的内容与第一文件夹中保存的文件的内容匹配。
本公开实施例中,上述文件的内容可以通过文件的内容类型确定。当然,实际实现时,文件的内容还可通过其它任意可能的对象确定,具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,在上述至少一个目标文件所属的文件类型为照片类的情况下,上述至少一个目标文件的内容类型可以为风景类照片、水果类照片,以及人物类照片等;在上述至少一个目标文件所属的文件类型为音频类的情况下,上述至少一个目标文件的内容类型可以为摇滚类音频、抒情类音频,以及嘻哈类音频等;在上述至少一个目标文件所属的文件类型为视频类的情况下,上述至少一个目标文件的内容类型可以为动作类视频、喜剧类视频,以及爱情类视频等。
本公开实施例中,上述该至少一个目标文件的内容与第一文件夹中保存的文件的内容匹配可以为:该至少一个目标文件的内容所属的类型(以下简称为内容类型)与第一文件夹中保存的文件的内容类型相同或相似等。
示例性的,当上述至少一个目标文件的内容类型为风景类照片时,上述第一文件夹中保存的文件的内容类型也可以为风景类照片。
可选的,本公开实施例中,上述S203b具体可以通过下述的S203b1-S203b2实现。
S203b1、电子设备识别至少一个目标文件的内容,得到第一信息。
S203b2、电子设备根据该第一信息,确定与第一信息相对应的第一文件夹,并以预设模式显示第一文件夹。
本公开实施例中,电子设备响应于上述第一输入,可以先识别上述至少一个目标文件的内容,以得到上述第一信息,然后再根据上述第一信息确定与该第一信息相对应的第一文件夹,并且以预设模式显示该第一文件夹。
可选的,本公开实施例中,上述第一信息可以为上述至少一个目标文件的内容类型。当然,实际实现时,上述第一信息还可以为该至少一个目标文件中的其它信息,具体可以 根据实际使用需求确定,本公开实施例不作限定。
可以理解,上述第一文件夹与上述第一信息的对应关系可以为:上述第一文件夹中的保存的文件的第二信息与上述第一信息相同或类似。其中,该第二信息与第一信息可以为同一种类型的信息。
可选的,本公开实施例中,在上述至少一个目标文件为至少一个图像的情况下,电子设备可以通过图像识别技术,识别该至少一个目标文件,得到上述第一信息。
示例性的,本公开实施例中,上述S203a1具体可以通过下述的S203a11实现。
S203a11、电子设备采用图像识别技术,识别至少一个图像的内容,得到第一信息。
本公开实施例中,在上述至少一个目标文件为至少一个图像的情况下,电子设备可以采用图像识别技术,识别该至少一个图像的内容,得到上述第一信息。
可选的,本公开实施例中,上述图像识别技术可以通过电子设备中的AI识图功能实现。
当然,实际实现时,电子设备还可以通过任意可能的技术,识别上述至少一个图像的内容,具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,由于图像识别技术可以准确的识别图像的内容,因此在上述至少一个目标内容为至少一个图像的情况下,电子设备可以采用图像识别技术准确地识别该至少一个图像的内容,从而可以使得电子设备得到的第一信息比较准确,进而电子设备根据第一信息确定的第一文件夹与该至少一个图像(即至少一个目标文件)的匹配度比较高。
可选的,本公开实施例中,上述预设模式可以为以下任意一项:高亮显示模式、预设色彩显示模式、放大显示模式。
当然,实际实现时,上述预设模式还可以为其它任意可能的模式,具体可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,假设上述至少一个目标文件所属的文件类型均为照片类,该至少一个目标文件的内容类型均为水果类照片,即上述第一信息为水果类照片;且电子设备中包括三个相册文件夹,分别为“风景”相册文件夹、“水果”相册文件夹和“人物”相册文件夹;以及上述预设模式为放大显示模式。那么,电子设备可以根据该第一信息(水果类照片),从该3个相册文件夹中确定出“水果”相册文件夹为上述第一文件夹,且电子设备可以以如图6所示的放大显示状态显示“水果”相册文件夹。
本公开实施例中,由于上述预设模式可以清楚地区别于其它传统的显示模式,因此电子设备可以通过以预设模式显示上述第一文件夹的方式,清楚地向用户指示该第一文件夹与上述第一信息对应。如此,用户可以根据自身使用需求,触发电子设备将该至少一个目标文件保存到该第一文件夹中。
可选的,本公开实施例中,在电子设备以预设模式显示与上述至少一个目标文件相对应的第一文件夹之后,如果用户想要触发电子设备将该至少一个目标文件保存到其它文件夹(例如本公开实施例中的第三文件夹)中,那么当电子设备接收到用户将该至少一个目标文件拖动到第三文件夹的输入,电子设备可以以预设模式显示该第三文件夹,并以传统模式显示第一文件夹,即电子设备将不再以预设模式显示该第一文件夹。
示例性的,本公开实施例中,结合上述图5,如图7所示,在上述S203b之后,本公开实施例提供的文件控制方法还可以包括下述的S204和S205。
S204、电子设备接收用户的第二输入。
其中,上述第二输入可以用户为将上述至少一个目标文件拖动到第三文件夹的输入。
S205、电子设备响应于该第二输入,从以预设模式显示第一文件夹切换到以预设模式显示第三文件夹。
本公开实施例中,在电子设备以预设模式显示上述第一文件夹之后,如果电子设备接收到上述第二输入,那么电子设备可以从以预设模式显示上述第一文件夹切换到以预设模式显示上述第三文件夹,如此可以提醒用户在上述第二输入结束之后,电子设备将上述至少一个目标文件保存至该第三文件夹中。
可选的,本公开实施例中,上述第二输入可以为与上述第一输入连续的输入。
示例性的,当上述第一输入为用户拖动上述至少一个目标文件的输入时,上述第二输入可以为用户的手指不离开电子设备的屏幕,将该至少一个目标文件拖动到第三文件夹的输入。
可选的,本公开实施例中,上述第三文件夹可以根据上述第二输入的输入参数确定。
可选的,本公开实施例中,第一种可能的实现方式,电子设备可以将与上述第二输入的结束位置(例如用户松开手指的位置)对应的文件夹确定为上述第三文件夹。
当然,实际实现时,电子设备还可以根据上述第二输入的其它任意可能的输入参数确定上述第三文件夹,具体可以根据实际使用需求确定,本公开实施例不作限定。
需要说明的是,本公开实施例中,在上述第一文件夹与上述第三文件夹为同一文件夹的情况下,电子设备可以继续以上述预设显示状态显示上述第一文件夹。
可选的,本公开实施例中,在电子设备接收到上述第二输入之后,电子设备可以取消以预设模式显示上述第一文件夹,且继续以传统显示模式显示上述第三文件夹。
当然,实际实现时,在电子设备接收到上述第二输入之后,电子设备还可以以其它任意可能的形式显示上述第一文件夹和上述第三文件夹,具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,由于上述第二输入为用户在电子设备中的主动输入,那么在电子设备接收到第二输入,那么电子设备可以确定用户想要将上述至少一个目标文件保存至上述第三文件夹中,因此电子设备可以以特殊的显示模式(例如预设模式)显示第三文件夹,以提醒用户在上述第二输入结束之后,电子设备将上述至少一个目标文件保存至该第三文件夹中。
可选的,本公开实施例中,结合图2,如图8所示,上述S203具体可以通过下述的S203c实现。
S203c、电子设备响应于第一输入,创建并显示与至少一个目标文件相对应的第二文件夹。
本公开实施例中,在电子设备接收到上述第一输入之后,电子设备可以创建并显示上述第二文件夹。
可以理解,在用户未触发电子设备将上述至少一个目标文件保存至第二文件夹之前,第二文件夹中未保存任何文件,即第二文件夹为一个空白文件夹。
可选的,本公开实施例中,上述S203c具体可以通过下述的S203c1实现。
S203c1、电子设备响应于第一输入,在不存在与至少一个目标文件的内容相对应的文 件夹的情况下,创建并显示第二文件夹。
本公开实施例中,电子设备响应于上述第一输入,可以先识别电子设备中的文件夹中保存的文件的内容,如果电子设备中不存在与上述至少一个目标文件的内容相对应的文件夹的情况下,那么电子设备可以创建并显示上述第二文件夹,如此可以提醒用户电子设备中不存在与该至少一个目标文件相对应的文件夹,用户可以触发电子设备将该至少一个目标文件保存至第二文件夹。
本公开实施例中,对于上述至少一个目标文件如何与电子设备中的文件夹对应的相关描述,具体可以参见上述实施例中的详细描述,为避免重复,此处不再赘述。
可选的,本公开实施例中,上述S203c具体可以通过下述的S203c2实现。
S203c2、电子设备响应于第一输入,在第一输入的输入参数符合预设参数的情况下,创建并显示第二文件夹。
可选的,本公开实施例中,上述第一输入的输入参数可以为第一输入的输入时长或者第一输入的输入位置等任意可能的输入参数。具体可以根据实际使用需求确定,本公开实施例不作限定。
相应的,本公开实施例中,上述预设参数可以为预设时长或者预设位置等任意可能的参数。具体可以根据实际使用需求确定,本公开实施例不作限定。
本公开实施例中,由于上述第一输入的输入参数符合预设参数可以表示用户想要触发电子设备将该至少一个目标文件保存到新的文件夹中,因此在第一输入的输入参数符合预设参数的情况下,电子设备可以创建并显示上述第二文件夹。如此,用户可以触发电子设备将该至少一个目标文件保存到第二文件夹,从而可以使得电子设备能够按照用户的使用需求,灵活地整理电子设备中的文件。
可选的,本公开实施例中,结合上述图2,如图9所示,上述S203具体可以通过下述的S203d实现。
S203d、电子设备响应于第一输入,以预设模式显示与至少一个目标文件相对应的第一文件夹,且创建并显示与至少一个目标文件相对应的第二文件夹。
本公开实施例中,在电子设备接收到上述第一输入之后,电子设备可以以预设模式显示上述第一文件夹,且创建并显示上述第二文件夹。如此,用户可以根据自身使用需求,从这些文件夹中选择一个文件夹,以触发电子设备将该至少一个目标文件保存至该文件夹中。
本公开实施例中,对于上述“以预设模式显示与至少一个目标文件相对应的第一文件夹”和“电子设备创建并显示与至少一个目标文件相对应的第二文件夹”的相关描述,具体可以参见上述实施例中的详细描述,为避免重复,此处不再赘述。
需要说明的是,本公开实施例中,如果用户未触发电子设备将上述至少一个目标文件保存至上述第二文件夹,那么在电子设备将该至少一个目标文件整理完成之后,电子设备可以取消显示该第二文件夹,即电子设备可以删除该第二文件夹。
本公开实施例中,电子设备响应于上述第一输入,可以既以预设模式显示上述第一文件夹,又创建并显示第二文件夹,如此用户可以根据自身使用需求灵活的选择一个文件夹,已触发电子设备将上述至少一个目标文件某个文件夹中,如此使得用户在电子设备中整理文件的方式比较灵活。
本公开实施例提供一种文件控制方法,由于在电子设备接收到用户针对至少一个目标文件的第一输入的情况下,电子设备可以以预设模式显示第一文件夹;和/或创建并显示第二文件夹,因此当用户想要触发电子设备整理电子设备显示的文件时,用户可以通过第一输入触发电子设备显示和/或创建并显示与其想要整理的文件相对应的文件夹。如此,用户可以直接触发电子设备将这些文件保存到与这些文件对应的文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
可选的,本公开实施例中,如果用户想要触发电子设备整理电子设备中的某种类型的文件,那么用户可以先通过一个输入(例如本公开实施例中的第三输入)触发电子设备在上述第一区域显示电子设备中的该种类型的文件,并且在上述第二区域显示上述至少一个文件夹。然后,用户可以通过在电子设备中的输入(例如上述第一输入),触发电子设备整理电子设备中的该种类型的文件。
示例性的,结合图3,如图10所示,在上述S201a之前,本公开实施例提供的文件控制方法还可以包括下述的S206,上述S201a具体可以通过下述的S201a1实现。
S206、电子设备接收用户的第三输入。
S201a1、电子设备响应于该第三输入,在第一区域显示至少一个文件,并在第二区域上显示至少一个文件夹。
需要说明的是,本公开实施例中,对于上述至少一个文件和至少一个文件夹的相关描述,具体可以参见上述实施例中的对指示一个文件和至少一个文件夹的详细描述,为避免重复,此处不再赘述。
可选的,本公开实施例中,上述第三输入可以为用户对目标对象的输入。其中,该目标对象可以为电子设备中的特定控件,也可以为电子设备中的空白区域,还可以为电子设备中特定按键。具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,上述特定控件可以为电子设备中的文件整理控件、编辑控件等任意可能的控件;上述特定按键可以为电子设备中的人工智能(artificial intelligence,AI)按键、电源按键等任意可能的按键。具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,上述第三输入可以为用户对上述目标对象的单击输入、双击输入、长按输入,或者重按输入。具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,当上述至少一个文件的数量较多时,电子设备可能无法将该至少一个文件中的文件全部显示在上述第一区域中,那么用户可以通过在第一区域中的滑动输入(例如向上滑动输入、向下滑动输入、向左滑动输入,或者向右滑动输入等)等输入触发电子设备显示其它文件。如此,可以使得电子设备在该第一区域中显示该至少一个文件中的所有文件。
下面再结合图11,对上述S206和S201a1进行示例性的说明。
示例性的,假设上述至少一个文件所属的文件类型为照片类,电子设备中的至少一个文件的数量为12张,上述至少一个文件夹的数量为3;且上述目标对象为电子设备中的编辑控件,上述第三输入为用户对目标对象的单击输入;以及上述第一区域为电子设备的第一屏上的全部区域,上述第二区域为电子设备的第二屏上的全部区域,那么如图11中的 (a)所示,用户单击电子设备中的编辑控件41,响应于该输入,电子设备在如图11中的(b)所示的电子设备的第一屏34(即第一区域)显示12张照片(即上述至少一个文件),并在如图11中的(b)所示的第二屏35(即第二区域)显示3个相册文件夹(即上述至少一个文件夹)。
本公开实施例中,在用户想要触发电子设备整理电子设备中的某一文件类型的文件时,用户可以通过上述第三输入触发电子设备在上述第一区域显示上述至少一个文件,并在上述第二区域显示上述至少一个文件夹,如此可以使得用户通过在电子设备中的输入,快速地触发电子设备整理电子设备中的该文件类型的文件。
可选的,本公开实施例中,在电子设备创建并显示上述第二文件夹之后,如果用户触发电子设备将上述至少一个目标文件保存到第二文件夹,那么在电子设备将该至少一个目标文件保存到第二文件夹之后,电子设备可以以可编辑状态显示第二文件夹的名称,或者,电子设备可以显示信息输入区域,以提醒用户为第二文件夹命名。如此,用户可以根据自身使用需求,直接在电子设备中编辑其想要的第二文件夹的名称,从而可以提高电子设备整理文件的灵活性。
其中,上述第二文件夹的名称可以根据上述至少一个目标文件的内容确定,上述目标输入区域可以用于输入第二文件夹的名称。
可选的,本公开实施例中,电子设备以可编辑状态显示上述第二文件夹的名称的方式可以为以下任意一项:第二文件夹的名称所在区域处于可编辑状态、电子设备显示信息输入框。其中,该信息输入框中可以包括第二文件夹的名称。
当然,实际实现时,电子设备以可编辑状态显示上述第二文件夹的名称的方式还可以包括其它任意可能的方式,具体可以根据实际使用需求确定,本公开实施例不作限定。
可选的,本公开实施例中,上述目标输入区域可以不包括任何内容,用户可以根据自身使用需求在该目标输入区域中输入其想要的第二文件夹的名称。
可选的,本公开实施例中,在电子设备以可编辑状态显示第二文件夹的名称,或显示目标输入区域的情况下,电子设备还可以显示电子设备中的虚拟键盘,如此用户可以直接通过该虚拟键盘输入第二文件夹的名称。
示例性的,假设电子设备以可编辑状态显示上述第二文件夹的名称的方式为电子设备显示信息输入框;且上述第二文件夹的名称为“游戏”。那么,在电子设备将上述至少一个目标文件保存到第二文件夹中之后,电子设备可以显示如图12所示的信息输入框51,且该信息输入框51中包括第二文件夹的名称“游戏”,并且显示如图12所示的虚拟键盘52。如此,用户可以直接在虚拟键盘52中输入其想要设置的第二文件夹的名称。
可选的,本公开实施例中,电子设备还可以显示“确定”控件和“取消”控件。用户可以通过对“确定”控件的输入触发电子设备完成对第二文件夹的名称的编辑;用户可以通过对“取消”控件的输入触发电子设备结束对第二文件夹的名称的编辑,此时第二文件夹的名称可以为电子设备根据上述至少一个目标文件的内容信息确定的名称。
本公开实施例中,电子设备可以通过以可编辑状态显示第二文件夹的名称或显示上述目标输入区域,提醒用户为第二文件夹命名。如此,在电子设备将上述至少一个目标文件保存到第二文件夹之后,用户即可直接在电子设备中输入其想要设置的第二文件夹的名称,如此可以提高用户与电子设备的人机交互性能。
需要说明的是,本公开实施例中,上述各个附图所示的文件控制方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的文件控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图13所示,本公开实施例提供一种电子设备600。该电子设备600包括第一显示模块601、第一接收模块602和第二显示模块603。第一显示模块601,用于显示至少一个文件;第一接收模块602,用于接收用户针对至少一个目标文件的第一输入,至少一个目标文件为第一显示模块601显示的至少一个文件中的文件;第二显示模块603,用于响应于第一接收模块602接收的第一输入,以预设模式显示与至少一个目标文件相对应的第一文件夹;和/或,创建并显示与至少一个目标文件相对应的第二文件夹。
可选的,第二显示模块包括识别子模块、确定子模块和第一显示子模块;识别子模块,用于识别至少一个目标文件,得到第一信息;确定子模块,用于根据识别子模块得到的第一信息,确定与第一信息相对应的第一文件夹;第一显示子模块,用于以预设模式显示确定子模块确定的第一文件夹。
可选的,至少一个目标文件为至少一个图像;识别子模块包括识别单元;识别单元,用于采用图像识别技术,识别至少一个图像的内容,得到第一信息。
可选的,电子设备的屏幕为可折叠屏幕;第一显示模块包括第二显示子模块,第二显示子模块,用于在电子设备的屏幕的第一区域显示至少一个文件;第二显示模块包括第三显示子模块,第三显示子模块,用于在电子设备的屏幕的第二区域以预设模式显示第一文件夹;和/或在电子设备的屏幕的第二区域创建并显示第二文件夹。
可选的,电子设备还包括第二接收模块和第三显示模块;第二接收模块,用于在第二显示模块以预设模式显示与至少一个目标文件相对应的第一文件夹之后,接收用户的第二输入,第二输入为将至少一个目标文件拖动到第三文件夹的输入;第三显示模块,用于响应于第二接收模块接收的第二输入,从以预设模式显示第一文件夹切换到以预设模式显示第三文件夹。
可选的,预设模式为以下任意一项:高亮显示模式、预设色彩显示模式、放大显示模式。
可选的,第二显示模块包括第四显示子模块和第五显示子模块,第四显示子模块,用于在不存在与至少一个目标文件的内容相对应的文件夹的情况下,创建并显示第二文件;或者,第五显示子模块,用于在第一输入的输入参数符合预设参数的情况下,创建并显示第二文件夹。
本公开实施例提供的电子设备能够实现上述文件控制方法实施例中电子设备执行的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。
本公开实施例提供一种电子设备,由于在电子设备接收到用户针对至少一个目标文件的第一输入的情况下,电子设备可以以预设模式显示第一文件夹;和/或创建并显示第二文件夹,因此当用户想要触发电子设备整理电子设备显示的文件时,用户可以通过第一输入触发电子设备显示和/或创建并显示与其想要整理的文件相对应的文件夹。如此,用户可以直接触发电子设备将这些文件保存到与这些文件对应的文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
图14为实现本公开各个实施例的一种电子设备的硬件示意图。如图14所示,电子设 备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,显示单元106,用于显示至少一个文件;用户输入单元107,用于接收用户针对至少一个目标文件的第一输入,该至少一个目标文件为显示单元106显示的至少一个文件中的文件;显示单元106,还用于响应于用户输入单元107接收的第一输入,以预设模式显示与该至少一个目标文件相对应的第一文件夹;和/或,创建并显示与该至少一个目标文件相对应的第二文件夹。
可以理解,本公开实施例中,上述实施例中的电子设备的结构示意图(例如上述图13)中的第一显示模块601和第二显示模块603可以通过上述显示单元106实现;上述实施例中的电子设备的结构示意图(例如上述图13)中的第一接收模块602可以通过上述用户输入单元106实现。
本公开实施例提供一种电子设备,由于在电子设备接收到用户针对至少一个目标文件的第一输入的情况下,电子设备可以以预设模式显示第一文件夹;和/或创建并显示第二文件夹,因此当用户想要触发电子设备整理电子设备显示的文件时,用户可以通过第一输入触发电子设备显示和/或创建并显示与其想要整理的文件相对应的文件夹。如此,用户可以直接触发电子设备将这些文件保存到与这些文件对应的文件夹中,从而用户可以快速地触发电子设备整理电子设备中的文件,进而可以提高电子设备整理文件的效率。
应理解的是,本公开实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(graphics processing unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图14中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种电子设备,包括如图14所示的处理器110,存储器109,存储在存储器109上并可在处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述文件控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被如图14所示的处理器执行时实现上述文件控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,平板电脑,或者智能手表等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (16)

  1. 一种文件控制方法,应用于电子设备,所述方法包括:
    显示至少一个文件;
    接收用户针对至少一个目标文件的第一输入,所述至少一个目标文件为所述至少一个文件中的文件;
    响应于所述第一输入,以预设模式显示与所述至少一个目标文件相对应的第一文件夹;和/或,创建并显示与所述至少一个目标文件相对应的第二文件夹。
  2. 根据权利要求1所述的方法,其中,所述以预设模式显示与所述至少一个目标文件相对应的第一文件夹,包括:
    识别所述至少一个目标文件的内容,得到第一信息;
    根据所述第一信息,确定与所述第一信息相对应的所述第一文件夹,并以所述预设模式显示所述第一文件夹。
  3. 根据权利要求2所述的方法,其中,所述至少一个目标文件为至少一个图像;
    所述识别所述至少一个目标文件的内容,得到第一信息,包括:
    采用图像识别技术,识别所述至少一个图像的内容,得到所述第一信息。
  4. 根据权利要求1所述的方法,其中,所述电子设备的屏幕为可折叠屏幕;
    所述显示至少一个文件,包括:
    在所述屏幕的第一区域显示所述至少一个文件;
    所述以预设模式显示与所述至少一个目标文件相对应的第一文件夹,和/或,创建并显示与所述至少一个目标文件相对应的第二文件夹,包括:
    在所述屏幕的第二区域以预设模式显示所述第一文件夹;和/或,在所述屏幕的第二区域创建并显示所述第二文件夹。
  5. 根据权利要求1所述的方法,其中,所述以预设模式显示与所述至少一个目标文件相对应的第一文件夹之后,所述方法还包括:
    接收用户的第二输入,所述第二输入为将所述至少一个目标文件拖动到第三文件夹的输入;
    响应于所述第二输入,从以所述预设模式显示所述第一文件夹切换到以所述预设模式显示所述第三文件夹。
  6. 根据权利要求1所述的方法,其中,所述预设模式为以下任意一项:高亮显示模式、预设色彩显示模式、放大显示模式。
  7. 根据权利要求1所述的方法,其中,所述创建并显示与所述至少一个目标文件相对应的第二文件夹,包括:
    在不存在与所述至少一个目标文件的内容相对应的文件夹的情况下,创建并显示所述第二文件夹;
    或者,
    在所述第一输入的输入参数符合预设参数的情况下,创建并显示所述第二文件夹。
  8. 一种电子设备,所述电子设备包括第一显示模块、第一接收模块和第二显示模块;
    所述第一显示模块,用于显示至少一个文件;
    所述第一接收模块,用于接收用户针对至少一个目标文件的第一输入,所述至少一个 目标文件为所述第一显示模块显示的至少一个文件中的文件;
    所述第二显示模块,用于响应于所述第一接收模块接收的所述第一输入,以预设模式显示与所述至少一个目标文件相对应的第一文件夹;和/或,创建并显示与所述至少一个目标文件相对应的第二文件夹。
  9. 根据权利要求8所述的电子设备,其中,所述第二显示模块包括识别子模块、确定子模块和第一显示子模块;
    所述识别子模块,用于识别所述至少一个目标文件,得到第一信息;
    所述确定子模块,用于根据所述识别子模块得到的第一信息,确定与所述第一信息相对应的所述第一文件夹;
    所述第一显示子模块,用于以所述预设模式显示所述确定子模块确定的所述第一文件夹。
  10. 根据权利要求9所述的电子设备,其中,所述至少一个目标文件为至少一个图像;
    所述识别子模块包括识别单元;
    所述识别单元,用于采用图像识别技术,识别所述至少一个图像的内容,得到所述第一信息。
  11. 根据权利要求8所述的电子设备,其中,所述电子设备的屏幕为可折叠屏幕;
    所述第一显示模块包括第二显示子模块;
    所述第二显示子模块,用于在所述屏幕的第一区域显示所述至少一个文件;
    所述第二显示模块包括第三显示子模块;
    所述第三显示子模块,用于在所述屏幕的第二区域以预设模式显示所述第一文件夹;和/或在所述屏幕的第二区域创建并显示所述第二文件夹。
  12. 根据权利要求8所述的电子设备,其中,所述电子设备还包括第二接收模块和第三显示模块;
    所述第二接收模块,用于在所述第二显示模块以预设模式显示与所述至少一个目标文件相对应的第一文件夹之后,接收用户的第二输入,所述第二输入为将所述至少一个目标文件拖动到第三文件夹的输入;
    所述第三显示模块,用于响应于所述第二接收模块接收的第二输入,从以所述预设模式显示所述第一文件夹切换到以预设模式显示所述第三文件夹。
  13. 根据权利要求8所述的电子设备,其中,所述预设模式为以下任意一项:高亮显示模式、预设色彩显示模式、放大显示模式。
  14. 根据权利要求8所述的电子设备,其中,所述第二显示模块包括第四显示子模块和第五显示子模块,
    所述第四显示子模块,用于在不存在与所述至少一个目标文件的内容相对应的文件夹的情况下,创建并显示所述第二文件夹;
    或者,
    所述第五显示子模块,用于在所述第一输入的输入参数符合预设参数的情况下,创建并显示所述第二文件夹。
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项 所述的文件控制方法的步骤。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的文件控制方法的步骤。
PCT/CN2020/108684 2019-09-29 2020-08-12 文件控制方法及电子设备 WO2021057301A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910935525.7 2019-09-29
CN201910935525.7A CN110703972B (zh) 2019-09-29 2019-09-29 一种文件控制方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021057301A1 true WO2021057301A1 (zh) 2021-04-01

Family

ID=69196569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108684 WO2021057301A1 (zh) 2019-09-29 2020-08-12 文件控制方法及电子设备

Country Status (2)

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

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703972B (zh) * 2019-09-29 2021-04-06 维沃移动通信有限公司 一种文件控制方法及电子设备
CN111294542B (zh) * 2020-02-17 2022-04-08 维沃移动通信有限公司 一种图像存储方法及电子设备
CN112765104A (zh) * 2021-01-28 2021-05-07 维沃移动通信有限公司 文件保存方法、装置、设备及存储介质
CN113448927A (zh) * 2021-06-29 2021-09-28 维沃软件技术有限公司 文件命名方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844344A (zh) * 2016-09-19 2018-03-27 腾讯科技(深圳)有限公司 应用图标管理方法和装置
CN108255372A (zh) * 2018-01-24 2018-07-06 维沃移动通信有限公司 一种桌面应用图标整理方法及移动终端
CN109471841A (zh) * 2018-10-31 2019-03-15 维沃移动通信有限公司 一种文件分类方法和装置
CN110231897A (zh) * 2019-04-26 2019-09-13 维沃移动通信有限公司 一种对象处理方法及终端设备
CN110703972A (zh) * 2019-09-29 2020-01-17 维沃移动通信有限公司 一种文件控制方法及电子设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135911B (zh) * 2011-11-28 2015-12-09 联想(北京)有限公司 一种信息处理方法及电子终端
CN108073948A (zh) * 2012-01-17 2018-05-25 华为技术有限公司 一种照片分类管理方法、服务器、装置及系统
CN102789492A (zh) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 一种文件移动管理方法及其装置
CN102999249A (zh) * 2012-10-17 2013-03-27 广东欧珀移动通信有限公司 一种具有触摸屏的移动终端的用户界面管理方法及系统
CN104484107A (zh) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 一种图片处理方法
KR102409202B1 (ko) * 2015-07-21 2022-06-15 삼성전자주식회사 전자 장치 및 전자 장치에서 폴더 내 객체를 관리하기 위한 방법
CN106445995A (zh) * 2016-07-18 2017-02-22 腾讯科技(深圳)有限公司 图片的分类方法和装置
CN109871358A (zh) * 2019-01-31 2019-06-11 维沃移动通信有限公司 一种管理方法及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844344A (zh) * 2016-09-19 2018-03-27 腾讯科技(深圳)有限公司 应用图标管理方法和装置
CN108255372A (zh) * 2018-01-24 2018-07-06 维沃移动通信有限公司 一种桌面应用图标整理方法及移动终端
CN109471841A (zh) * 2018-10-31 2019-03-15 维沃移动通信有限公司 一种文件分类方法和装置
CN110231897A (zh) * 2019-04-26 2019-09-13 维沃移动通信有限公司 一种对象处理方法及终端设备
CN110703972A (zh) * 2019-09-29 2020-01-17 维沃移动通信有限公司 一种文件控制方法及电子设备

Also Published As

Publication number Publication date
CN110703972A (zh) 2020-01-17
CN110703972B (zh) 2021-04-06

Similar Documents

Publication Publication Date Title
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2021218902A1 (zh) 显示控制方法、装置及电子设备
WO2021104195A1 (zh) 图像显示方法及电子设备
WO2020063091A1 (zh) 一种图片处理方法及终端设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2021083132A1 (zh) 图标移动方法及电子设备
WO2021057301A1 (zh) 文件控制方法及电子设备
WO2020215949A1 (zh) 对象处理方法及终端设备
WO2021129536A1 (zh) 图标移动方法及电子设备
WO2021115278A1 (zh) 群组管理方法及电子设备
WO2021136159A1 (zh) 截屏方法及电子设备
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021057290A1 (zh) 信息控制方法及电子设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
WO2021129538A1 (zh) 一种控制方法及电子设备
WO2020220873A1 (zh) 图像显示方法及终端设备
WO2020182035A1 (zh) 图像处理方法及终端设备
WO2020156118A1 (zh) 管理方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备
WO2020181945A1 (zh) 标识显示方法及终端设备
WO2020192299A1 (zh) 信息显示方法及终端设备
WO2021017738A1 (zh) 界面显示方法及电子设备
WO2021164716A1 (zh) 显示方法及电子设备
WO2021129850A1 (zh) 语音消息播放方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20867518

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20867518

Country of ref document: EP

Kind code of ref document: A1