WO2015043512A1 - Picture management method and device - Google Patents

Picture management method and device Download PDF

Info

Publication number
WO2015043512A1
WO2015043512A1 PCT/CN2014/087617 CN2014087617W WO2015043512A1 WO 2015043512 A1 WO2015043512 A1 WO 2015043512A1 CN 2014087617 W CN2014087617 W CN 2014087617W WO 2015043512 A1 WO2015043512 A1 WO 2015043512A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
application
target
image
information
Prior art date
Application number
PCT/CN2014/087617
Other languages
French (fr)
Chinese (zh)
Inventor
蔡文梁
张安康
林颖雯
Original Assignee
贝壳网际(北京)安全技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 贝壳网际(北京)安全技术有限公司 filed Critical 贝壳网际(北京)安全技术有限公司
Publication of WO2015043512A1 publication Critical patent/WO2015043512A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/51Indexing; Data structures therefor; Storage structures

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a picture management method and apparatus.
  • the embodiment of the present invention provides a picture management method and device, which can classify pictures in a mobile terminal by using application software as a basis, so that the user can manage pictures in the mobile terminal more conveniently and quickly.
  • an embodiment of the present invention provides a picture management method, where the picture management method includes:
  • the classified target picture is displayed on the user interface.
  • the picture information includes: storage path information, an application identifier, or a picture name of the target picture.
  • the displaying the classified target image on the user interface includes:
  • the corresponding target image is displayed on the user interface according to the application or application category selected by the user.
  • the obtaining the picture information of the at least one target picture includes:
  • the embodiment of the present invention further provides a picture management apparatus, where the picture management apparatus includes:
  • a picture information obtaining module configured to acquire picture information of at least one target picture
  • An application determining module configured to acquire an application or an application category corresponding to the target image according to the picture information
  • a classification module configured to classify the image according to an application or an application category corresponding to the target image
  • the picture information includes storage path information, an application identifier, or a picture name of the target picture.
  • the classification display module is configured to:
  • the corresponding target image is displayed on the user interface according to the application or application category selected by the user.
  • the picture information obtaining module includes:
  • a data connection unit configured to establish a connection with the mobile terminal
  • a picture information obtaining unit configured to acquire picture information of at least one target picture in the storage space of the mobile terminal.
  • an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a picture management apparatus as described above.
  • the embodiment of the invention further provides a readable storage medium for storing a computer program, which is used at runtime to perform the following steps:
  • the classified target picture is displayed on the user interface.
  • the embodiment of the present invention determines the application program or the application category corresponding to the target image according to the picture information of the target picture, so as to classify the target picture according to the application program, so that the user can manage the picture in the mobile terminal more conveniently and quickly. .
  • FIG. 1 is a schematic flowchart of a picture management method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of a picture management method according to another embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a picture management method according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a picture management apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a picture information acquiring module of a picture management apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of the effect of the classified display interface of the picture management method in the embodiment of the present invention.
  • the picture management method and apparatus mentioned in the embodiments of the present invention may be implemented in a mobile terminal such as a mobile phone, a tablet computer, an in-vehicle terminal, or an e-reader, or implemented by a management device that establishes a data connection with the mobile terminal.
  • the picture is managed, and the management device can be, for example, a personal computer, a notebook computer, a tablet computer, or the like.
  • FIG. 1 is a schematic flowchart of a picture management method according to an embodiment of the present invention.
  • a picture management device is used as an implementation process of an execution subject, and the data connection may be independently implemented or implemented in a mobile terminal.
  • the process of the picture management method in this embodiment may include:
  • the picture management apparatus in the embodiment of the present invention may perform file scanning on the designated storage area of the mobile terminal, thereby acquiring picture information of at least one target picture.
  • the designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card (Secure Digital Card) in the mobile terminal, or a target data area specified by the user, for example, in an app/ directory in the SD card. Storage area. All the pictures scanned in the specified storage area may be used as the target picture, and the picture information may include storage path information, an application identifier or a picture name of the target picture, and may also include a size and generation of the target picture.
  • SD memory card Secure Digital Card
  • the image management device may filter the acquired image information to obtain only image information that can be used to determine the application corresponding to the target image, for example, ignoring the target image. Size and generation date, only get the storage path information, application ID or picture name of the target image.
  • the picture management device may determine, according to the picture information of the target picture, the corresponding application, for example, determining that the application corresponding to the picture 1 is WeChat (an instant messaging tool), and the application corresponding to the picture 2 is Sina Weibo and the picture.
  • the corresponding application is Baidu Magic Shooter; in turn, it can also determine the application category corresponding to the target image according to the classification of the application in advance, for example, the WeChat, QQ, and MSN are collectively classified into instant messaging, and Tencent Weibo will be , Sina Weibo, QQ space is generally SNS (Social Networking Services), The Meitu Xiuxiu show, Baidu magic shoot, etc.
  • the image management device may determine, according to the storage path information, the application identifier, or the image name of the target image, an application corresponding to the target image, and specifically, an application app (Application) may be preset in the image management device.
  • the path information corresponding to the saved image can save the image path as MM ⁇ IMAGE ⁇ , if the path of the currently acquired target image is E ⁇ MM ⁇ IMAGE ⁇ 11.jpg, then It can be determined that the application corresponding to the target image is WeChat, and if the path of the target image is D ⁇ Pictures ⁇ Screenshots ⁇ 11.jpg, the application corresponding to the target image can be determined as a screenshot tool, according to the path of the target image. If the app to which it belongs cannot be directly identified, the executable app under the path can be found according to its path to determine whether the app is an application corresponding to the target image, or directly classified as an "other" category.
  • the corresponding application may be determined according to the name of the target image or the application identifier carried by the target image, for example, the preset application naming the image saved by the application when saving the image with a specific naming rule. If the picture saved by the screenshot tool is unified as Screenshots****.jpg, it can be judged whether the application corresponding to the target picture is a screenshot tool according to whether the name of the target picture carries "Screenshots"; The program automatically adds an application identifier to the saved image when the image is saved.
  • the image management device can obtain the application identifier when acquiring the image information of the target image, and then the application corresponding to the target image can be determined according to the application identifier.
  • the image management device may classify the target image according to the corresponding application or application category, and further calculate the number of target images corresponding to the same application or application category.
  • the image management device may display the application that has the corresponding target image in a classified list, and may display the corresponding target image when acquiring the application or the application category selected by the user in the classified list, and further The number of target pictures corresponding to the same application is displayed when the classified list divided according to the application is displayed.
  • FIG. 2 is a schematic flowchart of a picture management method according to another embodiment of the present invention.
  • a picture management device in a management device including a personal computer is used to classify and manage pictures in a mobile terminal.
  • the implementation process of the present invention is introduced for a specific example.
  • the process of the picture management method in this embodiment may include:
  • the management device end can establish a data connection with the mobile terminal through a data line or a wireless local area network.
  • the picture management device may perform the storage area specified by the mobile terminal. File scanning to obtain image information of at least one target image.
  • the designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card in the mobile terminal, or a target data area specified by the user, such as a storage area under the app/ directory in the SD card.
  • the picture management apparatus may use, as the target picture, all the pictures scanned in the specified storage area, where the picture information may include a name, a size, a generation date, a path information, and the like of the target picture, and may also include a target picture. Preview thumbnail.
  • the image management device may filter the acquired image information, and only obtain image information that can be used to determine an application corresponding to the target image, for example, ignoring the size and date of generation of the target image, and acquiring only The path information of the target image.
  • the picture management apparatus may also send the picture information query instruction to the mobile terminal, so that the mobile terminal sends the picture information in the specified storage area to the picture management apparatus.
  • the application corresponding to the target image may be determined according to the path information of the target image.
  • the application app (Application) and the path information corresponding to the saved image, such as WeChat app may be preset in the image management device.
  • the image path of the instant messaging tool can be MM ⁇ IMAGE ⁇ .
  • the path of the currently acquired target image is E ⁇ MM ⁇ IMAGE ⁇ 11.jpg
  • WeChat a An instant messaging tool
  • D ⁇ Pictures ⁇ Screenshots ⁇ 11.jpg it can be determined that the application corresponding to the target image is a screenshot tool, and if the path of the target image cannot directly identify the corresponding image
  • the app can find an executable app under the path according to its path to determine whether the app is an application corresponding to the target image, or directly classify it as an "other" category.
  • the corresponding application may be determined according to the name of the target image or the application identifier carried by the target image, for example, the preset application naming the image saved by the application when saving the image with a specific naming rule. If the picture saved by the screenshot tool is unified as Screenshots****.jpg, it can be judged whether the application corresponding to the target picture is a screenshot tool according to whether the name of the target picture carries "Screenshots"; The program automatically adds an application identifier to the saved image when the image is saved.
  • the image management device can obtain the application identifier when acquiring the image information of the target image, and then the application corresponding to the target image can be determined according to the application identifier.
  • the target picture may be classified according to the corresponding application program, and the picture management device may display the application that has the corresponding target picture in the mobile terminal in a classified list, for example,
  • the classification list in the classification display interface effect diagram shown in FIG. 6 includes “camera”, “screen shot”, “WeChat”, “Baidu Magic Map”, “Sina Weibo”, “QQ Space” and “Other Pictures”.
  • the image management device may perform statistics on the number of target images corresponding to the application in the category list, for example, refer to the schematic display effect diagram shown in FIG. 6, and may display the right side of the application name in the category list. Therefore, it is possible to clearly display the distribution of pictures in the mobile terminal based on the application.
  • the image management apparatus may display the target image corresponding to the selected application in the right interface of the classified display interface as shown in FIG.
  • the preview thumbnail of the target image may be displayed according to the picture information acquired in S202, or the corresponding target picture may be extracted from the mobile terminal according to the data connection established in S201 to perform display.
  • FIG. 3 is a schematic flowchart of a picture management method according to another embodiment of the present invention.
  • a picture management device in a management device including a personal computer is used to classify and manage pictures in a mobile terminal.
  • the implementation process of the present invention is introduced for a specific example.
  • the process of the picture management method in this embodiment may include:
  • the picture management apparatus can determine the application type corresponding to the target picture according to the classification of the application in advance. For example, WeChat, QQ, and MSN are grouped into instant messaging, and Tencent Weibo, Sina Weibo, and QQ space are all grouped into SNS (Social Networking Services), which will be Mito Xiuxiu and Baidu.
  • the image processing tool class is generally taken, and after the image information of the target image is acquired, the application corresponding to the target image is determined according to the image information, and the application corresponding to the target image can be obtained by combining the category of the application. Program category. Specifically, how to determine the corresponding application according to the picture information of the target picture has been described in detail in the foregoing, and details are not described in this embodiment.
  • the image management device may classify the target image according to the application category corresponding to the image management device, and the image management device may display the application type of the corresponding target image in the mobile terminal in a list form.
  • the list of application types includes "instant messaging", “SNS”, “image processing tool”, and "other".
  • the picture management device can perform statistics on the number of target pictures corresponding to the application in the classified list, so that the distribution of the pictures in the mobile terminal based on the application category can be clearly displayed.
  • the image management apparatus may display the target image corresponding to the selected application type, and may optionally display the image information obtained according to S302.
  • a thumbnail thumbnail of the target picture may be extracted from the mobile terminal according to the data connection established with the mobile terminal in S301 for display.
  • the picture management apparatus in the embodiment of the present invention may be implemented in a mobile terminal such as a mobile phone, a tablet computer, an in-vehicle terminal, or an e-reader, or Move The mobile terminal establishes a management device for establishing a data connection.
  • the picture management apparatus in the embodiment of the present invention may include at least:
  • the picture information obtaining module 410 is configured to acquire picture information of at least one target picture.
  • the picture information obtaining module 410 may perform file scanning on the specified storage area of the mobile terminal, thereby acquiring picture information of at least one target picture.
  • the designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card (Secure Digital Card) in the mobile terminal, or a target data area specified by the user, for example, in an app/ directory in the SD card. Storage area.
  • the picture information obtaining module 410 may use, as the target picture, all the pictures scanned in the specified storage area, where the picture information may include storage path information, an application identifier or a picture name of the target picture, and may also include a target. The size of the image, the date of creation, the thumbnail, and the like.
  • the image information obtaining module 410 may filter the obtained image information, and only obtain a picture that can be used to determine the application corresponding to the target image. Information, such as ignoring the size and date of generation of the target image, only the storage path information, application identifier or picture name of the target image.
  • the image information obtaining module 410 may further include: as shown in FIG. 5, the image management device is implemented in the embodiment of the management device that establishes a data connection with the mobile terminal.
  • the data connection unit 411 is configured to establish a connection with the mobile terminal. Specifically, the data connection unit 411 can establish a data connection with the mobile terminal through a data line or a wireless local area network.
  • the picture information obtaining unit 412 is configured to acquire picture information of at least one target picture in the storage space of the mobile terminal. Specifically, the picture information obtaining unit 412 can perform file scanning on the specified storage area of the mobile terminal by using the data connection established by the data connection unit 411, thereby acquiring picture information of at least one target picture. In an optional embodiment, the picture information obtaining unit 412 may also obtain the picture information query instruction in the mobile terminal, so as to obtain the picture information in the specified storage area returned by the mobile terminal according to the query instruction.
  • the application determining module 420 is configured to obtain an application or an application category corresponding to the picture according to the picture information.
  • the application determining module 420 may determine the corresponding application according to the picture information of the target picture, for example, determining that the application corresponding to the picture 1 is WeChat, and the application corresponding to the picture 2 is the application corresponding to Sina Weibo and Picture 3.
  • the program is a Baidu magic beat; and then the application determining module 420 can also determine the application category corresponding to the target image according to the classification of the application in advance, for example, the WeChat, QQ, and MSN are collectively added to the instant messaging class, and the Tencent micro Bo, Sina Weibo, and QQ Space are all classified into SNS (Social Networking Services), which will be used as image processing tools for Meitu Xiuxiu and Baidu Magic Shooting, so that the application corresponding to the target image can be obtained.
  • SNS Social Networking Services
  • the image management device may determine, according to the storage path information, the application identifier, or the image name of the target image, an application corresponding to the target image, where the application app (Application) and its corresponding saved image may be preset in advance.
  • Path information such as WeChat app (an instant messaging tool)
  • the save image path may be MM ⁇ IMAGE ⁇ .
  • the application determining module 420 may determine that the application corresponding to the target image is WeChat, and If the path of the target image is D ⁇ Pictures ⁇ Screenshots ⁇ 11.jpg, the application determining module 420 can determine that the application corresponding to the target image is a screenshot tool, and if the path of the target image cannot directly identify the app to which it belongs, The application determining module 420 can find an executable app under the path according to its path to determine that the app is an application corresponding to the target picture, or directly classify it as an "other" category.
  • the application determining module 420 may also determine the corresponding application according to the name of the target image or the application identifier carried by the target image, for example, preset the image saved by the application when saving the image to be specific. The naming rules are named. If the pictures saved by the screenshot tool are unified into Screenshots.jpg, the application determining module 420 can determine whether the target image corresponds to the application by determining whether the name of the target picture carries "Screenshots".
  • the application automatically adds an application identifier to the saved image when the image is saved, and the image information obtaining module 410 can obtain the application identifier when acquiring the image information of the target image, and the application The determining module 420 can determine, according to the application identifier, an application corresponding to the target image.
  • the classification module 430 is configured to classify the image according to an application or an application category corresponding to the picture.
  • the classification module 430 may classify the target image according to the corresponding application or application category, and further calculate the number of target images corresponding to the same application or application category.
  • the classification list in the classification display interface effect diagram shown in FIG. 6 includes “camera”, “screen shot”, “WeChat”, “Baidu magic map”, “Sina Weibo”, “QQ space” and “other pictures”. , or a list of application types including "Instant Messaging,” “SNS,” “Image Processing Tools,” and “Other.”
  • the image management apparatus may perform statistics on the number of target images corresponding to the application or the application category in the classification list, for example, refer to the classification display effect diagram shown in FIG. 6, and the application name in the classification list. Displayed on the right side, so that the distribution of pictures in the mobile terminal based on the application or application category can be clearly displayed.
  • the classification display module 440 is configured to display the classified target picture on the user interface.
  • the category display module 440 may display an application or an application category in the mobile terminal with a corresponding target picture in a list form, and display the same application on the right side of the interface shown in FIG. 6 .
  • the target image corresponding to the program or application category.
  • the category display module 440 may display the target image corresponding to the selected application or the application category in the right interface of the category display interface as shown in FIG. 6 .
  • the preview thumbnail of the target image may be displayed according to the picture information acquired by the picture information obtaining module 410, or the corresponding target picture may be extracted from the mobile terminal according to the data connection established with the mobile terminal by the data connection unit 411. Display.
  • the embodiment of the invention further provides a mobile terminal, which comprises the picture management device described above in connection with FIG. 4.
  • the embodiment of the present invention further provides a readable storage medium for storing a computer program, which is used to execute the picture management method disclosed in the above embodiment of the present invention.
  • the embodiment of the present invention determines the application program or the application category corresponding to the target image according to the picture information of the target picture, so as to classify the target picture according to the application program, so that the user can manage the picture in the mobile terminal more conveniently and quickly. .
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is a picture management method. The picture management method comprises: acquiring picture information about at least one target picture; according to the picture information, judging an application program or an application program category corresponding to the target picture; according to the application program or the application program category corresponding to the target picture, classifying the target picture; and displaying the classified target picture on a user interface. Also disclosed are a picture management device and a mobile terminal. By means of the present invention, pictures in a mobile terminal can be classified based on application software, so that a user can more conveniently and quickly manage the pictures in the mobile terminal.

