WO2020103002A1 - 一种文件收藏方法、文件收藏装置及终端设备 - Google Patents

一种文件收藏方法、文件收藏装置及终端设备

Info

Publication number
WO2020103002A1
WO2020103002A1 PCT/CN2018/116557 CN2018116557W WO2020103002A1 WO 2020103002 A1 WO2020103002 A1 WO 2020103002A1 CN 2018116557 W CN2018116557 W CN 2018116557W WO 2020103002 A1 WO2020103002 A1 WO 2020103002A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
target list
preset
information
collection
Prior art date
Application number
PCT/CN2018/116557
Other languages
English (en)
French (fr)
Other versions
WO2020103002A8 (zh
Inventor
林进全
Original Assignee
深圳市欢tai科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢tai科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢tai科技有限公司
Priority to PCT/CN2018/116557 priority Critical patent/WO2020103002A1/zh
Priority to CN201880098519.4A priority patent/CN112912844A/zh
Publication of WO2020103002A1 publication Critical patent/WO2020103002A1/zh
Publication of WO2020103002A8 publication Critical patent/WO2020103002A8/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application belongs to the field of information processing technology, and particularly relates to a file collection method, a file collection device, a terminal device, and a computer-readable storage medium.
  • the present application provides a file collection method, a file collection device, a terminal device, and a computer-readable storage medium, which can improve the operation efficiency of viewing and using specific files such as high-frequency use files.
  • the first aspect of this application provides a file collection method, including:
  • the terminal device When it is detected that the terminal device opens the preset interface, the first target list in the favorite folder is displayed on the preset interface.
  • the second aspect of the present application provides a file collection device, including:
  • An obtaining module configured to obtain file information of the file after receiving a collection instruction of the file
  • a collection module configured to add the file to the corresponding first target list in the collection folder according to the file information
  • the display module is configured to display the first target list in the favorite folder on the preset interface when it is detected that the terminal device opens the preset interface.
  • a third aspect of the present application provides a terminal device.
  • the terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor implements the computer program as described above when executing the computer program. The steps of the file collection method of the first aspect.
  • a fourth aspect of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the file collection method of the first aspect described above are implemented.
  • a fifth aspect of the present application provides a computer program product.
  • the computer program product includes a computer program.
  • the steps of the file collection method of the first aspect described above are implemented.
  • FIG. 1 is a schematic diagram of an implementation process of a file collection method provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an interface provided by an embodiment of the present application after marking the file
  • FIG. 3 is a schematic diagram of another implementation process of the file collection method provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an interface of the preset interface provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another implementation process of the file collection method provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface provided by an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a file collection device provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • the file collection method in the embodiment of the present application includes:
  • step 101 after receiving a file collection instruction, obtain file information of the file;
  • the collection instruction may be obtained based on information input by a user through physical buttons, virtual buttons, or even voice.
  • the collection instruction indicates that the file is to be collected.
  • the file may be a photo, audio, video, document, installation package, and so on.
  • the file information may include one or more of the file's extension name, file size, storage location, content, logo, file name, and other information, which is not limited herein.
  • step 102 add the file to the corresponding first target list in the favorite folder according to the file information
  • the favorite folder may include one or more lists, and the list may include a first target list, and each list has files of different categories, so it can be determined according to the file information The category of the file, so that the first target list corresponding to the file can be determined.
  • the first target list may be a list of files of a favorite picture type.
  • the list in the embodiment of the present application may be a broad concept.
  • the list is a limited sequence of specified elements.
  • the specified elements are not limited to data and text, but can also be pictures, documents, audio, Video and other forms.
  • the designated elements can be arranged in a certain regular order to form the list.
  • the file information includes file content information, file category information, and / or file identification information
  • the adding the file to the corresponding first target list in the favorite folder according to the file information includes:
  • the file content information may include the file name of the file, the content recorded in the file (such as the document body, the target or background contained in the picture), etc.
  • the file category information may be It includes information such as the extension name of the file and the source of the file.
  • the file identification information may include information such as keywords and tags input by the user. Based on the file content information, file category information, and / or file identification information, the file category can be determined.
  • the type of the file is not limited to the type of the file (such as pictures, videos, audios, links, etc.), but the type of the file may be determined by means of file source, keywords, or tags.
  • different file categories can correspond to different lists in the collection folder, and after determining the file category, the first target list can be determined accordingly, so as to classify and collect different file categories, which improves The pertinence of file collection makes the efficiency of searching for the file in the collection folder improved.
  • step 103 when it is detected that the terminal device opens a preset interface, the first target list in the favorite folder is displayed on the preset interface.
  • the terminal device may be a wearable device, a smart phone, a tablet computer, a desktop computer, and other electronic devices, which is not limited herein.
  • the preset interface may be opened by activating a virtual key or a physical key on the display interface of the terminal device.
  • the desktop of the operating system may be displayed on the display interface, and the virtual key may be a preset Icon of the favorite folder of, etc., so that when a user's operation of clicking the icon of the favorite folder is detected, the preset interface can be opened, and the contents of the favorite folder can be displayed on the preset interface The target list.
  • the displaying the first target list in the favorite folder on the preset interface may include displaying the first target list according to an operation associated with a file favorite in the first target list For files favorited in the first target list, if a pinning operation on any file favorited in the first target list is detected, the file corresponding to the pinned operation is set to the first in the first target list Rows and display by specifying colors, etc., or according to the latest operation time of the files favorited in the first target list (such as the most recent viewing time or the most recently added time), the favorites in the first target list are displayed in order document.
  • the preset interface may display the information of the favorite files ranked in the top five in the order of the first target list (such as the most recent viewing time or the time of favorite time), and may display the top five The type identification, collection time, name, etc. corresponding to the favorite file.
  • the file may be a picture
  • the first target list may be a picture list; correspondingly, the first five favorites with the most recent favorite time in the first target list may be sequentially displayed on the preset interface Picture thumbnail and name.
  • the preset interface may also display other lists than the first target list included in the favorite folder. If the first target list is a picture list, the preset interface may also display The information of the list of documents, audio lists, video lists, etc. in the favorite folder can be displayed.
  • the displaying the first target list in the favorite folder on the preset interface includes:
  • the files favorited in the first target list are arranged and displayed in order.
  • the latest operation time may include the most recent viewing time or the most recently added time, etc.
  • the files displayed in the first target list displayed in order may be arranged in descending order according to the latest operation time or Ascending.
  • the method further includes:
  • the file may be marked by means of graphics, symbols, and text.
  • the file may be marked in a folder and the like before the file is collected, and at this time, the file may be in the folder where the storage location is located.
  • the marking of the file includes:
  • the file at the initial position is marked by a preset mark, the preset mark indicates that the file is a favorite file, and the initial position is the position where the file is before being collected.
  • the preset logo may be graphics, symbols, text, etc., and the preset logo may be displayed in the list where the initial position is, such as displayed beside the file name of the file, to Mark the file as a favorite file.
  • FIG. 2 is a schematic diagram of an interface after the file is marked, wherein the picture file B is a favorite file, and the preset logo is a five-pointed star graphic.
  • the picture file B may be indicated as a favorite file by displaying the five-pointed star graphic on the right side of the picture file B.
  • the method further includes:
  • the first preset time interval may be set according to specific application scenarios.
  • the first preset time interval may be 30 days.
  • the operation instructions associated with the file may include instructions for viewing, editing, or sending the file, etc. to operate the file.
  • the second target list is different from the first target list.
  • the second target list may store the favorite files that the user has not used for a long time, so that the user can no longer need the favorite files after cleaning for a period of time through the second target list without the user having to
  • the target list is searched one by one to clean up, which improves the user's processing efficiency.
  • a first prompt message may be sent to prompt the user that the file will be deleted from the first target list, and / or ask the user whether to The file needs to be deleted from the first target list.
  • the source file of the file may still exist in the terminal device, that is, the file may still exist in the storage storing the file In the space, it is no longer displayed in the first target list.
  • the method further includes:
  • the second preset time interval may be set according to specific application scenarios.
  • the first preset time interval may be 20 days.
  • a second prompt message may be sent to prompt the user that the file will be deleted from the second target list, and / or ask the user whether to The file needs to be added to the first target list.
  • the source file of the file may still exist in the terminal device, that is, the file may still exist in the storage storing the file In the space, it is no longer displayed in the second target list.
  • the embodiment of the present application obtains the file information of the file after receiving the file collection instruction, and then adds the file to the corresponding first target list in the collection folder according to the file information ,
  • the files can be classified according to the file information to determine the corresponding first target list, so that the classification and collection of different types of files can be achieved, simplifying the file collection operation; and, when it is detected that the terminal device is opened
  • displaying the first target list in the favorite folder on the preset interface allows the user to conveniently find and use the favorite file through the favorite folder, so that the user can quickly obtain the usage
  • the files with higher frequency or more important improve the operation efficiency of viewing and using specific files with higher frequency of use, and have higher practicability and ease of use.
  • the file collection method in the embodiment of the present application includes:
  • step 301 after receiving a file collection instruction, obtain file information of the file;
  • step 302 add the file to the corresponding first target list in the favorite folder according to the file information
  • the above steps 301 and 302 are respectively the same as or similar to the above steps 101 and 102.
  • step 303 when a preset operation on the icon of the favorite folder is detected, the preset interface is opened;
  • the icon of the favorite folder may be set on the desktop of the terminal device, a preset status bar, a window, or a specified panel tool, etc.
  • the preset operation may be a mouse click operation, Double-click operation, preset touch operation, etc. Both the setting method of the icon and the preset operation can be set according to application scenarios, which is not limited herein.
  • step 304 information of files in the favorite folder is displayed on the preset interface, where information of files in the favorite folder includes information of the first target list.
  • the list in the favorite folder may include a picture list, a document list, a video list, and an audio list
  • the file may be a picture
  • the first target list may be a picture list
  • all The preset interface may display the information of the picture list, document list, video list, and audio list in the favorite folder through at least four areas.
  • the information of the first target list on the preset interface may be displayed in various ways, for example, information of some files or all files collected in the first target list may be displayed, or the first The corresponding icon of a target list and so on.
  • FIG. 4 is a schematic diagram of an interface provided by an embodiment of the present application.
  • the five-pointed star icon framed by the dotted line is the icon of the favorite folder.
  • the terminal device may detect a preset operation on the icon of the favorite folder.
  • FIG. 5 is a schematic diagram of an interface of the preset interface.
  • the interface shown in FIG. 5 may be the interface displayed on the screen of the terminal device after the user clicks the five-pointed star icon shown in FIG. 4.
  • the favorite folder includes a picture list, a document list, a video list, an audio list, etc.
  • the preset interface displays the picture list, document list, video list, and audio in four areas, respectively Information such as the names and thumbnails of some or all files in the list.
  • the file is a picture A
  • the first target list is the picture list.
  • the embodiment of the present application opens the preset interface when a preset operation on the icon of the favorite folder is detected, and displays the files in the favorite folder on the preset interface Information can enable users to quickly and easily obtain the collection of various types of files, thereby improving the user experience.
  • the file collection method in the embodiment of the present application includes:
  • step 601 a click operation on the file is detected
  • the click operation may be a click operation through a mouse or a touch on a touch screen.
  • step 602 if the click operation meets the first preset condition, an operation window is displayed, and the operation window includes preset virtual buttons;
  • the first preset condition may have various setting methods.
  • the first preset condition may be set according to factors such as a click time, a click number, a click button, and the like.
  • the click operation conforms to the first preset condition may be that the click operation is a click operation on the file with the left mouse button.
  • FIG. 7 is a schematic diagram of an interface provided by an embodiment of the present application.
  • the interface displays an operation window at the lower part of the interface, and the operation window includes delete, send, cut, copy, rename, Virtual buttons for viewing details, adding to favorite files, etc.
  • the virtual buttons displayed as "Add to Favorite Files" are preset virtual buttons.
  • step 603 if it is detected that the operation of the preset virtual key in the operation window meets the second preset condition, it is determined that a collection instruction for the file is received;
  • the second preset condition may have various setting methods.
  • the second preset condition may be set according to factors such as a click time, a click number, a click button, and the like.
  • the operation of the virtual key in the operation window meeting the second preset condition may be that the operation is a click operation on the preset virtual key by a left mouse button.
  • step 604 after receiving a file collection instruction, obtain file information of the file;
  • step 605 add the file to the corresponding first target list in the favorite folder according to the file information
  • step 606 when it is detected that the terminal device opens a preset interface, the first target list in the favorite folder is displayed on the preset interface.
  • the above steps 604, 605, and 606 are respectively the same as or similar to the above steps 101, 102, and 103.
  • the embodiment of the present application detects the click operation on the file; if the click operation meets the first preset condition, an operation window is displayed, and the operation window includes preset virtual buttons; When the operation of the preset virtual key in the operation window meets the second preset condition, it is determined that a collection instruction of the file is received, and the operation of collecting the file can be realized through the operation window, and subsequent
  • the file information adds the file to the corresponding first target list in the collection folder, thereby instructing the terminal device to complete the collection of the file located in a storage space or the like, and to store the file
  • Multiple operations such as adding files to the first target list enable the user to easily and quickly obtain the favorite files of various types through the favorite folder, thereby improving the user experience.
  • Embodiment 4 of the present application provides a file collection device.
  • the foregoing file collection device may be integrated into a terminal device.
  • the file collection device 800 in the embodiment of the present application includes:
  • the obtaining module 801 is configured to obtain the file information of the file after receiving the collection instruction of the file;
  • the collection module 802 is configured to add the file to the corresponding first target list in the collection folder according to the file information
  • the display module 803 is configured to display the first target list in the favorite folder on the preset interface when it is detected that the terminal device opens the preset interface.
  • the file collection device 800 further includes:
  • the marking module is used to mark the file.
  • the marking module is specifically used for:
  • the file at the initial position is marked by a preset mark, the preset mark indicates that the file is a favorite file, and the initial position is the position where the file is before being collected.
  • the file information includes file content information, file category information, and / or file identification information
  • the collection module 802 specifically includes:
  • the first determining unit is configured to determine the type of the file based on the file content information, file type information, and / or file identification information, and determine the corresponding number of the file in the favorite folder according to the file type A list of goals;
  • An adding unit is used to add the file to the corresponding first target list.
  • the display module 803 specifically includes:
  • An opening unit configured to open the preset interface when a preset operation on the icon of the favorite folder is detected
  • the first display unit is configured to display the information of the files in the favorite folder on the preset interface, where the information of the files in the favorite folder includes information of the first target list.
  • the file collection device 800 further includes:
  • a first judgment module configured to judge whether an operation instruction associated with the file is received within a first preset time interval
  • a first deletion module configured to delete the file from the first target list and add the file if no operation instruction associated with the file is received within the first preset time interval To the second target list.
  • the file collection device 800 further includes:
  • a second judgment module configured to judge whether an operation instruction associated with the file is received within a second preset time interval
  • the second deletion module is configured to delete the file from the second target list if the operation instruction associated with the file is not received within the second preset time interval.
  • the obtaining module 801 specifically includes:
  • a detection unit configured to detect the click operation on the file
  • a second display unit configured to display an operation window if the click operation meets the first preset condition, the operation window including preset virtual buttons;
  • the second determining unit is configured to determine that the collection instruction of the file is received if the operation of the preset virtual key in the operation window meets the second preset condition.
  • the display module 803 is specifically used to:
  • the files favorited in the first target list are arranged and displayed in order.
  • the embodiment of the present application obtains the file information of the file after receiving the file collection instruction, and then adds the file to the corresponding first target list in the collection folder according to the file information ,
  • the files can be classified according to the file information to determine the corresponding first target list, so that the classification and collection of different types of files can be achieved, simplifying the file collection operation; and, when it is detected that the terminal device is opened
  • displaying the first target list in the favorite folder on the preset interface allows the user to conveniently find and use the favorite file through the favorite folder, so that the user can quickly obtain the usage
  • the files with higher frequency or more important improve the operation efficiency of viewing and using specific files with higher frequency of use, and have higher practicability and ease of use.
  • the terminal device in the embodiment of the present application includes: a memory 901, one or more processors 902 (only one is shown in FIG. 9) and stored in the memory 901 A computer program that can be run on a processor.
  • the memory 901 is used to store software programs and modules, and the processor 902 executes various functional applications and data processing by running the software programs and units stored in the memory 901 to obtain resources corresponding to the preset events.
  • the processor 902 implements the following steps by running the above computer program stored in the memory 901:
  • the terminal device When it is detected that the terminal device opens the preset interface, the icon in the favorite folder and the first target list are displayed on the preset interface.
  • the processor 902 stores The following steps are also implemented in the above computer program of the memory 901:
  • the marking of the file includes:
  • the file at the initial position is marked by a preset mark, the preset mark indicates that the file is a favorite file, and the initial position is the position where the file is before being collected.
  • the file information includes file content information, file category information, and / or file identification information
  • the adding the file to the corresponding first target list in the favorite folder according to the file information includes:
  • the processor executes the computer program, when it is detected that the terminal device opens the preset interface, the The preset interface displaying the first target list in the favorite folder includes:
  • the information of the files in the favorite folder is displayed on the preset interface, where the information of the files in the favorite folder includes information of the first target list.
  • the processor 902 after adding the file to the corresponding first target list in the favorite folder according to the file information, the processor 902 also implements the following steps by running the above computer program stored in the memory 901:
  • the processor 902 runs the above computer program stored in the memory 901 The following steps are also implemented:
  • the detected collection instruction of the file includes:
  • an operation window is displayed, and the operation window includes preset virtual buttons
  • the displaying the first target list in the favorite folder on the preset interface includes:
  • the files favorited in the first target list are arranged and displayed in order.
  • the above terminal device may further include: one or more input devices 903 (only one shown in FIG. 9) and one or more output devices 904 (only one shown in FIG. 9).
  • the memory 901, the processor 902, the input device 903, and the output device 904 are connected through a bus 905.
  • the so-called processor 902 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) , Application Specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the input device 903 may include a keyboard, a touchpad, a fingerprint sensor (for collecting user's fingerprint information and fingerprint direction information), a microphone, etc.
  • the output device 904 may include a display, a speaker, and the like.
  • the memory 901 may include a read-only memory and a random access memory, and provide instructions and data to the processor 902. Part or all of the memory 901 may also include non-volatile random access memory. For example, the memory 901 may also store device type information.
  • the embodiment of the present application obtains the file information of the file after receiving the file collection instruction, and then adds the file to the corresponding first target list in the collection folder according to the file information ,
  • the files can be classified according to the file information to determine the corresponding first target list, so that the classification and collection of different types of files can be achieved, simplifying the file collection operation; and, when it is detected that the terminal device is opened
  • displaying the first target list in the favorite folder on the preset interface allows the user to conveniently find and use the favorite file through the favorite folder, so that the user can quickly obtain the usage
  • the files with higher frequency or more important improve the operation efficiency of viewing and using specific files with higher frequency of use, and have higher practicability and ease of use.
  • each functional unit and module is used as an example for illustration.
  • the above-mentioned functions may be allocated by different functional units
  • Module completion means that the internal structure of the above device is divided into different functional units or modules to complete all or part of the functions described above.
  • the functional units and modules in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may use hardware It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present application.
  • the disclosed device and method may be implemented in other ways.
  • the system embodiments described above are only schematic.
  • the division of the above-mentioned modules or units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through a computer program.
  • the above computer program can be stored in a computer-readable storage medium, and the computer program When executed by the processor, the steps of the foregoing method embodiments may be implemented.
  • the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer-readable memory, read-only memory (ROM, Read-Only Memory) ), Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals and software distribution media, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种文件收藏方法、文件收藏装置、终端设备及计算机可读存储介质,其中,所述文件收藏方法包括:在接收到对文件的收藏指令之后,获取所述文件的文件信息;根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。本申请方案可以提高对高频使用文件等特定的文件的查看和使用的操作效率。

