WO2018000643A1 - 一种照片分类的方法及装置 - Google Patents

一种照片分类的方法及装置 Download PDF

Info

Publication number
WO2018000643A1
WO2018000643A1 PCT/CN2016/100718 CN2016100718W WO2018000643A1 WO 2018000643 A1 WO2018000643 A1 WO 2018000643A1 CN 2016100718 W CN2016100718 W CN 2016100718W WO 2018000643 A1 WO2018000643 A1 WO 2018000643A1
Authority
WO
WIPO (PCT)
Prior art keywords
folder
photo
display
target
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/100718
Other languages
English (en)
French (fr)
Inventor
侯杰文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2018000643A1 publication Critical patent/WO2018000643A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for photo classification.
  • a method of photo classification comprising:
  • the folder selection component includes a photo default storage folder and a folder icon of at least one custom folder
  • the target folder may be the photo default storage folder or a custom folder
  • the input photographing instruction is detected, the target image collected by the camera is acquired, and the target image is stored as a photographing picture to the storage folder according to the photographing instruction.
  • the determining the target folder selected in the displayed folder selection component further comprises:
  • Detecting a click operation/sliding operation input by the user acquiring an operation parameter of the click operation/sliding operation, the operation parameter of the click operation including a click position coordinate corresponding to the click operation/the operation parameter of the sliding operation includes The sliding direction corresponding to the sliding operation;
  • a folder icon corresponding to the click position coordinate/the sliding direction is determined, and a folder corresponding to the folder icon corresponding to the click position coordinate/the sliding direction is acquired as a target folder.
  • the determining, after determining the target folder corresponding to the folder icon selected in the displayed folder selection component further includes:
  • the selected folder icon is highlighted in a highlighted and/or framed manner.
  • the method further includes:
  • the folder selection component displayed on the photographing interface is hidden when the component operation instruction selects a component hiding instruction for the folder.
  • the method further includes:
  • Determining a photo classification manner corresponding to the display folder where the photo classification manner corresponding to the display folder includes a default photo classification manner and/or a custom photo classification manner;
  • All the photos included in the display folder are displayed according to the photo classification manner corresponding to the display folder.
  • the method further includes:
  • a device for photo classification comprising:
  • a folder selection component display module configured to display a folder selection component on the photographing interface, wherein the folder selection component includes a photo default storage folder and a folder icon of at least one custom folder;
  • a target folder determining module configured to determine a target folder corresponding to the folder icon selected in the displayed folder selection component, where the target folder may be the photo default storage folder or a custom folder;
  • a target folder setting module configured to set the target folder as a storage folder of a photo picture
  • the photo storage module is configured to detect the input photographing instruction, acquire a target image collected by the camera, and store the target image as a photographing image to the storage folder according to the photographing instruction.
  • the target folder determining module is further configured to detect a click operation/sliding operation input by the user, obtain an operation parameter of the click operation/sliding operation, and the operation parameter of the click operation includes the The click position coordinate corresponding to the click operation/the operation parameter package of the slide operation a sliding direction corresponding to the sliding operation; determining a folder icon corresponding to the click position coordinate/the sliding direction, and acquiring a folder corresponding to the folder icon corresponding to the click position coordinate/the sliding direction As the target folder.
  • the apparatus further includes a highlight display module configured to highlight the selected folder icon in a highlighted and/or framed manner.
  • the above apparatus further includes a touch operation detection module, a component operation instruction determination module, and a folder selection component operation module, wherein:
  • the touch operation detecting module is configured to detect a touch operation input by a gesture input area preset on the touch screen, and acquire an operation parameter of the touch operation;
  • the component operation instruction determining module is configured to determine a component operation instruction corresponding to the operation parameter according to a correspondence between a preset component operation instruction and an operation parameter, where the component operation instruction displays an instruction or a file for a folder selection component Clip selection component hidden instruction;
  • the folder selection component operation module is configured to display the folder selection component on the photographing interface when the component operation instruction displays an instruction for the folder selection component;
  • the folder selection component operation module is further configured to hide the folder selection component displayed on the photographing interface when the component operation instruction selects a component hiding instruction for the folder.
  • the apparatus further includes a presentation folder determination module, a photo acquisition module, a photo classification mode determination module, and a photo display module, wherein:
  • the display folder determining module is configured to detect a folder selection operation input by the user on the folder display interface, and determine a folder corresponding to the folder selection operation as a display folder;
  • the photo acquisition module is configured to acquire all photos included in the display folder
  • the photo classification mode determining module is configured to determine a photo classification manner corresponding to the display folder, where the photo classification manner corresponding to the display folder includes a default photo classification manner and/or a custom photo classification manner;
  • the photo display module is configured to display all the photos included in the display folder according to the photo classification manner corresponding to the display folder.
  • the apparatus further includes a photo classification mode adjustment module configured to detect a classification option selection operation input by the user, and determine a target photo classification manner corresponding to the classification option selection operation, the target photo classification manner Included by time classification and/or by geographic location; all photos included in the display folder are displayed according to the target photo classification.
  • a photo classification mode adjustment module configured to detect a classification option selection operation input by the user, and determine a target photo classification manner corresponding to the classification option selection operation, the target photo classification manner Included by time classification and/or by geographic location; all photos included in the display folder are displayed according to the target photo classification.
  • the folder selection component corresponding to the available folder of the photographed photo is displayed on the photographing interface, and the user can directly select the target file to be stored in the current photographed photo in the folder selection component.
  • the folder will then store the photos taken by the camera under the folder without changing the settings. That is to say, the user can directly and conveniently select the location where the current photo needs to be stored on the camera interface, which facilitates the user to classify the photo during the process of taking the photo, and reduces the process of the user in the subsequent photo search and classification.
  • the number of operations that need to be performed improves the ease of operation of photo classification and improves the user experience.
  • FIG. 1 is a schematic flow chart of a method for photo classification in an embodiment
  • FIG. 2 is a schematic diagram of a photographing interface in an embodiment
  • FIG. 3 is a schematic flow chart of a method for classifying a photo in an embodiment
  • FIG. 4 is a schematic diagram of a photo folder display interface in an embodiment
  • FIG. 5 is a schematic structural diagram of an apparatus for classifying a photo in an embodiment
  • Figure 6 is a block diagram showing the structure of a computer device for operating the aforementioned photo classification method in an embodiment.
  • a method for photo classification is proposed, and the implementation of the method may depend on a computer program running on a computer system based on the von Neumann system, the computer program It can be an image classification application or a camera application.
  • the computer system may be a terminal device such as a smart phone, a tablet computer, a palmtop computer, a video camera, or the like that runs the above computer program.
  • the method for classifying the photo includes the following steps:
  • Step S102 Display a folder selection component on the photographing interface, where the folder selection component includes a photo default storage folder and a folder icon of at least one custom folder.
  • the photographing interface includes a display area corresponding to the display folder selection component.
  • the area indicated by the area A That is, the display area corresponding to the display folder selection component, in which the icon corresponding to multiple folders is included, that is, "default", “self-timer", "BJ", "2016” in the icon, in the icon
  • the displayed characters are the names of the corresponding folders or the parts of the names.
  • the folder name corresponding to "2016” is "2016.06.01".
  • the preset corresponding folder full name display operation is input (for example, long pressing the area corresponding to the icon corresponding to the folder), and the full name of the folder of the folder may be displayed in the form of a floating window.
  • the folder may be renamed, newly created, and the like.
  • the “+” corresponding to the area C represents the newly created folder.
  • Control double-click to open a new folder page to create a new photo folder.
  • the folder icon that can be displayed in the folder selection component on the photographing page is limited, and therefore, the user can also browse through the left and right sliding or page turning operations except the current photographing interface. Other folders than the icon of the displayed folder.
  • the default storage folder in addition to the default default storage folder of the system, the default storage folder is not removable, and other user-defined custom folders are included, and the user-defined customization is customized. There is no limit to the number of folders. Users can manage folders such as new folders and delete folders according to their needs.
  • step S1022- may also be included S1028:
  • Step S1022 detecting a touch operation input by a gesture input area preset on the touch screen, and acquiring an operation parameter of the touch operation;
  • Step S1024 determining, according to a preset correspondence between the component operation instruction and the operation parameter, a component operation instruction corresponding to the operation parameter, where the component operation instruction is a folder selection component display instruction or a folder selection component hidden instruction;
  • Step S1026 displaying the folder selection component on the photographing interface when the component operation instruction displays an instruction for the folder selection component;
  • Step S1028 hide the folder selection component displayed on the photographing interface when the component operation instruction selects a component hiding instruction for the folder.
  • the preset gesture input area refers to an area preset for inputting a touch operation on the touch screen, and the gesture input area may be the entire touch screen or a predetermined part.
  • an operation parameter of the touch operation is acquired.
  • the touch operation may be a sliding operation, and the corresponding operation parameters of the sliding operation include a sliding track, a sliding direction, and/or a position of the touch point, and the obtained operation is determined according to the setting.
  • the touch operation may also be a click operation, and the operation parameters of the corresponding click operation may include parameters such as a click point position and a click count.
  • the system default setting or the user can customize the specific operation of displaying or hiding the folder selection component.
  • the display folder selection component can be set from the top to the bottom when sliding from the bottom of the touch screen. Hide the folder selection component when swiping to the bottom of the touch screen. That is to say, in the system default setting or the user-defined setting, the correspondence between the component operation instruction corresponding to the folder selection component and the operation parameter of the corresponding touch operation needs to be set first, and the operation of the touch operation input by the user is acquired. After the parameter, the component operation instruction corresponding to the input operation parameter of the touch operation is determined according to the correspondence between the component operation instruction corresponding to the folder selection component and the operation parameter of the corresponding touch operation.
  • the component operation instructions include a folder selection component display instruction and a folder selection component hidden instruction.
  • the corresponding operation of the folder selection component display instruction is to display the folder selection component on the photographing interface. If the user needs to change the default folder of the photo storage, the folder to be stored needs to be selected in the displayed folder selection component. Previously, if the folder selection component was not displayed on the current camera interface, the user would need to enter the corresponding touch. Touch to display the folder selection component.
  • the operation corresponding to the folder selection component hidden instruction is to hide the folder selection component already displayed on the camera interface. Generally speaking, the folder selection component is displayed on the camera interface, which may affect the image of the user during the process of taking a photo. The user experience is previewed, so the user can hide the folder selection component according to his own needs, that is, input the corresponding touch operation to hide the folder selection component that has been displayed.
  • Step S104 Determine a target folder corresponding to the folder icon selected in the displayed folder selection component, and the target folder may be the photo default storage folder or a custom folder.
  • the photo taken by the camera is stored in a certain folder of the terminal, and may be a default setting of the system, or may be set by the user.
  • the photo taken in the case that the user does not set the photo. It is stored in the default default storage folder of the system.
  • the user can also set the storage folder of the photo taken to other folders according to his own needs.
  • the self-timer can be used.
  • the corresponding folder is set as the storage folder of the photo taken.
  • the target folder is the default default storage folder of the system.
  • the folder selected by the user is Target folder.
  • the process of determining the target folder selected in the displayed folder selection component may be: detecting a click operation/sliding operation input by the user, and acquiring an operation parameter of the click operation/sliding operation.
  • the operation parameter of the click operation includes a click position coordinate corresponding to the click operation/the operation parameter of the slide operation includes a sliding direction corresponding to the sliding operation; determining the click position coordinate/the sliding direction
  • Corresponding folder icon acquires a folder corresponding to the folder icon corresponding to the click position coordinate/the sliding direction as a target folder.
  • the folder to be selected can be selected as the target folder by clicking or sliding.
  • the user can click the area where the folder icon corresponding to a certain folder in the folder selection component is located, and set the corresponding folder as the target folder; or change the current state by sliding left or right or sliding up and down
  • the selected target folder for example, when the sliding operation input by the user is swiping to the right, the next folder of the currently selected target folder is set as the new target folder, for example, the application shown in FIG.
  • the target folder corresponding to the current interface is a custom folder corresponding to the “self-timer”
  • the user inputs a sliding operation to the right in the preset gesture input area
  • the file corresponding to “BJ” is used.
  • the folder is set as the destination folder.
  • the folder icon identified by the number B is a folder "self-timer" highlighted in a frame selection manner.
  • the manner of highlighting may also include other display manners, for example, flashing, which is not limited in this embodiment.
  • Step S106 Set the target folder as a storage folder of a photographed picture.
  • the target folder is set as a storage folder of the photographed picture, that is, in the case that the user does not change the setting, the photographed picture taken by the photograph is stored in the storage folder, so that the user can Take pictures to classify.
  • the user's setting may be valid and set in a certain period of time after the user sets the storage folder of the photographed picture. If the set condition is satisfied, the storage folder of the photographed picture is reset to the default storage folder, for example, the storage folder of the photographed picture is reset if the user does not take the photo for more than 24 hours, for example, , reset the storage folder of the photo taken at 0 o'clock every day.
  • Step S108 Detect the input photographing instruction, acquire the target image collected by the camera, and store the target image as a photographing image to the storage folder according to the photographing instruction.
  • the camera button or other button to take a photo When the user presses the camera button or other button to take a photo, it is equivalent to inputting a photographing instruction, and according to the photographing instruction of the user, the target image captured by the camera is saved as a photographing image, and the photographing is performed according to the relevant setting in step S106. The picture is saved to the storage folder set in step S106.
  • the method for categorizing the photo may further change the photo classification mode on the photo display interface. Specifically, as shown in FIG. 3, the photo classification method. The method further includes the following steps S202-S208:
  • Step S202 Detect a folder selection operation input by the user on the folder display interface, and determine a folder corresponding to the folder selection operation as a display folder.
  • the user can select a folder on the folder display interface and open the folder to display the corresponding photo under the folder.
  • the folder selection operation may be an icon corresponding to a folder by the user. Or a preset operation such as clicking or double-clicking on the name, and the folder selection operation necessarily corresponds to a folder, for example, when the folder selection operation is a click operation, corresponding to the click point position corresponding to the click operation
  • the folder is the folder corresponding to the folder selection operation. After the folder corresponding to the folder selection operation is determined, the folder is obtained as a display folder.
  • the display interface is a folder display interface
  • the displayed folder includes multiple folders such as a camera, a screen capture screen, and the like, and the user can select any one of the folders as a display file. Folder and show related images under this folder.
  • Step S204 Acquire all the photos included in the display folder
  • Step S206 determining a photo classification manner corresponding to the display folder, where the photo classification manner corresponding to the display folder includes a default photo classification manner and/or a custom photo classification manner;
  • Step S208 Display all the photos included in the display folder according to the photo classification manner corresponding to the display folder.
  • the method of classifying and sorting photos in the process of displaying photos may include not only the default default photo classification method determined according to time, but also other photo classification methods. For example, a geographically categorized photo classification method for sorting and sorting by geographic location.
  • each folder must correspond to its corresponding photo classification method, such as the default photo classification method, or other user-defined or user-defined custom photo classification.
  • the photo classification method corresponding to the display folder such as the default photo classification method, or the photo classification method set by the user before, and then according to the photo classification method. All the photos contained in the folder are sorted and sorted, and all photos after sorting and sorting are displayed in a tile or list.
  • the method further includes the following steps: detecting a classification option selection operation input by the user, determining and The classification option selects a target photo classification manner corresponding to the operation, and the target photo classification manner includes classifying by time and/or by geographical location; displaying all the photos included in the display folder according to the target photo classification manner.
  • the user can display the photo of the photo under a folder, according to their own It is necessary to change the photo classification method of the current folder, for example, changing the photo classification method according to time classification to the photo classification method according to the geographical location.
  • selecting the photo classification method required by the user is equivalent to inputting a classification option selection operation, or inputting a touch that meets the preset condition on the photo display interface.
  • Control operation that is, equivalent to inputting, for example, a classification option selection operation, and determining a corresponding photo classification method according to the classification option selection operation input by the user as the target photo classification method, for example, the photo selected by the user in the photo classification mode list.
  • the classification method is the target photo classification method.
  • the photo classification mode of the current display interface is reset to the adjacent photo classification mode as the target photo classification mode.
  • the operation of selecting the classification option is not specifically limited, as long as the operation of specifying one of the photo classification modes as the target photo classification mode in the preset plurality of photo classification modes is one of the embodiments. A specific embodiment.
  • all the photos in the display folder are sorted and sorted according to the target photo classification manner, and all the photos after sorting and sorting are redisplayed according to the target photo classification manner.
  • an apparatus for photo classification including a folder selection component display module 102, a target folder determination module 104, a target folder setting module 106, and a photo storage module 108, wherein:
  • a folder selection component display module 102 configured to display a folder selection component on the photographing interface, wherein the folder selection component includes a photo default storage folder and a folder icon of at least one custom folder;
  • the target folder determining module 104 is configured to determine a target folder corresponding to the folder icon selected in the displayed folder selection component, where the target folder may be the photo default storage folder or a custom folder ;
  • a target folder setting module 106 configured to set the target folder as a storage folder of a photo picture
  • the photo storage module 108 is configured to detect the input photographing instruction, acquire a target image collected by the camera, and store the target image as a photographing image to the storage folder according to the photographing instruction.
  • the target folder determining module 104 is further configured to check Measuring a click operation/sliding operation input by the user, acquiring an operation parameter of the click operation/sliding operation, the operation parameter of the click operation including a click position coordinate corresponding to the click operation/the operation parameter of the sliding operation includes a sliding direction corresponding to the sliding operation; determining a folder icon corresponding to the click position coordinate/the sliding direction, and acquiring a folder corresponding to the folder icon corresponding to the click position coordinate/the sliding direction as a target folder.
  • the apparatus further includes a highlight display module 110 configured to highlight the selected folder icon in a highlighted and/or framed manner.
  • the foregoing apparatus further includes a touch operation detection module 112, a component operation instruction determination module 114, and a folder selection component operation module 116, where:
  • the touch operation detecting module 112 is configured to detect a touch operation input on a gesture input area preset on the touch screen, and acquire an operation parameter of the touch operation;
  • the component operation instruction determining module 114 is configured to determine a component operation instruction corresponding to the operation parameter according to a correspondence between a preset component operation instruction and an operation parameter, where the component operation instruction displays an instruction for a folder selection component or The folder selection component hides the instruction;
  • the folder selection component operation module 116 is configured to display the folder selection component on the photographing interface when the component operation instruction displays an instruction for the folder selection component;
  • the folder selection component operation module 116 is further configured to hide the folder selection component displayed on the camera interface when the component operation instruction selects a component hiding instruction for the folder.
  • the foregoing apparatus further includes a display folder determining module 202, a photo obtaining module 204, a photo classification mode determining module 206, and a photo display module 208, wherein:
  • the display folder determining module 202 is configured to detect a folder selection operation input by the user on the folder display interface, and determine a folder corresponding to the folder selection operation as a display folder;
  • the photo acquisition module 204 is configured to acquire all the photos included in the display folder
  • the photo classification manner determining module 206 is configured to determine a photo classification manner corresponding to the display folder, where the photo classification manner corresponding to the display folder includes a default photo classification manner and/or a custom photo classification manner;
  • the photo display module 208 is configured to display all the photos included in the display folder according to the photo classification manner corresponding to the display folder.
  • the foregoing apparatus further includes a photo classification mode adjustment module 210 configured to detect a classification option selection operation input by the user, and determine a target corresponding to the classification option selection operation.
  • the photo classification manner, the target photo classification manner includes classifying by time and/or sorting by geographical location; displaying all the photos included in the display folder according to the target photo classification manner.
  • the folder selection component corresponding to the available folder of the photographed photo is displayed on the photographing interface, and the user can directly select the target file to be stored in the current photographed photo in the folder selection component.
  • the folder will then store the photos taken by the camera under the folder without changing the settings. That is to say, the user can directly and conveniently select the location where the current photo needs to be stored on the camera interface, which facilitates the user to classify the photo during the process of taking the photo, and reduces the process of the user in the subsequent photo search and classification.
  • the number of operations that need to be performed improves the ease of operation of photo classification and improves the user experience.
  • FIG. 6 illustrates a terminal of a von Neumann system-based computer system that operates the method of photo classification described above.
  • the computer system can be a terminal device such as a smart phone, a tablet computer, or a palmtop computer.
  • an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included.
  • the external input interface 1001 can optionally include at least a network interface 10012.
  • the memory 1003 may include an external memory 10032 (eg, a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034.
  • the output interface 1004 can include at least a device such as a display 10042.
  • the operation of the method is based on a computer program whose program file is stored in the external memory 10032 of the aforementioned von Neumann system-based computer system, loaded into the internal memory 10034 at runtime, and then After being compiled into a machine code, it is passed to the processor 1002 for execution, so that a logical folder selection component display module 102, a target folder determination module 104, and a target folder setting module are formed in the von Neumann system-based computer system.
  • Photo display module 208 and photo classification mode adjustment module 210 are examples of the operation of the method.
  • the input parameters are all received through the external input interface 1001, and passed to the buffer in the memory 1003, and then input to the processor 1002 for processing, processing.
  • the resulting data is either cached in memory 1003 for subsequent processing or passed to output interface 1004 for output.
  • program code is stored in the memory 1003, and the processor 1002 can call the program code stored in the memory 1003 to perform related functions.
  • the respective modules described in FIG. 5 are program codes stored in the memory 1003, and are processed by the processing.
  • the device 1002 executes to implement the functions of the various modules.
  • the memory 1003 stores a plurality of instructions that are executed by the processor 1002 to implement a photo classification method. Specifically, the executing, by the processor 1002, the executing, by the processor 1002, the folder selection component is displayed on a photographing interface, where the folder selection component includes a photo default storage folder and at least one custom folder. a folder icon; determining a target folder corresponding to the folder icon selected in the displayed folder selection component, the target folder may be the photo default storage folder or a custom folder; The folder is set as a storage folder for photographing pictures; detecting the input photographing instruction, acquiring a target image collected by the camera, and storing the target image as a photographed picture to the storage folder according to the photographing instruction.
  • the determining the target folder selected in the displayed folder selection component further comprises: detecting a click operation/sliding operation input by the user, and acquiring an operation parameter of the click operation/sliding operation,
  • the operation parameter of the click operation includes a click position coordinate corresponding to the click operation/the operation parameter of the slide operation includes a sliding direction corresponding to the sliding operation; and determining to correspond to the click position coordinate/the sliding direction
  • the folder icon acquires a folder corresponding to the folder icon corresponding to the click position coordinate/the sliding direction as a target folder.
  • the determining, after the target folder corresponding to the folder icon selected in the displayed folder selection component further comprises: highlighting the selected file in a highlighted and/or framed manner. Clip icon.
  • the executing, by the processor 1002, the execution of the plurality of instructions further includes: detecting a touch operation input by a gesture input area preset on the touch screen, acquiring an operation parameter of the touch operation; Corresponding relationship between the component operation instruction and the operation parameter determines a component operation instruction corresponding to the operation parameter, the component operation instruction is a folder selection component display instruction or a folder selection component hidden instruction; When the component display instruction is selected for the folder, the folder selection component is displayed on the photographing interface; and the component operation instruction is the file When the folder selection component hides the instruction, the folder selection component displayed on the camera interface is hidden.
  • the execution of the plurality of instructions by the processor 1002 further includes: detecting a folder selection operation input by the user on the folder presentation interface, and determining a folder corresponding to the folder selection operation As a display folder; obtaining all the photos included in the display folder; determining a photo classification manner corresponding to the display folder, and the photo classification manner corresponding to the display folder includes a default photo classification manner and/or a custom photo classification
  • the method includes displaying all the photos included in the display folder according to the photo classification manner corresponding to the display folder.
  • the executing of the plurality of instructions by the processor 1002 further includes: detecting a classification option selection operation input by the user, determining a target photo classification manner corresponding to the classification option selection operation, the target photo classification manner includes classifying by time and/or according to a geographical location; displaying the location according to the target photo classification manner All the photos contained in the display folder.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种照片分类的方法,包括:在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标(S102);确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹(S104);将所述目标文件夹设置为拍照图片的存储文件夹(S106);检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹(S108)。还公开了一种照片分类的装置。可提高对照片分类的操作便利性。

Description

一种照片分类的方法及装置
本申请要求于2016年6月27日提交中国专利局,申请号为201610488999.8、发明名称为“一种照片分类的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机技术领域,尤其涉及一种照片分类的方法及装置。
背景技术
随着电子技术的不断发展,使得随时随地拍照成为可能,用户通过相机或者智能手机进行拍摄的行为也越来越频繁。在现有技术中,相机拍摄图片之后,默认将所有的图片存储在默认文件夹中,如果用户需要查找图片或者需要对照片进行分类,需要进入到相应的图库中进行查找照片或者将目标图片移动到目标文件夹中。在现有技术中也有存在自动按照时间、GPS地点等照片的属性对照片进行分类,同一地点的照片放置在于该地点对应的文件夹中。
对于上述照片的存储位置以及分类方式来讲,用户需要查找某个特定的照片时,需要在图库中进行查找和对照片进行重新归类,需要进行的操作的步骤太多,尤其是在照片过多的情况下,更进一步的增加了用户的操作的难度。而在根据时间、地点进行分类的照片中,用户只能按照时间或者地点进行查找和分类,若用户不清楚目标照片的时间或者地点,或者在对应的目标文件夹下的照片过大,用户依旧需要进行大量的操作,无法快速的查找到用户需要的目标图片。
综上,现有技术中关于相机拍照的照片的存储和分类因为分类的不精准而存在查找的过程中需要进行的操作的次数过多,即操作便利性不足、效率低下的问题。
发明内容
基于此,为解决传统技术中相机拍照的照片的存储和分类因为分类的不精准而存在查找的过程中需要进行的操作的次数过多,即操作便利性不足、效率 低下的技术问题,特提出了一种照片分类的方法。
一种照片分类的方法,包括:
在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;
确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;
将所述目标文件夹设置为拍照图片的存储文件夹;
检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
在其中一个实施例中,所述确定在所述展示的文件夹选择组件中选择的目标文件夹还包括:
检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;
确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
在其中一个实施例中,所述确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹之后还包括:
以高亮和/或框选方式突出展示所述选择的文件夹图标。
在其中一个实施例中,所述方法还包括:
检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;
在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
在其中一个实施例中,所述方法还包括:
检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;
获取所述展示文件夹包含的所有照片;
确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
在其中一个实施例中,所述按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片之后还包括:
检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;
按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
此外,为解决传统技术中相机拍照的照片的存储和分类因为分类的不精准而存在查找的过程中需要进行的操作的次数过多,即操作便利性不足、效率低下的技术问题,特提出了一种照片分类的装置。
一种照片分类的装置,包括:
文件夹选择组件展示模块,设置为在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;
目标文件夹确定模块,设置为确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;
目标文件夹设置模块,设置为将所述目标文件夹设置为拍照图片的存储文件夹;
照片存储模块,设置为检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
在其中一个实施例中,所述目标文件夹确定模块还设置为检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包 括与所述滑动操作对应的滑动方向;确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
在其中一个实施例中,所述装置还包括突出展示模块,设置为以高亮和/或框选方式突出展示所述选择的文件夹图标。
在其中一个实施例中,上述装置还包括触摸操作检测模块、组件操作指令确定模块以及文件夹选择组件操作模块,其中:
所述触摸操作检测模块设置为检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
所述组件操作指令确定模块设置为根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
所述文件夹选择组件操作模块设置为在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;
所述文件夹选择组件操作模块还设置为在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
在其中一个实施例中,所述装置还包括展示文件夹确定模块、照片获取模块、照片分类方式确定模块以及照片展示模块,其中:
所述展示文件夹确定模块设置为检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;
所述照片获取模块设置为获取所述展示文件夹包含的所有照片;
所述照片分类方式确定模块设置为确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
所述照片展示模块设置为按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
在其中一个实施例中,所述装置还包括照片分类方式调整模块,设置为检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
实施本发明实施例,将具有如下有益效果:
采用了上述照片分类的方法和装置之后,在拍照界面上展示拍照获取的照片可用的文件夹对应的文件夹选择组件,用户可以直接在文件夹选择组件中选择当前拍照的照片需要存储的目标文件夹,然后将在用户不改变设置的情况下,将拍照获取的照片均存储在该文件夹下。也就是说,用户可以直接在拍照界面上直观的方便的选择当前照片需要存储的位置,方便了用户在进行拍照的过程中就对照片进行分类,减少了用户在后续的照片查找和分类的过程中需要进行的操作的次数,提高了照片分类的操作便利性,提升了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
其中:
图1为一个实施例中一种照片分类的方法的流程示意图;
图2为一个实施例中拍照界面示意图;
图3为一个实施例中一种照片分类的方法的流程示意图;
图4为一个实施例中照片文件夹展示界面的示意图;
图5为一个实施例中一种照片分类的装置的结构示意图;
图6为一个实施例中运行前述照片分类的方法的计算机设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为解决传统技术中相机拍照的照片的存储和分类因为分类的不精准而存在查找的过程中需要进行的操作的次数过多,即操作便利性不足、效率低下的技 术问题,在本实施例中,特提出了一种照片分类的方法,该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上,该计算机程序可以是图片分类的应用程序或者相机应用等。该计算机系统可以是运行上述计算机程序的例如智能手机、平板电脑、掌上电脑、摄像机等终端设备。
具体的,如图1所示,上述照片分类的方法包括如下步骤:
步骤S102:在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标。
当用户打开终端上的相机或者拍照应用时,展示对应的拍照界面。在本实施例中,拍照界面上除了照片的预览界面之外,还包括了展示文件夹选择组件对应的展示区域,例如,在图2展示的相机应用的应用场景中,区域A所示的区域即为展示文件夹选择组件对应的展示区域,在该展示区域中包括了多个文件夹对应的图标,即图2中的“默认”、“自拍”、“BJ”、“2016”,图标中展示的字符为对应的文件夹的名称或者名称的部分,,例如“2016”对应的文件夹全名为“2016.06.01”。在本实施例中,输入预设的对应文件夹全名显示操作(例如,长按该文件夹对应的图标对应的区域),可以浮动窗口的形式展示该文件夹的文件夹全名。
进一步的,在本实施例中,还可以对文件夹进行重命名、新建文件夹等操作,例如,在图2所示的应用场景中,区域C对应的“+”代表的是新建文件夹的控件,双击即可打开新建文件夹的页面新建一个照片文件夹。需要说明的是,在本实施例中,在拍照页面上的文件夹选择组件中可以展示的文件夹图标是有限的,因此,用户还可以通过左右滑动或翻页操作浏览除了当前的拍照界面上展示的文件夹的图标之外的其他文件夹。
在本实施例中,拍照文件夹除了系统默认的默认存储文件夹之外,该默认存储文件夹是不可删除的,还包括了其他用户自定义的自定义文件夹,对用户自定义的自定义文件夹的数量不设限制,用户可以根据自己的需要进行自定义文件夹的新建、删除等文件夹管理。
需要说明的是,在本实施例中,针对在拍照界面上展示的文件夹选择组件,用户还可以根据自己的需要选择展示该文件夹选择组件抑或是隐藏该文件夹选择组件。具体的,在上述照片分类的方法中,还可以包括如下步骤S1022-步骤 S1028:
步骤S1022:检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
步骤S1024:根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
步骤S1026:在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;
步骤S1028:在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
预设的手势输入区域是指在触摸屏上预先设定的用来输入触摸操作的某一个区域,该手势输入区域可以是整个触摸屏,也可以是预先设定的某一部分。在用户在该预设的手势输入区域中输入触摸操作时,获取该触摸操作的操作参数。需要说明的是,在本实施例中,上述触摸操作可以是一个滑动操作,则对应的该滑动操作的操作参数包括滑动轨迹、滑动方向和/或触摸点的位置,具体根据设置确定获取的操作参数具体包含的内容。在另一个实施例中,上述触摸操作还可以是点击操作,则对应的点击操作的操作参数可以包括点击点位置、点击次数等参数。
在本实施例中,系统默认设置或者用户可以自定义设置针对文件夹选择组件的展示或隐藏的具体操作,例如,可以设定从触摸屏底部向上滑动时,展示文件夹选择组件,从上向下滑动至触摸屏底部时,隐藏文件夹选择组件。也就是说,系统默认设置或者用户自定义设置中需要先设置与文件夹选择组件对应的组件操作指令与对应的触摸操作的操作参数之间的对应关系,在获取到用户输入的触摸操作的操作参数之后,根据上述与文件夹选择组件对应的组件操作指令与对应的触摸操作的操作参数之间的对应关系,确定与输入的触摸操作的操作参数对应的组件操作指令。在本实施例中,组件操作指令包括了文件夹选择组件展示指令和文件夹选择组件隐藏指令。文件夹选择组件展示指令对应的操作是在拍照界面上展示文件夹选择组件,用户若需要改变照片存储的默认文件夹,则需要在展示的文件夹选择组件中选择需要存储的文件夹,在此之前,若在当前的拍照界面上并没有展示文件夹选择组件,用户则需要输入相应的触 摸操作展示该文件夹选择组件。文件夹选择组件隐藏指令对应的操作是将在拍照界面上已经展示的文件夹选择组件进行隐藏,一般来讲,文件夹选择组件在拍照界面上进行展示可能会影响用户在拍照个过程中对于图像预览的用户体验,因此用户可以根据自己的需求隐藏该文件夹选择组件,即输入相应的触摸操作隐藏已经展示的文件夹选择组件。
步骤S104:确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹。
一般来讲,拍照获取的照片存储在终端的某个文件夹中,可以是系统默认的设置,也可以是用户设置的,在本实施例中,在用户没有进行设置的情况下,拍照的照片存储在系统默认的默认存储文件夹中,当然,用户也可以根据自己的需要将拍照的照片的存储文件夹设置为其他文件夹,例如,图2所示的应用场景中,可以将“自拍”所对应的文件夹设置为拍照的照片的存储文件夹。
在本实施例中,若用户没有改变拍照的照片存储的文件夹,则目标文件夹为系统默认的默认存储文件夹,当然,在用户进行了相关设置的情况下,用户选择的文件夹即为目标文件夹。
在一个具体的实施例中,上述确定在展示的文件夹选择组件中选择的目标文件夹的过程具体可以是:检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
用户在拍照界面上展示的文件夹选择组件中,可以通过点击操作或者滑动操作选择想要选择的文件夹作为目标文件夹。具体的,用户可以点击文件夹选择组件中的某一个文件夹对应的文件夹图标所在的区域,并将对应的文件夹设置为目标文件夹;还可以是通过左右滑动或者上下滑动的方式改变当前选中的目标文件夹,例如,当用户输入的滑动操作为向右滑动时,将与当前选中的目标文件夹的下一个文件夹设置为新的目标文件夹,例如,在图2所示的应用场景中,若当前界面对应的目标文件夹为“自拍”对应的自定义文件夹时,若用户在预设的手势输入区域中输入滑动方向向右的滑动操作时,将“BJ”对应的文件夹设置为目标文件夹。
可选的,在一个实施例中,为了方便用户确认当前的拍照界面对应的目标文件夹,在上述确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹的步骤之后还包括:以高亮和/或框选方式突出展示所述选择的文件夹图标。
例如,在图2所示的应用场景中,编号B所标识的文件夹图标即为以框选方式突出展示的文件夹“自拍”。当然,在其他实施例中,突出展示的方式还可以包括其他展示方式,例如,闪动,在本实施例中不做限定。
步骤S106:将所述目标文件夹设置为拍照图片的存储文件夹。
在目标文件夹确定之后,将目标文件夹设置为拍照图片的存储文件夹,也就是说,在用户不改变设置的情况下,拍照获取的拍照图片均存储在该存储文件夹下,以便用户对拍照图片进行分类。
可选的,在一个实施例中,为方便用户对拍照图片进行分类,可以设置在用户进行拍照图片的存储文件夹的设置之后的一定时间内,用户的设置一直是有效的,并在在预设的条件被满足的情况下,将拍照图片的存储文件夹重置为默认存储文件夹,例如,在用户超过24小时未进行拍照的情况下对拍照图片的存储文件夹进行重置,再例如,在每天的0点对拍照图片的存储文件夹进行重置。
步骤S108:检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
在用户按拍照按钮或者其他按钮进行拍照时,即相当于输入了一个拍照指令,根据用户的拍照指令,将摄像头采集的目标图像作为拍照图片进行保存,根据步骤S106中的相关设置,将该拍照图片保存至步骤S106中设置的存储文件夹下。
可选的,在本实施例中,在上述步骤S102-步骤S108之后,上述照片分类的方法还可以在照片展示界面上更改照片分类方式,具体的,如图3所示,上述照片分类的方法还包括如下步骤S202-步骤S208:
步骤S202:检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹。
用户可以在文件夹展示界面上选择一个文件夹,并打开该文件夹,展示在该文件夹下对应的照片。文件夹选择操作可以是用户对某个文件夹对应的图标 或者名称的单击或者双击等预设的操作,并且,该文件夹选择操作必然对应了一个文件夹,例如,在文件夹选择操作是点击操作时,与该点击操作对应的点击点位置对应的文件夹即为与文件夹选择操作对应的文件夹。在确定了与文件夹选择操作对应的文件夹之后,获取该文件夹为展示文件夹。
例如,在图4所示的应用场景中,展示界面即为一个文件夹展示界面,展示的文件夹包括了相机、截屏录屏等多个文件夹,用户可以选择其中任意一个文件夹作为展示文件夹,并展示该文件夹下的相关图片。
步骤S204:获取所述展示文件夹包含的所有照片;
步骤S206:确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
步骤S208:按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
一般来讲,在展示照片时是按照时间的先后顺序对照片进行排序然后进行展示的,但是,用户可能存在其他的需求,需要按照其他的方式展示照片,例如,展示某一个地点对应的所有照片。在本实施例中,在展示照片的过程中对照片进行分类和排序的方式(简称为照片分类方式)不仅可以包含默认的根据时间来确定的默认照片分类方式,还包括了其他照片分类方式,例如按照地理位置进行分类和排序的按照地理位置分类的照片分类方式。
一般来讲,每一个文件夹必然对应了其对应的照片分类方式,例如默认照片分类方式,或者其他用户设置的或者用户自定义的自定义照片分类方式。在展示展示文件夹对应的照片前,首先需要确定该展示文件夹对应的照片分类方式,例如默认照片分类方式,或者用户在此之前设置的照片分类方式,然后按照该照片分类方式对该展示文件夹包含的所有照片进行分类和排序,并以平铺或者列表的方式展示分类和排序之后的所有照片。
可选的,上述步骤S208:按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片之后,上述方法还包括如下步骤:检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
也就是说,用户可以在展示某一个文件夹下的照片的展示页面,根据自己 的需要改变当前文件夹的照片分类方式,例如,将按照时间分类的照片分类方式更改为按照地理位置分类的照片分类方式。例如,在照片展示界面上的照片分类方式的选择控件中,选择用户需要的照片分类方式,即相当于输入了一个分类选项选择操作,或者,在照片展示界面上输入了符合预设条件的触控操作,也即相当于输入例如一个分类选项选择操作,并根据用户输入的分类选项选择操作确定与之对应的照片分类方式作为目标照片分类方式,例如,用户在照片分类方式列表中选中的照片分类方式即为目标照片分类方式,再例如,根据用户输入的分类选项选择操作将当前展示界面的照片分类方式重置为相邻的照片分类方式作为目标照片分类方式。在本实施例中,对分类选项选择操作不做具体的限制,只要能实现在预设的多个照片分类方式指定其中某一个照片分类方式作为目标照片分类方式的操作均为本实施例的一种具体实施方式。
在确定了目标照片分类方式之后,按照目标照片分类方式,对展示文件夹中的所有照片重新按照目标照片分类方式进行分类和排序,并按照目标照片分类方式重新展示分类和排序之后的所有照片。
此外,为解决传统技术中相机拍照的照片的存储和分类因为分类的不精准而存在查找的过程中需要进行的操作的次数过多,即操作便利性不足、效率低下的技术问题,在一个实施例中,如图5所示,还提出了一种照片分类的装置,包括文件夹选择组件展示模块102、目标文件夹确定模块104、目标文件夹设置模块106以及照片存储模块108,其中:
文件夹选择组件展示模块102,设置为在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;
目标文件夹确定模块104,设置为确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;
目标文件夹设置模块106,设置为将所述目标文件夹设置为拍照图片的存储文件夹;
照片存储模块108,设置为检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
可选的,在其中一个实施例中,上述目标文件夹确定模块104还设置为检 测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
可选的,在其中一个实施例中,如图5所示,上述装置还包括突出展示模块110,设置为以高亮和/或框选方式突出展示所述选择的文件夹图标。
可选的,在其中一个实施例中,如图5所示,上述装置还包括触摸操作检测模块112、组件操作指令确定模块114以及文件夹选择组件操作模块116,其中:
所述触摸操作检测模块112设置为检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
所述组件操作指令确定模块114设置为根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
所述文件夹选择组件操作模块116设置为在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;
所述文件夹选择组件操作模块116还设置为在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
可选的,在其中一个实施例中,如图5所示,上述装置还包括展示文件夹确定模块202、照片获取模块204、照片分类方式确定模块206以及照片展示模块208,其中:
所述展示文件夹确定模块202设置为检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;
所述照片获取模块204设置为获取所述展示文件夹包含的所有照片;
所述照片分类方式确定模块206设置为确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
所述照片展示模块208设置为按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
可选的,在其中一个实施例中,如图5所示,上述装置还包括照片分类方式调整模块210,设置为检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
实施本发明实施例,将具有如下有益效果:
采用了上述照片分类的方法和装置之后,在拍照界面上展示拍照获取的照片可用的文件夹对应的文件夹选择组件,用户可以直接在文件夹选择组件中选择当前拍照的照片需要存储的目标文件夹,然后将在用户不改变设置的情况下,将拍照获取的照片均存储在该文件夹下。也就是说,用户可以直接在拍照界面上直观的方便的选择当前照片需要存储的位置,方便了用户在进行拍照的过程中就对照片进行分类,减少了用户在后续的照片查找和分类的过程中需要进行的操作的次数,提高了照片分类的操作便利性,提升了用户体验。
在一个实施例中,如图6所示,图6展示了一种运行上述照片分类的方法的基于冯诺依曼体系的计算机系统的终端。该计算机系统可以是智能手机、平板电脑、掌上电脑等终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可选的可至少包括网络接口10012。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可至少包括显示屏10042等设备。
在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述基于冯诺依曼体系的计算机系统的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统中形成逻辑上的文件夹选择组件展示模块102、目标文件夹确定模块104、目标文件夹设置模块106、照片存储模块108、突出展示模块110、触摸操作检测模块112、组件操作指令确定模块114、文件夹选择组件操作模块116、展示文件夹确定模块202、照片获取模块204、照片分类方式确定模块206、照片展示模块208以及照片分类方式调整模块210。且在上述照片分类的方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理 的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。
具体而言,在本发明的一个实施例中,所述存储器1003中存储有程序代码,且所述处理器1002可调用所述存储器1003中存储的程序代码以执行相关的功能。例如,图5中所述的各个模块(例如,所述文件夹选择组件展示模块102、所述目标文件夹确定模块104等)是存储在所述存储器1003中的程序代码,并由所述处理器1002所执行,从而实现所述各个模块的功能。
所述存储器1003存储多个指令,所述多个指令被所述处理器1002所执行以实现照片分类方法。具体而言,所述处理器1002对所述多个指令的执行包括:在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;将所述目标文件夹设置为拍照图片的存储文件夹;检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
在进一步的实施例中,所述确定在所述展示的文件夹选择组件中选择的目标文件夹还包括:检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
在进一步的实施例中,所述确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹之后还包括:以高亮和/或框选方式突出展示所述选择的文件夹图标。
在进一步的实施例中,所述处理器1002对所述多个指令的执行还包括:检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;在所述组件操作指令为所述文件 夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
在进一步的实施例中,所述处理器1002对所述多个指令的执行还包括:检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;获取所述展示文件夹包含的所有照片;确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
在进一步的实施例中,所述按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片之后,所述处理器1002对所述多个指令的执行还包括:检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
具体地,所述处理器1002对上述指令的具体实现方法可参考图1、3对应实施例中相关步骤的描述,在此不赘述。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (12)

  1. 一种照片分类的方法,其特征在于,包括:
    在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;
    确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;
    将所述目标文件夹设置为拍照图片的存储文件夹;
    检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
  2. 根据权利要求1所述的照片分类的方法,其特征在于,所述确定在所述展示的文件夹选择组件中选择的目标文件夹还包括:
    检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;
    确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
  3. 根据权利要求1或2所述的照片分类的方法,其特征在于,所述确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹之后还包括:
    以高亮和/或框选方式突出展示所述选择的文件夹图标。
  4. 根据权利要求1所述的照片分类的方法,其特征在于,所述方法还包括:
    检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
    根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
    在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面 上展示所述文件夹选择组件;
    在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
  5. 根据权利要求1所述的照片分类的方法,其特征在于,所述方法还包括:
    检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;
    获取所述展示文件夹包含的所有照片;
    确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
    按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
  6. 根据权利要求5所述的照片分类的方法,其特征在于,所述按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片之后还包括:
    检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;
    按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
  7. 一种照片分类的装置,其特征在于,包括:
    文件夹选择组件展示模块,设置为在拍照界面上展示文件夹选择组件,所述文件夹选择组件中包括照片默认存储文件夹和至少一个自定义文件夹的文件夹图标;
    目标文件夹确定模块,设置为确定在所述展示的文件夹选择组件中选择的文件夹图标对应的目标文件夹,所述目标文件夹可以是所述照片默认存储文件夹或自定义文件夹;
    目标文件夹设置模块,设置为将所述目标文件夹设置为拍照图片的存储文件夹;
    照片存储模块,设置为检测输入的拍照指令,获取摄像头采集的目标图像,根据所述拍照指令将所述目标图像作为拍照图片存储至所述存储文件夹。
  8. 根据权利要求7所述的照片分类的装置,其特征在于,所述目标文件夹确定模块还设置为检测用户输入的点击操作/滑动操作,获取所述点击操作/滑动操作的操作参数,所述点击操作的操作参数包括与所述点击操作对应的点击位置坐标/所述滑动操作的操作参数包括与所述滑动操作对应的滑动方向;确定与所述点击位置坐标/所述滑动方向对应的文件夹图标,获取与所述点击位置坐标/所述滑动方向对应的文件夹图标对应的文件夹作为目标文件夹。
  9. 根据权利要求7或8所述的照片分类的装置,其特征在于,所述装置还包括突出展示模块,设置为以高亮和/或框选方式突出展示所述选择的文件夹图标。
  10. 根据权利要求7所述的照片分类的装置,其特征在于,所述装置还包括触摸操作检测模块、组件操作指令确定模块以及文件夹选择组件操作模块,其中:
    所述触摸操作检测模块设置为检测在触摸屏上预设的手势输入区域输入的触摸操作,获取所述触摸操作的操作参数;
    所述组件操作指令确定模块设置为根据预设的组件操作指令与操作参数之间的对应关系确定与所述操作参数对应的组件操作指令,所述组件操作指令为文件夹选择组件展示指令或文件夹选择组件隐藏指令;
    所述文件夹选择组件操作模块设置为在所述组件操作指令为所述文件夹选择组件展示指令时,在所述拍照界面上展示所述文件夹选择组件;
    所述文件夹选择组件操作模块还设置为在所述组件操作指令为所述文件夹选择组件隐藏指令时,隐藏在所述拍照界面上展示的所述文件夹选择组件。
  11. 根据权利要求7所述的照片分类的装置,其特征在于,所述装置还包括展示文件夹确定模块、照片获取模块、照片分类方式确定模块以及照片展示模块,其中:
    所述展示文件夹确定模块设置为检测用户在文件夹展示界面上输入的文件夹选择操作,确定与所述文件夹选择操作对应的文件夹作为展示文件夹;
    所述照片获取模块设置为获取所述展示文件夹包含的所有照片;
    所述照片分类方式确定模块设置为确定与展示文件夹对应的照片分类方式,所述与展示文件夹对应的照片分类方式包括默认照片分类方式和/或自定义照片分类方式;
    所述照片展示模块设置为按照所述与展示文件夹对应的照片分类方式展示所述展示文件夹包含的所有照片。
  12. 根据权利要求11所述的照片分类的装置,其特征在于,所述装置还包括照片分类方式调整模块,设置为检测用户输入的分类选项选择操作,确定与所述分类选项选择操作对应的目标照片分类方式,所述目标照片分类方式包括按照时间分类和/或按照地理位置分类;按照所述目标照片分类方式展示所述展示文件夹包含的所有照片。
PCT/CN2016/100718 2016-06-27 2016-09-29 一种照片分类的方法及装置 Ceased WO2018000643A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610488999.8 2016-06-27
CN201610488999.8A CN106202210A (zh) 2016-06-27 2016-06-27 一种照片分类的方法及装置

Publications (1)

Publication Number Publication Date
WO2018000643A1 true WO2018000643A1 (zh) 2018-01-04

Family

ID=57461039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100718 Ceased WO2018000643A1 (zh) 2016-06-27 2016-09-29 一种照片分类的方法及装置

Country Status (2)

Country Link
CN (1) CN106202210A (zh)
WO (1) WO2018000643A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151396A1 (zh) * 2019-01-21 2020-07-30 华为技术有限公司 一种图像分类的方法和电子设备
CN113076284A (zh) * 2021-04-08 2021-07-06 立臻科技(昆山)有限公司 一种图像即时管理方法、装置、设备及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108010570A (zh) * 2017-11-30 2018-05-08 上海联影医疗科技有限公司 一种医学影像处理方法、医学影像处理设备及系统
CN108304564B (zh) * 2018-02-08 2022-02-25 百度在线网络技术(北京)有限公司 网盘中文件夹的展现方法、装置和计算机设备
CN109597561A (zh) * 2018-11-19 2019-04-09 惠州Tcl移动通信有限公司 一种照片归类方法、移动终端及存储介质
CN110049185A (zh) * 2019-03-12 2019-07-23 维沃移动通信有限公司 图像处理方法及终端设备
CN111050067B (zh) * 2019-11-25 2021-06-08 北京城市网邻信息技术有限公司 一种信息采集过程中的提示方法和装置
CN110955793A (zh) * 2019-11-26 2020-04-03 维沃移动通信有限公司 一种显示控制方法及电子设备
CN111597370B (zh) * 2020-04-22 2023-08-01 维沃移动通信有限公司 一种拍摄方法及电子设备
JP7551408B2 (ja) * 2020-09-09 2024-09-17 キヤノン株式会社 情報処理装置、プログラム及び制御方法
CN113360684A (zh) * 2021-05-25 2021-09-07 维沃移动通信(杭州)有限公司 图片管理方法、装置及电子设备
CN113779288A (zh) * 2021-08-06 2021-12-10 维沃移动通信(杭州)有限公司 照片存储方法及装置
CN113672745A (zh) * 2021-08-30 2021-11-19 维沃移动通信(杭州)有限公司 文件存储的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917126A (zh) * 2012-10-11 2013-02-06 中兴通讯股份有限公司 一种照片处理方法和系统
CN103167132A (zh) * 2012-08-14 2013-06-19 深圳市金立通信设备有限公司 一种智能化手机相片管理系统及方法
CN104484107A (zh) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 一种图片处理方法
CN104615769A (zh) * 2015-02-15 2015-05-13 小米科技有限责任公司 图片分类方法及装置
CN105550181A (zh) * 2014-10-30 2016-05-04 东莞宇龙通信科技有限公司 文件分类保存的方法、装置及终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110131584A1 (en) * 2008-07-29 2011-06-02 Xu Wang The method and apparatus for the resource sharing between user devices in computer network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167132A (zh) * 2012-08-14 2013-06-19 深圳市金立通信设备有限公司 一种智能化手机相片管理系统及方法
CN102917126A (zh) * 2012-10-11 2013-02-06 中兴通讯股份有限公司 一种照片处理方法和系统
CN105550181A (zh) * 2014-10-30 2016-05-04 东莞宇龙通信科技有限公司 文件分类保存的方法、装置及终端
CN104484107A (zh) * 2014-11-28 2015-04-01 深圳市金立通信设备有限公司 一种图片处理方法
CN104615769A (zh) * 2015-02-15 2015-05-13 小米科技有限责任公司 图片分类方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151396A1 (zh) * 2019-01-21 2020-07-30 华为技术有限公司 一种图像分类的方法和电子设备
US12010257B2 (en) 2019-01-21 2024-06-11 Huawei Technologies Co., Ltd. Image classification method and electronic device
CN113076284A (zh) * 2021-04-08 2021-07-06 立臻科技(昆山)有限公司 一种图像即时管理方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN106202210A (zh) 2016-12-07

Similar Documents

Publication Publication Date Title
WO2018000643A1 (zh) 一种照片分类的方法及装置
US11640234B2 (en) Navigating digital content using visual characteristics of the digital content
US10579187B2 (en) Display control apparatus, display control method and display control program
US10628680B2 (en) Event-based image classification and scoring
US11449542B2 (en) Systems and methods for identifying unwanted photos stored on a device
EP3125135B1 (en) Picture processing method and device
US20110243397A1 (en) Searching digital image collections using face recognition
US10007411B2 (en) Electronic device and display method thereof
US20140211065A1 (en) Method and system for creating a context based camera collage
US20110022982A1 (en) Display processing device, display processing method, and display processing program
WO2017129018A1 (zh) 一种图片处理方法、装置和智能终端
JP2009500884A (ja) デジタルメディアファイルを管理するための方法およびデバイス
US10013639B1 (en) Analyzing digital images based on criteria
US20140071160A1 (en) Electronic apparatus and display control method
CN108230425A (zh) 图像处理方法、图像处理装置和存储介质
CN105338237A (zh) 图像处理方法及装置
CN104854849A (zh) 终端和应用程序的快速启动方法
CA2630947C (en) User interface for selecting a photo tag
CN105512255A (zh) 图片筛选方法及装置、移动终端
CN111699466A (zh) 电子相册装置及其工作方法和工作程序
JP2014052915A (ja) 電子機器、表示制御方法及びプログラム
JP2007322847A (ja) 画像表示方法及び装置並びにプログラム
EP3673384B1 (en) Method and system for management and operation over image in a computing system
EP2056254A1 (en) Method for displaying images
US20220283698A1 (en) Method for operating an electronic device in order to browse through photos

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: 16907039

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: 16907039

Country of ref document: EP

Kind code of ref document: A1