Description

一种图片管理方法和装置Picture management method and device
相关申请的交叉引用Cross-reference to related applications
本申请要求了2013年9月27日提交的、申请号为201310451161.8发明名称为“一种图片管理方法和装置”的权益,其全部公开内容通过参考包括于此。This application claims the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of the benefit of
技术领域Technical field
本发明涉及一种电子技术领域,尤其涉及一种图片管理方法和装置。The present invention relates to the field of electronic technologies, and in particular, to a picture management method and apparatus.
背景技术Background technique
随着电子技术的飞速发展,移动终端从以前的单一通话功能已经升级到满足人们日常生活中的各项需求,其中通过手机拍摄图片已经成为手机的主要功能之一,同时各类通讯软件、浏览器等会在移动终端中保存各类图片,而在现有技术中移动终端管理图片非常不方便,例如有时候想找一些不在手机相册中的图片异常不方便,此类任务如今通常可以由电脑连接手机进行管理,但由于手机上的图片数量多,种类多,用户通过电脑来寻找手机中的某些图片时依旧不方便。With the rapid development of electronic technology, mobile terminals have been upgraded from the previous single call function to meet the needs of people in daily life. Among them, taking pictures through mobile phones has become one of the main functions of mobile phones, and various communication software and browsing. The device saves various types of pictures in the mobile terminal. In the prior art, it is very inconvenient for the mobile terminal to manage pictures. For example, sometimes it is inconvenient to find pictures that are not in the mobile phone album. Such tasks can now usually be connected by a computer. Mobile phones are managed, but because of the large number of pictures on the mobile phone and the variety of pictures, it is still inconvenient for users to find some pictures in the mobile phone through the computer.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种图片管理方法和装置,可对移动终端中的图片以应用软件作为依据进行分类,使得用户能够更为方便快捷的对移动终端中的图片进行管理。In view of this, the embodiment of the present invention provides a picture management method and device, which can classify pictures in a mobile terminal by using application software as a basis, so that the user can manage pictures in the mobile terminal more conveniently and quickly.
为了解决上述技术问题,本发明实施例提供了一种图片管理方法,所述图片管理方法包括:In order to solve the above technical problem, an embodiment of the present invention provides a picture management method, where the picture management method includes:
获取至少一个目标图片的图片信息;Obtaining picture information of at least one target picture;
根据所述图片信息判断所述目标图片对应的应用程序或应用程序类别;Determining, according to the picture information, an application or an application category corresponding to the target picture;
根据所述目标图片对应的应用程序或应用程序类别对所述目标图片进行分类;Sorting the target picture according to an application or an application category corresponding to the target picture;
将分类后的所述目标图片显示在用户界面上。The classified target picture is displayed on the user interface.
其中,所述图片信息包括:所述目标图片的存储路径信息、应用标识或图片名称。The picture information includes: storage path information, an application identifier, or a picture name of the target picture.
其中,所述将分类后的所述目标图片显示在用户界面上,包括:The displaying the classified target image on the user interface includes:
根据用户选择的应用程序或应用程序类别在用户界面上显示对应的目标图片。The corresponding target image is displayed on the user interface according to the application or application category selected by the user.
其中,所述获取至少一个目标图片的图片信息包括:The obtaining the picture information of the at least one target picture includes:
与移动终端建立连接; Establish a connection with the mobile terminal;
获取所述移动终端存储空间中至少一个目标图片的图片信息。Obtaining picture information of at least one target picture in the storage space of the mobile terminal.
相应地,本发明实施例还提供了一种图片管理装置,所述图片管理装置包括:Correspondingly, the embodiment of the present invention further provides a picture management apparatus, where the picture management apparatus includes:
图片信息获取模块,用于获取至少一个目标图片的图片信息;a picture information obtaining module, configured to acquire picture information of at least one target picture;
应用程序判断模块,用于根据所述图片信息获取所述目标图片对应的应用程序或应用程序类别;An application determining module, configured to acquire an application or an application category corresponding to the target image according to the picture information;
分类模块,用于根据所述目标图片对应的应用程序或应用程序类别对所述图片进行分类;a classification module, configured to classify the image according to an application or an application category corresponding to the target image;
其中,所述图片信息包括所述目标图片的存储路径信息、应用标识或图片名称。The picture information includes storage path information, an application identifier, or a picture name of the target picture.
其中,所述分类显示模块用于:The classification display module is configured to:
根据用户选择的应用程序或应用程序类别在用户界面上显示对应的目标图片。The corresponding target image is displayed on the user interface according to the application or application category selected by the user.
其中,所述图片信息获取模块包括:The picture information obtaining module includes:
数据连接单元,用于与移动终端建立连接;a data connection unit, configured to establish a connection with the mobile terminal;
图片信息获取单元,用于获取所述移动终端存储空间中至少一个目标图片的图片信息。And a picture information obtaining unit, configured to acquire picture information of at least one target picture in the storage space of the mobile terminal.
相应地,本发明实施例还提供了一种移动终端,所述移动终端包括如前文所述的图片管理装置。Correspondingly, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a picture management apparatus as described above.
本发明实施例还提供了一种可读存储介质,用于存储计算机程序,所述计算机程序在运行时用于执行以下步骤:The embodiment of the invention further provides a readable storage medium for storing a computer program, which is used at runtime to perform the following steps:
获取至少一个目标图片的图片信息;Obtaining picture information of at least one target picture;
根据所述图片信息判断所述目标图片对应的应用程序或应用程序类别;Determining, according to the picture information, an application or an application category corresponding to the target picture;
根据所述目标图片对应的应用程序或应用程序类别对所述目标图片进行分类;Sorting the target picture according to an application or an application category corresponding to the target picture;
将分类后的所述目标图片显示在用户界面上。The classified target picture is displayed on the user interface.
本发明实施例通过根据目标图片的图片信息判断目标图片对应的应用程序或应用程序类别,从而实现根据应用程序对目标图片进行分类,使得用户能够更为方便快捷的对移动终端中的图片进行管理。The embodiment of the present invention determines the application program or the application category corresponding to the target image according to the picture information of the target picture, so as to classify the target picture according to the application program, so that the user can manage the picture in the mobile terminal more conveniently and quickly. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例提供的一种图片管理方法的流程示意图;1 is a schematic flowchart of a picture management method according to an embodiment of the present invention;
图2是本发明另一实施例中的一种图片管理方法的流程示意图; 2 is a schematic flow chart of a picture management method according to another embodiment of the present invention;
图3是本发明另一实施例中的一种图片管理方法的流程示意图;3 is a schematic flow chart of a picture management method according to another embodiment of the present invention;
图4是本发明实施例中的一种图片管理装置的结构示意图;4 is a schematic structural diagram of a picture management apparatus according to an embodiment of the present invention;
图5是本发明实施例中的图片管理装置的图片信息获取模块的结构示意图;FIG. 5 is a schematic structural diagram of a picture information acquiring module of a picture management apparatus according to an embodiment of the present invention; FIG.
图6是本发明实施例中的图片管理方法的分类显示界面效果示意图。FIG. 6 is a schematic diagram of the effect of the classified display interface of the picture management method in the embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中提及的图片管理方法和装置可以实现在手机、平板电脑、车载终端或电子阅读器等移动终端中,或由与上述移动终端建立数据连接的管理设备实现对移动终端中的图片进行管理,所述管理设备可以如个人电脑、笔记本电脑、平板电脑等。The picture management method and apparatus mentioned in the embodiments of the present invention may be implemented in a mobile terminal such as a mobile phone, a tablet computer, an in-vehicle terminal, or an e-reader, or implemented by a management device that establishes a data connection with the mobile terminal. The picture is managed, and the management device can be, for example, a personal computer, a notebook computer, a tablet computer, or the like.
图1是本发明实施例提供的一种图片管理方法的流程示意图,本实施例以图片管理装置作为执行主体阐述方案的实现过程,可以在移动终端中独立实现或实现在与移动终端建立数据连接的管理设备中,如图所示本实施例中的图片管理方法流程可以包括:1 is a schematic flowchart of a picture management method according to an embodiment of the present invention. In this embodiment, a picture management device is used as an implementation process of an execution subject, and the data connection may be independently implemented or implemented in a mobile terminal. In the management device, the process of the picture management method in this embodiment may include:
S101,获取至少一个目标图片的图片信息。S101. Acquire image information of at least one target picture.
具体的,本发明实施例中的图片管理装置可以对移动终端指定存储区域进行文件扫描,从而获取至少一个目标图片的图片信息。所述指定存储区域可以为移动终端的所有存储空间,或移动终端中的SD存储卡(Secure Digital Card)中的存储区域,或用户指定的目标数据区域,例如SD卡中的app/目录下的存储区域。可以将在所述指定存储区域中扫描得到的所有图片作为所述目标图片,所述图片信息可以包括所述目标图片的存储路径信息、应用标识或图片名称,还可以包括目标图片的大小、生成日期、略缩图等,在可选实施例中,图片管理装置可以将获取到的图片信息进行过滤,仅得到可以用以判断所述目标图片对应的应用程序的图片信息,例如忽略目标图片的大小和生成日期,仅获取目标图片的存储路径信息、应用标识或图片名称。Specifically, the picture management apparatus in the embodiment of the present invention may perform file scanning on the designated storage area of the mobile terminal, thereby acquiring picture information of at least one target picture. The designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card (Secure Digital Card) in the mobile terminal, or a target data area specified by the user, for example, in an app/ directory in the SD card. Storage area. All the pictures scanned in the specified storage area may be used as the target picture, and the picture information may include storage path information, an application identifier or a picture name of the target picture, and may also include a size and generation of the target picture. In an alternative embodiment, the image management device may filter the acquired image information to obtain only image information that can be used to determine the application corresponding to the target image, for example, ignoring the target image. Size and generation date, only get the storage path information, application ID or picture name of the target image.
S102,根据所述图片信息判断所述目标图片对应的应用程序或应用程序类别。S102. Determine, according to the picture information, an application or an application category corresponding to the target picture.
具体的,图片管理装置可以根据目标图片的图片信息判断其对应的应用程序,例如判断图片1对应的应用程序是微信(一种即时通讯工具),图片2对应的应用程序是新浪微博、图片3对应的应用程序是百度魔拍;进而也可以根据预先对应用程序进行的分类,判断目标图片对应的应用程序类别,例如预先将微信、QQ、MSN归总为即时通讯类,将腾讯微博、新浪微博、QQ空间归总为SNS(Social Networking Services,社会性网络服务)类, 将美图秀秀、百度魔拍等归总为图片处理工具类,从而可以得到目标图片对应的应用程序类别。具体实现中,图片管理装置可以根据所述目标图片的存储路径信息、应用标识或图片名称判断所述目标图片对应的应用程序,具体的可以在图片管理装置中预先设置应用程序app(Application)及其对应保存图片的路径信息,如微信app(一种即时通讯工具)的保存图片路径可以为MM\IMAGE\,若当前获取到的目标图片的路径为E\MM\IMAGE\11.jpg,则可以判断该目标图片对应的应用程序为微信,又如目标图片的路径为D\Pictures\Screenshots\11.jpg,则可以判断该目标图片对应的应用程序为屏幕截图工具,若根据目标图片的路径无法直接识别其所属的app,则可以根据其路径找到该路径下的可执行app从而判断该app为所述目标图片对应的应用程序,或直接将其归为“其他”类别。在其他可选实施例中,也可以根据目标图片的名称或其携带的应用标识从而判断其对应的应用程序,例如预先设置应用程序在保存图片时为其保存的图片以特定的命名规则进行命名,如屏幕截图工具保存的图片统一为Screenshots****.jpg,则可以根据判断目标图片的名称中是否携带“Screenshots”从而判断该目标图片对应的应用程序是否为屏幕截图工具;又例如应用程序在保存图片时自动为其保存的图片添加一个应用标识,图片管理装置在获取目标图片的图片信息时同时可以获取到该应用标识,则可以根据该应用标识判断目标图片所对应的应用程序。Specifically, the picture management device may determine, according to the picture information of the target picture, the corresponding application, for example, determining that the application corresponding to the picture 1 is WeChat (an instant messaging tool), and the application corresponding to the picture 2 is Sina Weibo and the picture. 3 The corresponding application is Baidu Magic Shooter; in turn, it can also determine the application category corresponding to the target image according to the classification of the application in advance, for example, the WeChat, QQ, and MSN are collectively classified into instant messaging, and Tencent Weibo will be , Sina Weibo, QQ space is generally SNS (Social Networking Services), The Meitu Xiuxiu show, Baidu magic shoot, etc. are all grouped into image processing tools, so that the application category corresponding to the target image can be obtained. In a specific implementation, the image management device may determine, according to the storage path information, the application identifier, or the image name of the target image, an application corresponding to the target image, and specifically, an application app (Application) may be preset in the image management device. The path information corresponding to the saved image, such as the WeChat app (an instant messaging tool), can save the image path as MM\IMAGE\, if the path of the currently acquired target image is E\MM\IMAGE\11.jpg, then It can be determined that the application corresponding to the target image is WeChat, and if the path of the target image is D\Pictures\Screenshots\11.jpg, the application corresponding to the target image can be determined as a screenshot tool, according to the path of the target image. If the app to which it belongs cannot be directly identified, the executable app under the path can be found according to its path to determine whether the app is an application corresponding to the target image, or directly classified as an "other" category. In other optional embodiments, the corresponding application may be determined according to the name of the target image or the application identifier carried by the target image, for example, the preset application naming the image saved by the application when saving the image with a specific naming rule. If the picture saved by the screenshot tool is unified as Screenshots****.jpg, it can be judged whether the application corresponding to the target picture is a screenshot tool according to whether the name of the target picture carries "Screenshots"; The program automatically adds an application identifier to the saved image when the image is saved. The image management device can obtain the application identifier when acquiring the image information of the target image, and then the application corresponding to the target image can be determined according to the application identifier.
S103,根据所述图片对应的应用程序或应用程序类别对所述目标图片进行分类。S103. Sort the target picture according to an application or an application category corresponding to the picture.
具体的,图片管理装置在进行图片管理时,可以将目标图片根据其所对应的应用程序或应用程序类别进行分类,进而还可以计算同一应用程序或应用程序类别对应的目标图片数量。Specifically, when performing image management, the image management device may classify the target image according to the corresponding application or application category, and further calculate the number of target images corresponding to the same application or application category.
S104,将分类后的所述目标图片显示在用户界面上。S104. Display the classified target picture on the user interface.
具体的,图片管理装置可以将存在其对应的目标图片的应用程序以分类列表形式展示,当获取用户在该分类列表中选择的应用程序或应用程序类别时可以显示对应的目标图片,进而还可以在展示所述根据应用程序进行划分的分类列表时显示同一应用程序对应的目标图片数量。Specifically, the image management device may display the application that has the corresponding target image in a classified list, and may display the corresponding target image when acquiring the application or the application category selected by the user in the classified list, and further The number of target pictures corresponding to the same application is displayed when the classified list divided according to the application is displayed.
图2是本发明另一实施例中的一种图片管理方法的流程示意图,本实施例以在包括个人电脑在内的管理设备端中的图片管理装置的实现对移动终端中的图片进行分类管理为具体实例介绍本发明的实现过程,如图所示本实施例中的图片管理方法流程可以包括:2 is a schematic flowchart of a picture management method according to another embodiment of the present invention. In this embodiment, a picture management device in a management device including a personal computer is used to classify and manage pictures in a mobile terminal. The implementation process of the present invention is introduced for a specific example. The process of the picture management method in this embodiment may include:
S201,与移动终端建立连接。S201. Establish a connection with the mobile terminal.
具体的,管理设备端可以通过数据线或无线局域网与移动终端建立数据连接。Specifically, the management device end can establish a data connection with the mobile terminal through a data line or a wireless local area network.
S202,获取移动终端存储空间中至少一个目标图片的图片信息。S202. Acquire image information of at least one target picture in a storage space of the mobile terminal.
具体的,在与移动终端建立连接后,图片管理装置可以对移动终端指定存储区域进行 文件扫描,从而获取至少一个目标图片的图片信息。所述指定存储区域可以为移动终端的所有存储空间,或移动终端中的SD存储卡中的存储区域,或用户指定的目标数据区域,例如SD卡中的app/目录下的存储区域。图片管理装置可以将在所述指定存储区域中扫描得到的所有图片作为所述目标图片,所述图片信息可以包括所述目标图片的名称、大小、生成日期、路径信息等,还可以包括目标图片的预览略缩图。在可选实施例中,图片管理装置可以将获取到的图片信息进行过滤,仅得到可以用以判断所述目标图片对应的应用程序的图片信息,例如忽略目标图片的大小和生成日期,仅获取目标图片的路径信息。在可选实施例中,图片管理装置也可以通过向移动终端发送图片信息查询指令,从而使得移动终端将自身指定存储区域内的图片信息发送给图片管理装置。Specifically, after establishing a connection with the mobile terminal, the picture management device may perform the storage area specified by the mobile terminal. File scanning to obtain image information of at least one target image. The designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card in the mobile terminal, or a target data area specified by the user, such as a storage area under the app/ directory in the SD card. The picture management apparatus may use, as the target picture, all the pictures scanned in the specified storage area, where the picture information may include a name, a size, a generation date, a path information, and the like of the target picture, and may also include a target picture. Preview thumbnail. In an optional embodiment, the image management device may filter the acquired image information, and only obtain image information that can be used to determine an application corresponding to the target image, for example, ignoring the size and date of generation of the target image, and acquiring only The path information of the target image. In an optional embodiment, the picture management apparatus may also send the picture information query instruction to the mobile terminal, so that the mobile terminal sends the picture information in the specified storage area to the picture management apparatus.
S203,根据所述图片信息判断所述目标图片对应的应用程序。S203. Determine, according to the picture information, an application corresponding to the target picture.
例如可以根据所述目标图片的路径信息判断所述目标图片对应的应用程序,具体的可以在图片管理装置中预先设置应用程序app(Application)及其对应保存图片的路径信息,如微信app(一种即时通讯工具)的保存图片路径可以为MM\IMAGE\,若当前获取到的目标图片的路径为E\MM\IMAGE\11.jpg,则可以判断该目标图片对应的应用程序为微信(一种即时通讯工具),又如目标图片的路径为D\Pictures\Screenshots\11.jpg,则可以判断该目标图片对应的应用程序为屏幕截图工具,若根据目标图片的路径无法直接识别其所属的app,则可以根据其路径找到该路径下的可执行app从而判断该app为所述目标图片对应的应用程序,或直接将其归为“其他”类别。在其他可选实施例中,也可以根据目标图片的名称或其携带的应用标识从而判断其对应的应用程序,例如预先设置应用程序在保存图片时为其保存的图片以特定的命名规则进行命名,如屏幕截图工具保存的图片统一为Screenshots****.jpg,则可以根据判断目标图片的名称中是否携带“Screenshots”从而判断该目标图片对应的应用程序是否为屏幕截图工具;又例如应用程序在保存图片时自动为其保存的图片添加一个应用标识,图片管理装置在获取目标图片的图片信息时同时可以获取到该应用标识,则可以根据该应用标识判断目标图片所对应的应用程序。For example, the application corresponding to the target image may be determined according to the path information of the target image. Specifically, the application app (Application) and the path information corresponding to the saved image, such as WeChat app, may be preset in the image management device. The image path of the instant messaging tool can be MM\IMAGE\. If the path of the currently acquired target image is E\MM\IMAGE\11.jpg, it can be determined that the application corresponding to the target image is WeChat (a An instant messaging tool, and if the path of the target image is D\Pictures\Screenshots\11.jpg, it can be determined that the application corresponding to the target image is a screenshot tool, and if the path of the target image cannot directly identify the corresponding image The app can find an executable app under the path according to its path to determine whether the app is an application corresponding to the target image, or directly classify it as an "other" category. In other optional embodiments, the corresponding application may be determined according to the name of the target image or the application identifier carried by the target image, for example, the preset application naming the image saved by the application when saving the image with a specific naming rule. If the picture saved by the screenshot tool is unified as Screenshots****.jpg, it can be judged whether the application corresponding to the target picture is a screenshot tool according to whether the name of the target picture carries "Screenshots"; The program automatically adds an application identifier to the saved image when the image is saved. The image management device can obtain the application identifier when acquiring the image information of the target image, and then the application corresponding to the target image can be determined according to the application identifier.
S204,根据所述图片对应的应用程序对所述目标图片进行分类。S204. Sort the target picture according to an application corresponding to the picture.
具体的,图片管理装置在进行图片管理时,可以将目标图片根据其所对应的应用程序进行分类,图片管理装置可以将移动终端中存在对应的目标图片的应用程序以分类列表形式进行展示,例如图6所示的分类显示界面效果示意图中的分类列表包括“相机”、“屏幕截图”、“微信”、“百度魔图”、“新浪微博”、“QQ空间”以及“其他图片”。进而可选的,图片管理装置可以对分类列表中的应用程序对应的目标图片数量进行统计,例如参考图6中所示的分类显示效果示意图,可以在分类列表中的应用程序名称右侧进行显示,从而可以清楚的显示移动终端中的图片基于应用程序的分布情况。 Specifically, when the picture management device performs picture management, the target picture may be classified according to the corresponding application program, and the picture management device may display the application that has the corresponding target picture in the mobile terminal in a classified list, for example, The classification list in the classification display interface effect diagram shown in FIG. 6 includes “camera”, “screen shot”, “WeChat”, “Baidu Magic Map”, “Sina Weibo”, “QQ Space” and “Other Pictures”. Optionally, the image management device may perform statistics on the number of target images corresponding to the application in the category list, for example, refer to the schematic display effect diagram shown in FIG. 6, and may display the right side of the application name in the category list. Therefore, it is possible to clearly display the distribution of pictures in the mobile terminal based on the application.
S205,根据用户选择的应用程序显示该应用程序对应的目标图片。S205. Display a target picture corresponding to the application according to an application selected by the user.
具体的,在接收到用户在分类列表中选择的应用程序时,图片管理装置可以在如图6所示的分类显示界面的右侧界面中显示被选择的应用程序对应的目标图片,可选的可以根据S202中获取到的图片信息显示目标图片的预览略缩图,也可以根据S201中与移动终端建立的数据连接从移动终端提取对应的目标图片从而进行显示。Specifically, when receiving the application selected by the user in the category list, the image management apparatus may display the target image corresponding to the selected application in the right interface of the classified display interface as shown in FIG. The preview thumbnail of the target image may be displayed according to the picture information acquired in S202, or the corresponding target picture may be extracted from the mobile terminal according to the data connection established in S201 to perform display.
图3是本发明另一实施例中的一种图片管理方法的流程示意图,本实施例以在包括个人电脑在内的管理设备端中的图片管理装置的实现对移动终端中的图片进行分类管理为具体实例介绍本发明的实现过程,如图所示本实施例中的图片管理方法流程可以包括:3 is a schematic flowchart of a picture management method according to another embodiment of the present invention. In this embodiment, a picture management device in a management device including a personal computer is used to classify and manage pictures in a mobile terminal. The implementation process of the present invention is introduced for a specific example. The process of the picture management method in this embodiment may include:
S301,与移动终端建立连接。S301. Establish a connection with the mobile terminal.
S302,获取移动终端存储空间中至少一个目标图片的图片信息。上述两个步骤与前一实施例中的S201和S202相类似,本实施例中不再赘述。S302. Acquire image information of at least one target picture in a storage space of the mobile terminal. The above two steps are similar to those of S201 and S202 in the previous embodiment, and are not described in detail in this embodiment.
S303,根据所述图片信息判断所述目标图片对应的应用程序类别。S303. Determine, according to the picture information, an application category corresponding to the target picture.
具体的,图片管理装置可以根据预先对应用程序进行的分类,判断目标图片对应的应用程序类别。例如预先将微信、QQ、MSN归总为即时通讯类,将腾讯微博、新浪微博、QQ空间归总为SNS(Social Networking Services,社会性网络服务)类,将美图秀秀、百度魔拍等归总为图片处理工具类,进而在获取到目标图片的图片信息后,根据所述图片信息判断所述目标图片对应的应用程序,结合该应用程序所属类别即可得到目标图片对应的应用程序类别。具体如何根据目标图片的图片信息判断其对应的应用程序在前文已详细介绍,本实施例中不再赘述。Specifically, the picture management apparatus can determine the application type corresponding to the target picture according to the classification of the application in advance. For example, WeChat, QQ, and MSN are grouped into instant messaging, and Tencent Weibo, Sina Weibo, and QQ space are all grouped into SNS (Social Networking Services), which will be Mito Xiuxiu and Baidu. The image processing tool class is generally taken, and after the image information of the target image is acquired, the application corresponding to the target image is determined according to the image information, and the application corresponding to the target image can be obtained by combining the category of the application. Program category. Specifically, how to determine the corresponding application according to the picture information of the target picture has been described in detail in the foregoing, and details are not described in this embodiment.
S304,根据所述图片对应的应用程序类别对所述目标图片进行分类。S304. Sort the target picture according to an application category corresponding to the picture.
具体的,图片管理装置在进行图片管理时,可以将目标图片根据其所对应的应用程序类别进行分类,图片管理装置可以将移动终端中存在对应的目标图片的应用程序类型以列表形式进行展示,例如应用程序类型列表包括“即时通讯”、“SNS”、“图片处理工具”以及“其他”。进而可选的,图片管理装置可以对分类列表中的应用程序对应的目标图片数量进行统计,从而可以清楚的显示移动终端中的图片基于应用程序类别的分布情况。Specifically, the image management device may classify the target image according to the application category corresponding to the image management device, and the image management device may display the application type of the corresponding target image in the mobile terminal in a list form. For example, the list of application types includes "instant messaging", "SNS", "image processing tool", and "other". Optionally, the picture management device can perform statistics on the number of target pictures corresponding to the application in the classified list, so that the distribution of the pictures in the mobile terminal based on the application category can be clearly displayed.
S305,根据用户选择的应用程序类别显示对应的目标图片。S305. Display a corresponding target picture according to an application category selected by the user.
具体的,在接收到用户在应用程序类型列表中选择的应用程序类型时,图片管理装置可以对应显示被选择的应用程序类型对应的目标图片,可选的可以根据S302中获取到的图片信息显示目标图片的预览略缩图,也可以根据S301中与移动终端建立的数据连接从移动终端提取对应的目标图片从而进行显示。Specifically, when receiving the application type selected by the user in the application type list, the image management apparatus may display the target image corresponding to the selected application type, and may optionally display the image information obtained according to S302. A thumbnail thumbnail of the target picture may be extracted from the mobile terminal according to the data connection established with the mobile terminal in S301 for display.
图4是本发明实施例中的一种图片管理装置的结构示意图,本发明实施例中的图片管理装置可以实现在手机、平板电脑、车载终端或电子阅读器等移动终端中,或在与上述移 动终端建立数据连接的管理设备中实现。如图所示本发明实施例中的图片管理装置至少可以包括:4 is a schematic structural diagram of a picture management apparatus according to an embodiment of the present invention. The picture management apparatus in the embodiment of the present invention may be implemented in a mobile terminal such as a mobile phone, a tablet computer, an in-vehicle terminal, or an e-reader, or Move The mobile terminal establishes a management device for establishing a data connection. The picture management apparatus in the embodiment of the present invention may include at least:
图片信息获取模块410,用于获取至少一个目标图片的图片信息。The picture information obtaining module 410 is configured to acquire picture information of at least one target picture.
具体实现中,图片信息获取模块410可以通过对移动终端指定存储区域进行文件扫描,从而获取至少一个目标图片的图片信息。所述指定存储区域可以为移动终端的所有存储空间,或移动终端中的SD存储卡(Secure Digital Card)中的存储区域,或用户指定的目标数据区域,例如SD卡中的app/目录下的存储区域。图片信息获取模块410可以将在所述指定存储区域中扫描得到的所有图片作为所述目标图片,所述图片信息可以包括所述目标图片的存储路径信息、应用标识或图片名称,还可以包括目标图片的大小、生成日期、略缩图等,在可选实施例中,图片信息获取模块410可以将获取到的图片信息进行过滤,仅得到可以用以判断所述目标图片对应的应用程序的图片信息,例如忽略目标图片的大小和生成日期,仅获取目标图片的存储路径信息、应用标识或图片名称。进而在图片管理装置实现于与移动终端建立数据连接的管理设备的实施例中,图片信息获取模块410可以如图5所示进一步包括:In a specific implementation, the picture information obtaining module 410 may perform file scanning on the specified storage area of the mobile terminal, thereby acquiring picture information of at least one target picture. The designated storage area may be all storage space of the mobile terminal, or a storage area in an SD memory card (Secure Digital Card) in the mobile terminal, or a target data area specified by the user, for example, in an app/ directory in the SD card. Storage area. The picture information obtaining module 410 may use, as the target picture, all the pictures scanned in the specified storage area, where the picture information may include storage path information, an application identifier or a picture name of the target picture, and may also include a target. The size of the image, the date of creation, the thumbnail, and the like. In an alternative embodiment, the image information obtaining module 410 may filter the obtained image information, and only obtain a picture that can be used to determine the application corresponding to the target image. Information, such as ignoring the size and date of generation of the target image, only the storage path information, application identifier or picture name of the target image. The image information obtaining module 410 may further include: as shown in FIG. 5, the image management device is implemented in the embodiment of the management device that establishes a data connection with the mobile terminal.
数据连接单元411,用于与移动终端建立连接。具体的,数据连接单元411可以通过数据线或无线局域网与移动终端建立数据连接。The data connection unit 411 is configured to establish a connection with the mobile terminal. Specifically, the data connection unit 411 can establish a data connection with the mobile terminal through a data line or a wireless local area network.
图片信息获取单元412,用于获取移动终端存储空间中至少一个目标图片的图片信息。具体的,图片信息获取单元412可以通过数据连接单元411建立得到的数据连接对移动终端指定存储区域进行文件扫描,从而获取至少一个目标图片的图片信息。在可选实施例中,图片信息获取单元412也可以通过向移动终端发送图片信息查询指令,从而获取移动终端根据所述查询指令返回的指定存储区域内的图片信息。The picture information obtaining unit 412 is configured to acquire picture information of at least one target picture in the storage space of the mobile terminal. Specifically, the picture information obtaining unit 412 can perform file scanning on the specified storage area of the mobile terminal by using the data connection established by the data connection unit 411, thereby acquiring picture information of at least one target picture. In an optional embodiment, the picture information obtaining unit 412 may also obtain the picture information query instruction in the mobile terminal, so as to obtain the picture information in the specified storage area returned by the mobile terminal according to the query instruction.
应用程序判断模块420,用于根据所述图片信息获取所述图片对应的应用程序或应用程序类别。The application determining module 420 is configured to obtain an application or an application category corresponding to the picture according to the picture information.
具体实现中,应用程序判断模块420可以根据目标图片的图片信息判断其对应的应用程序,例如判断图片1对应的应用程序是微信,图片2对应的应用程序是新浪微博、图片3对应的应用程序是百度魔拍;进而应用程序判断模块420也可以根据预先对应用程序进行的分类,判断目标图片对应的应用程序类别,例如预先将微信、QQ、MSN归总为即时通讯类,将腾讯微博、新浪微博、QQ空间归总为SNS(Social Networking Services,社会性网络服务)类,将美图秀秀、百度魔拍等归总为图片处理工具类,从而可以得到目标图片对应的应用程序类别。具体实现中,图片管理装置可以根据所述目标图片的存储路径信息、应用标识或图片名称判断所述目标图片对应的应用程序,具体的可以预先设置应用程序app(Application)及其对应保存图片的路径信息,如微信app(一种即时通讯工具)的 保存图片路径可以为MM\IMAGE\,若当前获取到的目标图片的路径为E\MM\IMAGE\11.jpg,则应用程序判断模块420可以判断该目标图片对应的应用程序为微信,又如目标图片的路径为D\Pictures\Screenshots\11.jpg,则应用程序判断模块420可以判断该目标图片对应的应用程序为屏幕截图工具,若根据目标图片的路径无法直接识别其所属的app,则应用程序判断模块420可以根据其路径找到该路径下的可执行app从而判断该app为所述目标图片对应的应用程序,或直接将其归为“其他”类别。在其他可选实施例中,应用程序判断模块420也可以根据目标图片的名称或其携带的应用标识从而判断其对应的应用程序,例如预先设置应用程序在保存图片时为其保存的图片以特定的命名规则进行命名,如屏幕截图工具保存的图片统一为Screenshots****.jpg,则应用程序判断模块420可以根据判断目标图片的名称中是否携带“Screenshots”从而判断该目标图片对应的应用程序是否为屏幕截图工具;又例如应用程序在保存图片时自动为其保存的图片添加一个应用标识,图片信息获取模块410在获取目标图片的图片信息时同时可以获取到该应用标识,则应用程序判断模块420可以根据该应用标识判断目标图片所对应的应用程序。In a specific implementation, the application determining module 420 may determine the corresponding application according to the picture information of the target picture, for example, determining that the application corresponding to the picture 1 is WeChat, and the application corresponding to the picture 2 is the application corresponding to Sina Weibo and Picture 3. The program is a Baidu magic beat; and then the application determining module 420 can also determine the application category corresponding to the target image according to the classification of the application in advance, for example, the WeChat, QQ, and MSN are collectively added to the instant messaging class, and the Tencent micro Bo, Sina Weibo, and QQ Space are all classified into SNS (Social Networking Services), which will be used as image processing tools for Meitu Xiuxiu and Baidu Magic Shooting, so that the application corresponding to the target image can be obtained. Program category. In a specific implementation, the image management device may determine, according to the storage path information, the application identifier, or the image name of the target image, an application corresponding to the target image, where the application app (Application) and its corresponding saved image may be preset in advance. Path information, such as WeChat app (an instant messaging tool) The save image path may be MM\IMAGE\. If the path of the currently acquired target image is E\MM\IMAGE\11.jpg, the application determining module 420 may determine that the application corresponding to the target image is WeChat, and If the path of the target image is D\Pictures\Screenshots\11.jpg, the application determining module 420 can determine that the application corresponding to the target image is a screenshot tool, and if the path of the target image cannot directly identify the app to which it belongs, The application determining module 420 can find an executable app under the path according to its path to determine that the app is an application corresponding to the target picture, or directly classify it as an "other" category. In other optional embodiments, the application determining module 420 may also determine the corresponding application according to the name of the target image or the application identifier carried by the target image, for example, preset the image saved by the application when saving the image to be specific. The naming rules are named. If the pictures saved by the screenshot tool are unified into Screenshots.jpg, the application determining module 420 can determine whether the target image corresponds to the application by determining whether the name of the target picture carries "Screenshots". Whether the program is a screenshot tool; for example, the application automatically adds an application identifier to the saved image when the image is saved, and the image information obtaining module 410 can obtain the application identifier when acquiring the image information of the target image, and the application The determining module 420 can determine, according to the application identifier, an application corresponding to the target image.
分类模块430,用于根据所述图片对应的应用程序或应用程序类别对所述图片进行分类。The classification module 430 is configured to classify the image according to an application or an application category corresponding to the picture.
具体实现中,分类模块430在进行图片管理时,可以将目标图片根据其所对应的应用程序或应用程序类别进行分类,,进而还可以计算同一应用程序或应用程序类别对应的目标图片数量。例如图6所示的分类显示界面效果示意图中的分类列表包括“相机”、“屏幕截图”、“微信”、“百度魔图”、“新浪微博”、“QQ空间”以及“其他图片”,或应用程序类型列表包括“即时通讯”、“SNS”、“图片处理工具”以及“其他”。进而可选的,图片管理装置可以对分类列表中的应用程序或应用程序类别对应的目标图片数量进行统计,例如参考图6中所示的分类显示效果示意图,可以在分类列表中的应用程序名称右侧进行显示,从而可以清楚的显示移动终端中的图片基于应用程序或应用程序类别的分布情况。In a specific implementation, when the image management is performed, the classification module 430 may classify the target image according to the corresponding application or application category, and further calculate the number of target images corresponding to the same application or application category. For example, the classification list in the classification display interface effect diagram shown in FIG. 6 includes “camera”, “screen shot”, “WeChat”, “Baidu magic map”, “Sina Weibo”, “QQ space” and “other pictures”. , or a list of application types including "Instant Messaging," "SNS," "Image Processing Tools," and "Other." Optionally, the image management apparatus may perform statistics on the number of target images corresponding to the application or the application category in the classification list, for example, refer to the classification display effect diagram shown in FIG. 6, and the application name in the classification list. Displayed on the right side, so that the distribution of pictures in the mobile terminal based on the application or application category can be clearly displayed.
分类显示模块440,用于将分类后的所述目标图片显示在用户界面上。The classification display module 440 is configured to display the classified target picture on the user interface.
具体实现中,例如图6所示,分类显示模块440可以将移动终端中存在其对应的目标图片的应用程序或应用程序类别以列表形式展示,在图6所示的界面右侧显示与同一应用程序或应用程序类别对应的目标图片。进而在接收到用户在分类列表中选择的应用程序时,分类显示模块440可以在如图6所示的分类显示界面的右侧界面中显示被选择的应用程序或应用程序类别对应的目标图片,可选的可以根据图片信息获取模块410获取到的图片信息显示目标图片的预览略缩图,也可以根据数据连接单元411建立的与移动终端之间的数据连接从移动终端提取对应的目标图片从而进行显示。In a specific implementation, for example, as shown in FIG. 6 , the category display module 440 may display an application or an application category in the mobile terminal with a corresponding target picture in a list form, and display the same application on the right side of the interface shown in FIG. 6 . The target image corresponding to the program or application category. Further, when receiving the application selected by the user in the category list, the category display module 440 may display the target image corresponding to the selected application or the application category in the right interface of the category display interface as shown in FIG. 6 . Optionally, the preview thumbnail of the target image may be displayed according to the picture information acquired by the picture information obtaining module 410, or the corresponding target picture may be extracted from the mobile terminal according to the data connection established with the mobile terminal by the data connection unit 411. Display.
本发明实施例还提供了一种移动终端,包括前文结合图4所描述图片管理装置。 The embodiment of the invention further provides a mobile terminal, which comprises the picture management device described above in connection with FIG. 4.
本发明实施例还提供了一种可读存储介质,用于存储计算机程序,所述计算机程序在运行时用于执行本发明上述实施例所公开的图片管理方法。The embodiment of the present invention further provides a readable storage medium for storing a computer program, which is used to execute the picture management method disclosed in the above embodiment of the present invention.
本发明实施例通过根据目标图片的图片信息判断目标图片对应的应用程序或应用程序类别,从而实现根据应用程序对目标图片进行分类,使得用户能够更为方便快捷的对移动终端中的图片进行管理。The embodiment of the present invention determines the application program or the application category corresponding to the target image according to the picture information of the target picture, so as to classify the target picture according to the application program, so that the user can manage the picture in the mobile terminal more conveniently and quickly. .
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (10)

  1. 一种图片管理方法,其特征在于,所述图片管理方法包括:A picture management method, characterized in that the picture management method comprises:
    获取至少一个目标图片的图片信息;Obtaining picture information of at least one target picture;
    根据所述图片信息判断所述目标图片对应的应用程序或应用程序类别;Determining, according to the picture information, an application or an application category corresponding to the target picture;
    根据所述目标图片对应的应用程序或应用程序类别对所述目标图片进行分类;Sorting the target picture according to an application or an application category corresponding to the target picture;
    将分类后的所述目标图片显示在用户界面上。The classified target picture is displayed on the user interface.
  2. 如权利要求1所述的图片管理方法,其特征在于,所述图片信息包括:所述目标图片的存储路径信息、应用标识或图片名称。The picture management method according to claim 1, wherein the picture information comprises: storage path information, an application identifier or a picture name of the target picture.
  3. 如权利要求1或2所述的图片管理方法,其特征在于,所述将分类后的所述目标图片显示在用户界面上,包括:The picture management method according to claim 1 or 2, wherein the displaying the classified target picture on the user interface comprises:
    根据用户选择的应用程序或应用程序类别在用户界面上显示对应的目标图片。The corresponding target image is displayed on the user interface according to the application or application category selected by the user.
  4. 如权利要求1~3中任一项所述的图片管理方法,其特征在于,所述获取至少一个目标图片的图片信息包括:The picture management method according to any one of claims 1 to 3, wherein the acquiring the picture information of the at least one target picture comprises:
    与移动终端建立连接;Establish a connection with the mobile terminal;
    获取所述移动终端存储空间中至少一个目标图片的图片信息。Obtaining picture information of at least one target picture in the storage space of the mobile terminal.
  5. 一种图片管理装置,其特征在于,所述图片管理装置包括:A picture management device, wherein the picture management device comprises:
    图片信息获取模块,用于获取至少一个目标图片的图片信息;a picture information obtaining module, configured to acquire picture information of at least one target picture;
    应用程序判断模块,用于根据所述图片信息获取所述目标图片对应的应用程序或应用程序类别;An application determining module, configured to acquire an application or an application category corresponding to the target image according to the picture information;
    分类模块,用于根据所述目标图片对应的应用程序或应用程序类别对所述图片进行分类;a classification module, configured to classify the image according to an application or an application category corresponding to the target image;
    分类显示模块,用于将分类后的所述目标图片显示在用户界面上。The classification display module is configured to display the classified target image on the user interface.
  6. 如权利要求5所述的图片管理装置,其特征在于,所述图片信息包括所述目标图片的存储路径信息、应用标识或图片名称。The picture management apparatus according to claim 5, wherein the picture information comprises storage path information, an application identifier or a picture name of the target picture.
  7. 如权利要求5或6所述的图片管理装置,其特征在于,所述分类显示模块用于:The picture management device according to claim 5 or 6, wherein the classification display module is configured to:
    根据用户选择的应用程序或应用程序类别在用户界面上显示对应的目标图片。The corresponding target image is displayed on the user interface according to the application or application category selected by the user.
  8. 如权利要求5~7中任一项所述的图片管理装置,其特征在于,所述图片信息获取模块包括:The picture management device according to any one of claims 5 to 7, wherein the picture information acquisition module comprises:
    数据连接单元,用于与移动终端建立连接;a data connection unit, configured to establish a connection with the mobile terminal;
    图片信息获取单元,用于获取所述移动终端存储空间中至少一个目标图片的图片信息。And a picture information obtaining unit, configured to acquire picture information of at least one target picture in the storage space of the mobile terminal.
  9. 一种移动终端,其特征在于,所述移动终端包括如权利要求5~7中任一项所述的图片管理装置。 A mobile terminal, characterized in that the mobile terminal comprises the picture management device according to any one of claims 5 to 7.
  10. 一种可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序在运行时用于执行以下步骤:A readable storage medium for storing a computer program for performing the following steps at runtime:
    获取至少一个目标图片的图片信息;Obtaining picture information of at least one target picture;
    根据所述图片信息判断所述目标图片对应的应用程序或应用程序类别;Determining, according to the picture information, an application or an application category corresponding to the target picture;
    根据所述目标图片对应的应用程序或应用程序类别对所述目标图片进行分类;Sorting the target picture according to an application or an application category corresponding to the target picture;
    将分类后的所述目标图片显示在用户界面上。 The classified target picture is displayed on the user interface.
PCT/CN2014/087617 2013-09-27 2014-09-26 Picture management method and device WO2015043512A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310451161.8A CN103530114B (en) 2013-09-27 2013-09-27 Picture managing method and device
CN201310451161.8 2013-09-27

Publications (1)

Publication Number Publication Date
WO2015043512A1 true WO2015043512A1 (en) 2015-04-02

Family

ID=49932154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087617 WO2015043512A1 (en) 2013-09-27 2014-09-26 Picture management method and device

Country Status (2)

Country Link
CN (1) CN103530114B (en)
WO (1) WO2015043512A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530114B (en) * 2013-09-27 2017-01-18 贝壳网际(北京)安全技术有限公司 Picture managing method and device
CN104216945A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 4K picture management platform, information management method and downloading management method
CN104636445B (en) * 2015-01-16 2019-05-24 白天 The processing and division operation method and device thereof of screenshotss image
CN105989158A (en) * 2015-03-03 2016-10-05 阿里巴巴集团控股有限公司 Screenshot distinguishing method and equipment
CN104834687B (en) * 2015-04-17 2019-04-30 深圳市金立通信设备有限公司 A kind of image display method
CN106156252B (en) * 2015-04-28 2020-01-31 联想(北京)有限公司 information processing method and electronic equipment
CN104967784B (en) * 2015-07-02 2017-11-21 广东欧珀移动通信有限公司 Mobile terminal calls the method and mobile terminal of the substrate features pattern of camera function
CN105183829A (en) * 2015-08-28 2015-12-23 北京金山安全软件有限公司 Picture classification method and device
CN106527879A (en) * 2015-09-14 2017-03-22 阿里巴巴集团控股有限公司 Data object retrieval method and equipment
CN105069176B (en) * 2015-09-24 2019-06-28 北京金山安全软件有限公司 Picture processing method and device and server
CN105608189B (en) * 2015-12-23 2019-10-11 北京金山安全软件有限公司 Picture classification method and device and electronic equipment
CN105740454A (en) * 2016-02-04 2016-07-06 北京金山安全软件有限公司 Display method and device of picture folder and electronic equipment
CN105808674A (en) * 2016-03-01 2016-07-27 北京金山安全软件有限公司 Picture display method and device and electronic equipment
CN106547881A (en) * 2016-10-26 2017-03-29 广州三星通信技术研究有限公司 The method and apparatus for managing picture in the electronic device
CN117032527A (en) 2019-11-04 2023-11-10 华为终端有限公司 Picture selection method and electronic equipment
CN111738354A (en) * 2020-07-20 2020-10-02 深圳市天和荣科技有限公司 Automatic recognition training method, system, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294793A (en) * 2013-05-23 2013-09-11 上海斐讯数据通信技术有限公司 File management method and mobile terminal
CN103312730A (en) * 2012-03-07 2013-09-18 腾讯科技(深圳)有限公司 Picture storage method, server, terminal and picture storage system
CN103530114A (en) * 2013-09-27 2014-01-22 贝壳网际(北京)安全技术有限公司 Picture managing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390059B (en) * 2013-07-29 2016-08-10 广东欧珀移动通信有限公司 The method and system that a kind of picture induction processes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312730A (en) * 2012-03-07 2013-09-18 腾讯科技(深圳)有限公司 Picture storage method, server, terminal and picture storage system
CN103294793A (en) * 2013-05-23 2013-09-11 上海斐讯数据通信技术有限公司 File management method and mobile terminal
CN103530114A (en) * 2013-09-27 2014-01-22 贝壳网际(北京)安全技术有限公司 Picture managing method and device

Also Published As

Publication number Publication date
CN103530114A (en) 2014-01-22
CN103530114B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
WO2015043512A1 (en) Picture management method and device
KR102170238B1 (en) Customized user-controlled media overlays
WO2018010512A1 (en) Method and device for uploading phtograph file
US20150026209A1 (en) Method And Terminal For Associating Information
CN110709807B (en) Method and system for voice-driven dynamic menu
US11140045B2 (en) Changelog transformation and correlation in a multi-tenant cloud service
RU2703956C1 (en) Method of managing multimedia files, an electronic device and a graphical user interface
US10055557B2 (en) User device and operating method thereof
US11675831B2 (en) Geolocation based playlists
TW201433930A (en) File tracking methods and network communication devices using the same
CN110800013A (en) System and method for selecting content for high speed users
US11637924B2 (en) Setting shared ringtone for calls between users
US20160205183A1 (en) Method and aparatus for backing up data and electronic device
US11621938B2 (en) Message deletion policy selection
WO2016127796A1 (en) Information interaction method and server
WO2022206476A1 (en) Watermark processing method and apparatus, electronic device, and storage medium
WO2015039517A1 (en) Multimedia file search method, apparatus, and terminal device
CN106406755A (en) Application file storage method and terminal
WO2015110060A1 (en) Filter realization method and apparatus of camera application
CN108093177B (en) Image acquisition method and device, storage medium and electronic equipment
US20220217102A1 (en) Bulk message deletion
CN109697129A (en) A kind of information sharing method, equipment and computer readable storage medium
US9113135B2 (en) Image advocacy in portable computing devices
CN105204718B (en) Information processing method and electronic equipment
US11297052B1 (en) Password protecting selected message content

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

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 26.07.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14848538

Country of ref document: EP

Kind code of ref document: A1