Description

一种文件收藏方法、文件收藏装置及终端设备 技术领域
本申请属于信息处理技术领域,尤其涉及一种文件收藏方法、文件收藏装置、终端设备及计算机可读存储介质。
背景技术
用户在使用各种终端设备(例如手机、平板电脑等)时,往往会产生大量的文件,如图片、音频、视频等等,因此需要对文件进行管理。
发明内容
本申请提供一种文件收藏方法、文件收藏装置、终端设备及计算机可读存储介质,可以提高对高频使用文件等特定的文件的查看和使用的操作效率。
本申请的第一方面提供了一种文件收藏方法,包括:
在接收到对文件的收藏指令之后,获取所述文件的文件信息;
根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
本申请的第二方面提供了一种文件收藏装置,包括:
获取模块,用于在接收到对文件的收藏指令之后,获取所述文件的文件信息;
收藏模块,用于根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
显示模块,用于在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
本申请的第三方面提供了一种终端设备,上述终端设备包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上述第一方面的文件收藏方法的步骤。
本申请的第四方面提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上述第一方面的文件收藏方法的步骤。
本申请的第五方面提供了一种计算机程序产品,上述计算机程序产品包括计算机程序,上述计算机程序被一个或多个处理器执行时实现如上述第一方面的文件收藏方法的步骤。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的文件收藏方法的一种实现流程示意图;
图2是本申请实施例提供的对所述文件进行标记后的一种界面示意图;
图3是本申请实施例提供的文件收藏方法的另一种实现流程示意图;
图4是本申请实施例提供的一种界面示意图;
图5是本申请实施例提供的所述预设界面的一种界面示意图;
图6是本申请实施例提供的文件收藏方法的又一种实现流程示意图;
图7是本申请实施例提供的一种界面示意图;
图8是本申请实施例提供的文件收藏装置的结构框图;
图9是本申请实施例提供的终端设备的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。
实施例1
下面对本申请实施例提供的一种文件收藏方法进行描述,请参阅图1,本申请实施例中的文件收藏方法包括:
在步骤101中,在接收到对文件的收藏指令之后,获取所述文件的文件信息;
本申请实施例中,所述收藏指令可以是根据用户通过物理按键、虚拟按键甚至语音等方式输入的信息得到的,所述收藏指令指示对所述文件进行收藏。其中,所述文件的类型可以有多种,示例性的,所述文件可以是照片、音频、视频、文档、安装包等等。所述文件信息可以包括所述文件的拓展名、文件大小、存储位置、内容、标识、文件名等信息中的一种或多种,在此不做限定。
在步骤102中,根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
本申请实施例中,所述收藏文件夹中可以包括一个或多个列表,所述列表可以包括第一目标列表,并且每个列表中收藏有不同类别的文件,因此根据所述文件信息可以确定所述文件的类别,从而可以确定所述文件所对应的第一目标列表。示例性的,根据所述文件信息确定所述文件为图片时,所述第一目标列表可以是收藏图片类型的文件的列表。
需要说明的是,本申请实施例中的列表可以是广义的概念,所述列表是一种指定元素构成的有限序列,所述指定元素不仅限于数据、文字,还可以是图片、文档、音频、视频等多种形式。将指定元素通过一定的规律有序的排列,可以构成所述列表。
可选的,所述文件信息包括文件内容信息、文件类别信息和/或文件标识信息;
相应的,所述根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中包括:
根据所述文件内容信息、文件类别信息和/或文件标识信息确定所述文件的类别,并根据所述文件 的类别确定所述文件在收藏文件夹内所对应的第一目标列表;
将所述文件添加至对应的所述第一目标列表中。
示例性的,本申请实施例中,所述文件内容信息可以包括所述文件的文件名、文件中记录的内容(如文档正文、图片包含的目标或背景)等信息,所述文件类别信息可以包括文件的拓展名、文件来源等信息,所述文件标识信息可以包括用户输入的关键字、标签等信息。根据所述文件内容信息、文件类别信息和/或文件标识信息,可以确定所述文件的类别。其中,所述文件的类别不局限于所述文件的类型(如图片、视频、音频、链接等),还可以是通过文件来源、关键词或者标签等方式确定所述文件的类别。相应的,不同的文件类别可以对应收藏文件夹内的不同列表,而在确定所述文件的类别后,可以相应的确定所述第一目标列表,从而针对不同的文件类别进行分类收藏,提高了文件收藏的针对性,使得用户在收藏文件夹中查找所述文件的效率得到提升。
在步骤103中,在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
本申请实施例中,所述终端设备可以为可穿戴设备、智能手机、平板电脑、台式电脑等电子设备,在此不作限定。示例性的,可以通过激活终端设备的显示界面上的虚拟按键或者物理按键来打开所述预设界面,此时,所述显示界面上可以显示操作系统的桌面,所述虚拟按键可以是预设的收藏文件夹的图标等等,从而可以在检测到用户点击所述收藏文件夹的图标的操作时,打开所述预设界面,并在所述预设界面上显示所述收藏文件夹内的所述目标列表。此外,示例性的,所述在所述预设界面显示所述收藏文件夹内的所述第一目标列表可以包括根据与所述第一目标列表中收藏的文件相关联的操作来显示所述第一目标列表中收藏的文件,如若检测到对所述第一目标列表中收藏的任一文件的置顶操作时,将所述置顶操作所对应的文件设置于所述第一目标列表的第一行以及通过指定颜色等方式进行显示,或者,根据所述第一目标列表中收藏的文件的最近操作时间(如最近查看时间或者最近添加时间),按序排列显示所述第一目标列表中收藏的文件。
需要说明的是,在所述预设界面上显示所述第一目标列表的显示方式可以有多种,例如可以显示所述第一目标列表中收藏的部分文件或者全部文件的信息,或者显示所述第一目标列表的所对应的图标等等。示例性的,所述预设界面上可以显示所述第一目标列表中按序(如最近查看时间或者收藏时间的时间先后顺序)排在前五位的收藏文件的信息,并且可以显示前五位所述收藏文件所对应的类型标识、收藏时间、名称等等。例如,所述文件可以为图片,此时所述第一目标列表可以是图片列表;相应的,所述预设界面上可以按序显示所述第一目标列表中收藏时间最近的前五个收藏图片的缩略图以及名称。并且,所述预设界面上还可以显示所述收藏文件夹中包含的除所述第一目标列表外的其他列表,如所述第一目标列表为图片列表,则所述预设界面上还可以显示所述收藏文件夹内的文档列表、音频列表、视频列表等等列表的信息。
可选的,所述在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
根据所述第一目标列表中收藏的文件的最近操作时间,按序排列显示所述第一目标列表中收藏的文件。
本申请实施例中,所述最近操作时间可以包括最近查看时间或者最近添加时间等等,所述按序排列显示所述第一目标列表中收藏的文件可以是按照所述最近操作时间降序排列或者升序排列。
可选的,在接收到对文件的收藏指令之后,还包括:
对所述文件进行标记。
本申请实施例中,可以通过图形、符号、文字等方式对所述文件进行标记。示例性的,可以在所述文件被收藏前所处的文件夹等位置对所述文件进行标记,此时,所述文件可以处于存储位置所在的文件夹。
其中,所述对所述文件进行标记包括:
通过预设标识对初始位置的所述文件进行标记,所述预设标识指示所述文件为被收藏的文件,所述初始位置为所述文件被收藏前所在的位置。
本申请实施例中,所述预设标识可以是图形、符号、文字等等,所述预设标识可以显示在所述初始位置所在的列表中,如显示在所述文件的文件名旁边,以标记所述文件为被收藏的文件。
示例性的,本申请实施例中,图2为对所述文件进行标记后的一种界面示意图,其中,图片文件B为被收藏的文件,所述预设标识为五角星图形。在存储所述图片文件B的文件夹“Camera”的列表中,可以通过在所述图片文件B的右侧显示所述五角星图形来指示所述图片文件B为被收藏的文件。
可选的,在根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中之后,还包括:
判断是否在第一预设时间间隔内接收到与所述文件相关联的操作指令;
若在第一预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第一目标列表中删除,并将所述文件添加至第二目标列表中。
本申请实施例中,所述第一预设时间间隔可以根据具体应用场景进行设置。示例性的,所述第一预设时间间隔可以为30天。所述与所述文件相关联的操作指令可以包括查看、编辑或者发送所述文件等等对所述文件进行操作的指令。
所述第二目标列表不同于所述第一目标列表。所述第二目标列表可以存放用户长时间内没有使用的被收藏的文件,以方便用户通过所述第二目标列表清理一段时间后不再需要被收藏的文件,而无需用户在所述第一目标列表中逐一查找来清理,提高了用户的处理效率。
示例性的,在将所述文件从所述第一目标列表中删除之前,可以发送第一提示信息,以提示用户所述文件将从所述第一目标列表中删除,和/或询问用户是否需要将所述文件从所述第一目标列表中删除。
需要说明的是,将所述文件从所述第一目标列表中删除后,所述文件的源文件可以依然存在于所述终端设备中,即所述文件依然可以存在于存储所述文件的存储空间中,只是不再所述第一目标列表中显示。
可选的,在将所述文件添加至第二目标列表中之后,还包括:
判断是否在第二预设时间间隔内接收到与所述文件相关联的操作指令;
若在第二预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第二目标列表中删除。
本申请实施例中,所述第二预设时间间隔可以根据具体应用场景进行设置。示例性的,所述第一预设时间间隔可以为20天。
示例性的,在将所述文件从所述第二目标列表中删除之前,可以发送第二提示信息,以提示用户所述文件将从所述第二目标列表中删除,和/或询问用户是否需要将所述文件加入第一目标列表。
需要说明的是,将所述文件从所述第二目标列表中删除后,所述文件的源文件可以依然存在于所述终端设备中,即所述文件依然可以存在于存储所述文件的存储空间中,只是不再所述第二目标列表中显示。
由上可见,本申请实施例通过在接收到对文件的收藏指令之后,获取所述文件的文件信息,然后根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中,可以根据所述文件信息对所述文件进行分类,从而确定对应的第一目标列表,从而可以实现对不同类型的文件的分类和收藏,简化了文件收藏操作;并且,在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表,可以使用户通过所述收藏文件夹方便地查找和使用收藏的文件,从而可以快速获取到使用频率较高或者较为重要的文件,提升了对使用频率较高等特定的文件的查看和使用的操作效率,具有较高的实用性和易用性。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例2
在上述实施例1的基础上,下面对本申请实施例提供的另一种文件收藏方法进行描述,请参阅图3,本申请实施例中的文件收藏方法包括:
在步骤301中,在接收到对文件的收藏指令之后,获取所述文件的文件信息;
在步骤302中,根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
在本申请实施例中,上述步骤301、302分别与上述步骤101、102相同或相似,具体可参见上述步骤101、102的相关描述,在此不再赘述。
在步骤303中,在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面;
本申请实施例中,所述收藏文件夹的图标可以设置于所述终端设备的桌面、预设状态栏、窗口或者指定的面板工具等界面中,所述预设操作可以是鼠标单击操作,鼠标双击操作、预设的触控操作等等。 所述图标的设置方式以及所述预设操作均可以根据应用场景进行设置,在此不作限定。
在步骤304中,在所述预设界面显示所述收藏文件夹内的文件的信息,其中,所述收藏文件夹内的文件的信息包括所述第一目标列表的信息。
本申请实施例中,在所述预设界面显示所述收藏文件夹内的文件的信息的显示方式可以有多种,例如,所述收藏文件夹中的列表数量可以有一个或者多个,所述收藏文件夹中的列表以及收藏的文件的显示方式也可以有多种。示例性的,所述收藏文件夹中的列表可以包括图片列表、文档列表、视频列表和音频列表,所述文件可以为图片,此时所述第一目标列表可以是图片列表;相应的,所述预设界面上可以通过至少4个区域显示所述收藏文件夹中的图片列表、文档列表、视频列表和音频列表的信息。并且,所述预设界面上的所述第一目标列表的信息的显示方式可以有多种,例如可以显示所述第一目标列表中收藏的部分文件或者全部文件的信息,或者显示所述第一目标列表的所对应的图标等等。
示例性的,图4为本申请实施例提供的一种界面示意图。图4中显示的图标中,虚线框住的五角星图标为所述收藏文件夹的图标。示例性的,当检测到用户通过触控屏触摸或者通过鼠标点击所述五角星图标时,所述终端设备可以检测到对所述收藏文件夹的图标的预设操作。
示例性的,图5为所述预设界面的一种界面示意图。图5所示的所述界面可以是用户点击如图4中所示的五角星图标后,终端设备的屏幕上所显示的界面。
如图5所述,所述收藏文件夹中包括图片列表、文档列表、视频列表、音频列表等,所述预设界面中在四个区域分别显示所述图片列表、文档列表、视频列表、音频列表中的部分文件或者全部文件的名称、缩略图等信息。本申请实施例中,若所述文件为图片A,则所述第一目标列表为所述图片列表。
由上可见,本申请实施例通过在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面,并在所述预设界面显示所述收藏文件夹内的文件的信息,可以使用户能够方便快捷地获取到所收藏的、多种类型的文件,从而提高了用户体验。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例3
在上述实施例1或2的基础上,下面对本申请实施例提供的又一种文件收藏方法进行描述,请参阅图6,本申请实施例中的文件收藏方法包括:
在步骤601中,检测对所述文件的点击操作;
示例性的,所述点击操作可以是通过鼠标或者对触控屏的触控来实现点击的操作。
在步骤602中,若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;
本申请实施例中,所述第一预设条件可以有多种设置方式,示例性的,所述第一预设条件可以根据点击时间、点击次数、点击按键等因素来进行设置。例如,所述点击操作符合第一预设条件可以是所述点击操作为通过鼠标左键对所述文件的单击操作。
示例性的,图7为本申请实施例提供的一种界面示意图。如图7所述,当对文件B的点击操作符合第一预设条件时,所述界面在界面的下部显示操作窗口,所述操作窗口中包括删除、发送、剪切、复制、重命名、查看详情、添加到收藏文件等虚拟按键,其中显示为“添加到收藏文件”的虚拟按键为预设虚拟按键。
在步骤603中,若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令;
本申请实施例中,所述第二预设条件可以有多种设置方式,示例性的,所述第二预设条件可以根据点击时间、点击次数、点击按键等因素来进行设置。例如,所述对所述操作窗口中所述虚拟按键的操作符合第二预设条件可以是所述操作为通过鼠标左键对所述预设虚拟按键的单击操作。
在步骤604中,在接收到对文件的收藏指令之后,获取所述文件的文件信息;
在步骤605中,根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
在步骤606中,在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
在本申请实施例中,在本申请实施例中,上述步骤604、605、606分别与上述步骤101、102、103相同或相似,具体可参见上述步骤101、102、103的相关描述,在此不再赘述。
由上可见,本申请实施例通过检测对所述文件的点击操作;若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令,可以通过所述操作窗口实现对所述文件的收藏操作,并触发后续根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中的操作,从而实现了指示所述终端设备完成了对位于存储空间等位置的所述文件的收藏、将所述文件添加至第一目标列表等多个操作,使用户能够通过收藏文件夹方便快捷地获取到所收藏的、多种类型的文件,从而提高了用户体验。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例4
本申请实施例4提供了一种文件收藏装置,上述文件收藏装置可集成于终端设备中,如图8所示,本申请实施例中的文件收藏装置800包括:
获取模块801,用于在接收到对文件的收藏指令之后,获取所述文件的文件信息;
收藏模块802,用于根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
显示模块803,用于在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
可选的,所述文件收藏装置800还包括:
标记模块,用于对所述文件进行标记。
可选的,所述标记模块具体用于:
通过预设标识对初始位置的所述文件进行标记,所述预设标识指示所述文件为被收藏的文件,所述初始位置为所述文件被收藏前所在的位置。
可选的,所述文件信息包括文件内容信息、文件类别信息和/或文件标识信息;
相应的,所述收藏模块802具体包括:
第一确定单元,用于根据所述文件内容信息、文件类别信息和/或文件标识信息确定所述文件的类别,并根据所述文件的类别确定所述文件在收藏文件夹内所对应的第一目标列表;
添加单元,用于将所述文件添加至对应的所述第一目标列表中。
可选的,所述显示模块803具体包括:
打开单元,用于在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面;
第一显示单元,用于在所述预设界面显示所述收藏文件夹内的文件的信息,其中,所述收藏文件夹内的文件的信息包括所述第一目标列表的信息。
可选的,所述文件收藏装置800还包括:
第一判断模块,用于判断是否在第一预设时间间隔内接收到与所述文件相关联的操作指令;
第一删除模块,用于若在第一预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第一目标列表中删除,并将所述文件添加至第二目标列表中。
可选的,所述文件收藏装置800还包括:
第二判断模块,用于判断是否在第二预设时间间隔内接收到与所述文件相关联的操作指令;
第二删除模块,用于若在第二预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第二目标列表中删除。
可选的,所述获取模块801具体包括:
检测单元,用于检测对所述文件的点击操作;
第二显示单元,用于若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;
第二确定单元,用于若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令。
可选的,所述显示模块803具体用于:
根据所述第一目标列表中收藏的文件的最近操作时间,按序排列显示所述第一目标列表中收藏的文件。
由上可见,本申请实施例通过在接收到对文件的收藏指令之后,获取所述文件的文件信息,然后根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中,可以根据所述文件信息对所述文件进行分类,从而确定对应的第一目标列表,从而可以实现对不同类型的文件的分类和收藏,简化了文件收藏操作;并且,在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表,可以使用户通过所述收藏文件夹方便地查找和使用收藏的文件,从而可以快速获取到使用频率较高或者较为重要的文件,提升了对使用频率较高等特定的文件的查看和使用的操作效率,具有较高的实用性和易用性。
实施例5
本申请实施例提供了一种终端设备,请参阅图9,本申请实施例中的终端设备包括:存储器901,一个或多个处理器902(图9中仅示出一个)及存储在存储器901上并可在处理器上运行的计算机程序。其中:存储器901用于存储软件程序以及模块,处理器902通过运行存储在存储器901的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,处理器902通过运行存储在存储器901的上述计算机程序时实现如下步骤:
在接收到对文件的收藏指令之后,获取所述文件的文件信息;
根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的图标所述第一目标列表。
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,在接收到对文件的收藏指令之后,处理器902通过运行存储在存储器901的上述计算机程序时还实现如下步骤:
对所述文件进行标记。
在上述第二种可能的实施方式作为基础而提供的第三种可能的实施方式中,所述处理器执行所述计算机程序时,所述对所述文件进行标记包括:
通过预设标识对初始位置的所述文件进行标记,所述预设标识指示所述文件为被收藏的文件,所述初始位置为所述文件被收藏前所在的位置。
在上述第一种可能的实施方式作为基础而提供的第四种可能的实施方式中,所述文件信息包括文件内容信息、文件类别信息和/或文件标识信息;
相应的,所述处理器执行所述计算机程序时,所述根据所述文件信息将所述文件添加至收藏 文件夹内对应的第一目标列表中包括:
根据所述文件内容信息、文件类别信息和/或文件标识信息确定所述文件的类别,并根据所述文件的类别确定所述文件在收藏文件夹内所对应的第一目标列表;
将所述文件添加至对应的所述第一目标列表中。
在上述第一种可能的实施方式作为基础而提供的第五种可能的实施方式中,所述处理器执行所述计算机程序时,所述在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面;
在所述预设界面显示所述收藏文件夹内的文件的信息,其中,所述收藏文件夹内的文件的信息包括所述第一目标列表的信息。
在上述第一种可能的实施方式作为基础而提供的第六种可能的实施方式中,在根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中之后,处理器902通过运行存储在存储器901的上述计算机程序时还实现如下步骤:
判断是否在第一预设时间间隔内接收到与所述文件相关联的操作指令;
若在第一预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第一目标列表中删除,并将所述文件添加至第二目标列表中。
在上述第六种可能的实施方式作为基础而提供的第七种可能的实施方式中,在将所述文件添加至第二目标列表中之后,处理器902通过运行存储在存储器901的上述计算机程序时还实现如下步骤:
判断是否在第二预设时间间隔内接收到与所述文件相关联的操作指令;
若在第二预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第二目标列表中删除。
在上述第一种可能的实施方式作为基础而提供的第八种可能的实施方式中,所述处理器执行所述计算机程序时,所述检测到对文件的收藏指令包括:
检测对所述文件的点击操作;
若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;
若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令。
在上述第一种可能的实施方式作为基础,或者上述第二种可能的实施方式作为基础,或者上述第三种可能的实施方式作为基础,或者上述第四种可能的实施方式作为基础,或者上述第五种可能的实施方式作为基础,或者上述第六种可能的实施方式作为基础,或者上述第七种可能的实施方式作为基础,或者上述第八种可能的实施方式作为基础而提供的第九种可能的实施方式中,所述处理器执行所述计算 机程序时,所述在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
根据所述第一目标列表中收藏的文件的最近操作时间,按序排列显示所述第一目标列表中收藏的文件。
进一步,如图9所示,上述终端设备还可包括:一个或多个输入设备903(图9中仅示出一个)和一个或多个输出设备904(图9中仅示出一个)。存储器901、处理器902、输入设备903和输出设备904通过总线905连接。
应当理解,在本申请实施例中,所称处理器902可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备903可以包括键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备904可以包括显示器、扬声器等。
存储器901可以包括只读存储器和随机存取存储器,并向处理器902提供指令和数据。存储器901的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器901还可以存储设备类型的信息。
由上可见,本申请实施例通过在接收到对文件的收藏指令之后,获取所述文件的文件信息,然后根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中,可以根据所述文件信息对所述文件进行分类,从而确定对应的第一目标列表,从而可以实现对不同类型的文件的分类和收藏,简化了文件收藏操作;并且,在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表,可以使用户通过所述收藏文件夹方便地查找和使用收藏的文件,从而可以快速获取到使用频率较高或者较为重要的文件,提升了对使用频率较高等特定的文件的查看和使用的操作效率,具有较高的实用性和易用性。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者外部设备软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读存储介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机可读存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括电载波信号和电信信号。
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种文件收藏方法,其特征在于,包括:
    在接收到对文件的收藏指令之后,获取所述文件的文件信息;
    根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
    在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
  2. 如权利要求1所述的文件收藏方法,其特征在于,在接收到对文件的收藏指令之后,还包括:
    对所述文件进行标记。
  3. 如权利要求2所述的文件收藏方法,其特征在于,所述对所述文件进行标记包括:
    通过预设标识对初始位置的所述文件进行标记,所述预设标识指示所述文件为被收藏的文件,所述初始位置为所述文件被收藏前所在的位置。
  4. 如权利要求1所述的文件收藏方法,其特征在于,所述文件信息包括文件内容信息、文件类别信息和/或文件标识信息;
    相应的,所述根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中包括:
    根据所述文件内容信息、文件类别信息和/或文件标识信息确定所述文件的类别,并根据所述文件的类别确定所述文件在收藏文件夹内所对应的第一目标列表;
    将所述文件添加至对应的所述第一目标列表中。
  5. 如权利要求1所述的文件收藏方法,其特征在于,所述在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
    在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面;
    在所述预设界面显示所述收藏文件夹内的文件的信息,其中,所述收藏文件夹内的文件的信息包括所述第一目标列表的信息。
  6. 如权利要求1所述的文件收藏方法,其特征在于,在根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中之后,还包括:
    判断是否在第一预设时间间隔内接收到与所述文件相关联的操作指令;
    若在第一预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第一目标列表中删除,并将所述文件添加至第二目标列表中。
  7. 如权利要求6所述的文件收藏方法,其特征在于,在将所述文件添加至第二目标列表中之后,还包括:
    判断是否在第二预设时间间隔内接收到与所述文件相关联的操作指令;
    若在第二预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第二 目标列表中删除。
  8. 如权利要求1所述的文件收藏方法,其特征在于,所述检测到对文件的收藏指令包括:
    检测对所述文件的点击操作;
    若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;
    若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令。
  9. 如权利要求1至8任意一项所述的文件收藏方法,其特征在于,所述在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
    根据所述第一目标列表中收藏的文件的最近操作时间,按序排列显示所述第一目标列表中收藏的文件。
  10. 一种文件收藏装置,其特征在于,包括:
    获取模块,用于在接收到对文件的收藏指令之后,获取所述文件的文件信息;
    收藏模块,用于根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
    显示模块,用于在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表。
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:
    在接收到对文件的收藏指令之后,获取所述文件的文件信息;
    根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中;
    在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的图标所述第一目标列表。
  12. 如权利要求11所述的终端设备,其特征在于,在接收到对文件的收藏指令之后,所述处理器执行所述计算机程序时还实现如下步骤:
    对所述文件进行标记。
  13. 如权利要求12所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述对所述文件进行标记包括:
    通过预设标识对初始位置的所述文件进行标记,所述预设标识指示所述文件为被收藏的文件,所述初始位置为所述文件被收藏前所在的位置。
  14. 如权利要求11所述的终端设备,其特征在于,所述文件信息包括文件内容信息、文件类别信息和/或文件标识信息;
    相应的,所述处理器执行所述计算机程序时,所述根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中包括:
    根据所述文件内容信息、文件类别信息和/或文件标识信息确定所述文件的类别,并根据所述文件的类别确定所述文件在收藏文件夹内所对应的第一目标列表;
    将所述文件添加至对应的所述第一目标列表中。
  15. 如权利要求11所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述在检测到终端设备打开预设界面时,在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
    在检测到对所述收藏文件夹的图标的预设操作时,打开所述预设界面;
    在所述预设界面显示所述收藏文件夹内的文件的信息,其中,所述收藏文件夹内的文件的信息包括所述第一目标列表的信息。
  16. 如权利要求11所述的终端设备,其特征在于,在根据所述文件信息将所述文件添加至收藏文件夹内对应的第一目标列表中之后,所述处理器执行所述计算机程序时还实现如下步骤:
    判断是否在第一预设时间间隔内接收到与所述文件相关联的操作指令;
    若在第一预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第一目标列表中删除,并将所述文件添加至第二目标列表中。
  17. 如权利要求16所述的终端设备,其特征在于,在将所述文件添加至第二目标列表中之后,所述处理器执行所述计算机程序时还实现如下步骤:
    判断是否在第二预设时间间隔内接收到与所述文件相关联的操作指令;
    若在第二预设时间间隔内未接收到与所述文件相关联的操作指令,则将所述文件从所述第二目标列表中删除。
  18. 如权利要求11所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述检测到对文件的收藏指令包括:
    检测对所述文件的点击操作;
    若所述点击操作符合第一预设条件,则显示操作窗口,所述操作窗口包含预设虚拟按键;
    若检测到对所述操作窗口中所述预设虚拟按键的操作符合第二预设条件,则确定接收到对所述文件的收藏指令。
  19. 如权利要求11至18任意一项所述的终端设备,其特征在于,所述处理器执行所述计算机程序时,所述在所述预设界面显示所述收藏文件夹内的所述第一目标列表包括:
    根据所述第一目标列表中收藏的文件的最近操作时间,按序排列显示所述第一目标列表中收藏的文件。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至9任一项所述文件收藏方法的步骤。
PCT/CN2018/116557 2018-11-21 2018-11-21 一种文件收藏方法、文件收藏装置及终端设备 WO2020103002A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/116557 WO2020103002A1 (zh) 2018-11-21 2018-11-21 一种文件收藏方法、文件收藏装置及终端设备
CN201880098519.4A CN112912844A (zh) 2018-11-21 2018-11-21 一种文件收藏方法、文件收藏装置及终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/116557 WO2020103002A1 (zh) 2018-11-21 2018-11-21 一种文件收藏方法、文件收藏装置及终端设备

Publications (2)

Publication Number Publication Date
WO2020103002A1 true WO2020103002A1 (zh) 2020-05-28
WO2020103002A8 WO2020103002A8 (zh) 2021-04-29

Family

ID=70773247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116557 WO2020103002A1 (zh) 2018-11-21 2018-11-21 一种文件收藏方法、文件收藏装置及终端设备

Country Status (2)

Country Link
CN (1) CN112912844A (zh)
WO (1) WO2020103002A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062563A1 (zh) * 2020-09-22 2022-03-31 深圳市欢太科技有限公司 目标信息的管理方法、装置、电子设备以及存储介质
WO2024078120A1 (zh) * 2022-10-14 2024-04-18 荣耀终端有限公司 文件管理方法、设备及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360065A (zh) * 2021-06-15 2021-09-07 Tcl通讯(宁波)有限公司 一种内容收藏方法、装置、终端设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559288A (zh) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 一种智能收藏与分享的方法及移动终端
CN105989116A (zh) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 一种收藏夹的数据收藏方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123316B (zh) * 2013-04-28 2018-12-04 腾讯科技(深圳)有限公司 资源收藏方法、装置和设备
CN106095851A (zh) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 一种目录文件显示方法、装置和移动终端
CN107483698A (zh) * 2017-09-05 2017-12-15 北京珠穆朗玛移动通信有限公司 一种联系人管理方法、移动终端及存储介质

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559288A (zh) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 一种智能收藏与分享的方法及移动终端
CN105989116A (zh) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 一种收藏夹的数据收藏方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022062563A1 (zh) * 2020-09-22 2022-03-31 深圳市欢太科技有限公司 目标信息的管理方法、装置、电子设备以及存储介质
WO2024078120A1 (zh) * 2022-10-14 2024-04-18 荣耀终端有限公司 文件管理方法、设备及存储介质

Also Published As

Publication number Publication date
WO2020103002A8 (zh) 2021-04-29
CN112912844A (zh) 2021-06-04

Similar Documents

Publication Publication Date Title
WO2019128732A1 (zh) 一种图标管理的方法及装置
US11573984B2 (en) Information processing device, information processing method, and program
US10243779B2 (en) System for decomposing events from managed infrastructures with situation room
EP3005055B1 (en) Apparatus and method for representing and manipulating metadata
WO2012022832A1 (en) Method and apparatus for browsing content files
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
WO2020103002A1 (zh) 一种文件收藏方法、文件收藏装置及终端设备
DE202008000260U1 (de) Tragbare Multifunktionsvorrichtung
WO2020259033A1 (zh) 文件管理方法及终端
CN112486385A (zh) 文件分享方法、装置、电子设备和可读存储介质
CN111913616A (zh) 应用程序管理方法、装置和电子设备
WO2019129161A1 (zh) 移动终端后台应用程序查看方法及装置
WO2016023378A1 (zh) 联系人信息的存储方法及装置
CN104756102A (zh) 终端和应用程序交互方法
EP3198471A1 (en) Media organization
WO2019119826A1 (zh) 图像处理方法及装置
WO2024087618A1 (zh) 一种截屏方法、截屏装置、截屏设备及计算机存储介质
CN112948844A (zh) 控制方法、装置及电子设备
CN112416212A (zh) 程序访问方法、装置、电子设备和可读存储介质
CN109492249B (zh) 设计图的快速生成方法、装置及终端设备
WO2022247787A1 (zh) 应用归类方法、装置及电子设备
WO2022194077A1 (zh) 应用程序图标管理方法、装置及电子设备
CN107229637A (zh) 一种网页收藏方法及装置
CN110688035B (zh) 相册处理方法、相册处理装置及移动终端
CN115373555A (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: 18940502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.09.2021)