Movatterモバイル変換


[0]ホーム

URL:


CN107832420A - photo management method and mobile terminal - Google Patents

photo management method and mobile terminal
Download PDF

Info

Publication number
CN107832420A
CN107832420ACN201711103027.3ACN201711103027ACN107832420ACN 107832420 ACN107832420 ACN 107832420ACN 201711103027 ACN201711103027 ACN 201711103027ACN 107832420 ACN107832420 ACN 107832420A
Authority
CN
China
Prior art keywords
person
album
photo
age
main
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.)
Pending
Application number
CN201711103027.3A
Other languages
Chinese (zh)
Inventor
邓丽娜
叶玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201711103027.3ApriorityCriticalpatent/CN107832420A/en
Publication of CN107832420ApublicationCriticalpatent/CN107832420A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种照片管理方法及移动终端,该方法包括:在获取人物相册后,判断该人物相册是否为特定人群的相册,若是,则执行下述至少一项处理,得到处理结果:获取该人物相册中的主要人物的出生日期,计算该人物相册中照片上的该主要人物的实际年龄;以及,提取该人物相册中照片上的该主要人物的面部表情;根据该处理结果,对该人物相册中的照片进行分类。由此可见,本发明技术方案可以按照人物的年龄和/或面部表情管理人物相册中的照片,由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和/或面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。

The invention discloses a photo management method and a mobile terminal. The method includes: after acquiring a photo album of a person, judging whether the photo album of a person is an album of a specific group of people, and if so, performing at least one of the following processes to obtain a processing result: Based on the date of birth of the main person in the photo album of the person, calculate the actual age of the main person in the photo in the photo album of the person; and extract the facial expression of the main person in the photo in the photo album of the person; Categorize the photos in the people album. It can be seen that the technical solution of the present invention can manage the photos in the person's album according to the age and/or facial expression of the person. Since the age and facial expression of the person can reflect the change of the appearance and mood of the person in a certain stage to a certain extent, Therefore, managing the photos in the person album according to the age and/or facial expression of the person helps the user quickly understand the changes of the characters in the person album within a certain period.

Description

Translated fromChinese
照片管理方法及移动终端Photo management method and mobile terminal

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种照片管理方法及移动终端。The invention relates to the field of computer technology, in particular to a photo management method and a mobile terminal.

背景技术Background technique

近年来,随着智能操作系统的普及以及硬件配置的快速升级,终端设备的性能越来越强大,存储能力以及拍照功能也越来越出色,越来越多的用户使用终端设备进行拍照并保存。随着终端设备中照片数量的增多,对照片的管理也就变得至关重要了。In recent years, with the popularization of intelligent operating systems and the rapid upgrading of hardware configurations, the performance of terminal devices has become more and more powerful, and the storage capacity and camera functions have become more and more excellent. More and more users use terminal devices to take pictures and save them. . As the number of photos in terminal devices increases, the management of photos becomes crucial.

发明内容Contents of the invention

本发明实施例提供一种照片管理方法及移动终端,以实现用户快捷地了解人物相册中的人物在一定阶段内的变化的目的。Embodiments of the present invention provide a photo management method and a mobile terminal, so as to enable users to quickly understand the changes of characters in a character album within a certain period.

为实现上述目的,本发明实施例是这样实现的:In order to achieve the above object, the embodiment of the present invention is achieved as follows:

第一方面,本发明实施例还提出了一种照片管理方法,所述方法包括:In the first aspect, the embodiment of the present invention also proposes a photo management method, the method comprising:

在获取人物相册后,判断所述人物相册是否为特定人群的相册;After acquiring the photo album of the person, determine whether the photo album of the person is an album of a specific group of people;

当所述人物相册为特定人群的相册时,执行下述至少一项处理,得到处理结果:When the character album is an album of a specific group of people, at least one of the following processes is performed to obtain a process result:

获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;

根据所述处理结果,对所述人物相册中的照片进行分类。According to the processing result, the photos in the person album are classified.

第二方面,本发明实施例还提出了一种移动终端,所述移动终端包括:In the second aspect, the embodiment of the present invention also proposes a mobile terminal, where the mobile terminal includes:

判断单元,用于在获取人物相册后,判断所述人物相册是否为特定人群的相册;A judging unit, configured to judge whether the person album is an album of a specific group of people after acquiring the person album;

处理单元,用于在所述判断单元的判断结果为是的情况下,执行下述至少一项处理,得到处理结果:A processing unit, configured to execute at least one of the following processes to obtain a processing result when the determination result of the determination unit is yes:

获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;

管理单元,用于根据所述处理单元处理得到的处理结果,对所述人物相册进行分类。The management unit is configured to classify the character albums according to the processing results obtained by the processing unit.

第三方面,本发明实施例还提出了一种移动终端,包括:In the third aspect, the embodiment of the present invention also proposes a mobile terminal, including:

存储器、处理器及存储在所述存储器上并可在所述处理器上运行的照片管理程序,所述照片管理程序被所述处理器执行时实现上述照片管理方法的步骤。A memory, a processor, and a photo management program stored on the memory and operable on the processor. When the photo management program is executed by the processor, the steps of the above photo management method are implemented.

本发明实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,计算该人物相册中照片上的主要人物的实际年龄,并将照片按照不同年龄进行分类管理,和/或识别该人物相册中照片上的主要人物的面部表情,并将照片按照不同面部表情进行分类管理,即按照人物的年龄和/或面部表情管理人物相册中的照片。由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和/或面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。The embodiment of the present invention can identify whether the photo album of a person is an album of a specific group of people, and when it is recognized that the photo album of a person is a photo album of a specific group of people, calculate the actual age of the main person in the photo in the photo album of the person, and classify the photos according to different ages. Carry out classified management, and/or identify the facial expressions of the main characters in the photos in the character album, and classify and manage the photos according to different facial expressions, that is, manage the photos in the character album according to the age and/or facial expressions of the characters. Since the age and facial expression of a character can reflect the change of the appearance and mood of the character in a certain stage to a certain extent, managing the photos in the character album according to the age and/or facial expression of the character can help users quickly understand the character The characters in the photo album change within a certain period of time.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是本发明的一个实施例的照片管理方法的流程图;Fig. 1 is the flowchart of the photo management method of an embodiment of the present invention;

图2是本发明的另一个实施例的照片管理方法的流程图;Fig. 2 is the flowchart of the photo management method of another embodiment of the present invention;

图3是本发明的一个实施例的照片显示方式的示例图;Fig. 3 is an example diagram of a photo display mode according to an embodiment of the present invention;

图4是本发明的一个实施例的移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;

图5是实现本发明各个实施例的一种移动终端的硬件结构示意图。Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供了一种照片管理方法及移动终端。Embodiments of the present invention provide a photo management method and a mobile terminal.

下面首先对本发明实施例提供的一种照片管理方法进行介绍。A photo management method provided by an embodiment of the present invention is firstly introduced below.

需要说明的是,本发明实施例提供的方法适用于终端设备,在实际应用中,该终端设备可以包括:智能手机、平板电脑等移动终端,也可以包括:笔记本电脑、台式电脑、桌面机等计算机设备。此外,本发明实施例提供的方法也可应用于服务器,本发明实施例对此不作限定。It should be noted that the method provided by the embodiment of the present invention is applicable to terminal equipment. In practical applications, the terminal equipment may include: mobile terminals such as smart phones and tablet computers, and may also include: notebook computers, desktop computers, desktop computers, etc. computer equipment. In addition, the method provided in the embodiment of the present invention can also be applied to the server, which is not limited in the embodiment of the present invention.

为了便于理解,以移动终端为执行主体,结合附图对本发明实施例提供的技术方案进行介绍。For ease of understanding, the technical solutions provided by the embodiments of the present invention are introduced with reference to the accompanying drawings, taking the mobile terminal as the execution subject.

图1是本发明的一个实施例的照片管理方法的流程图,如图1所示,该方法可以包括以下步骤:Fig. 1 is the flowchart of the photo management method of an embodiment of the present invention, as shown in Fig. 1, this method may comprise the following steps:

在步骤101中,在获取人物相册后,判断该人物相册是否为特定人群的相册;若是,则执行步骤102,否则不作处理。In step 101, after obtaining the person album, it is judged whether the person album is an album of a specific group of people; if yes, step 102 is executed, otherwise, no processing is performed.

本发明实施例中,人物相册是按照人物对照片进行分类得到的相册,人物相册里每张照片中均包含的人物,称为主要人物,通常情况下,一个人物相册对应一个主要人物。In the embodiment of the present invention, the people album is an album obtained by classifying photos according to people, and the people contained in each photo in the people album are called main people. Usually, one people album corresponds to one main person.

本发明实施例中,可以按照人物对未分类的照片进行分类,获得人物相册;也可以从已分类好的人物相册中选择人物相册,本发明实施例对此不作限定。In the embodiment of the present invention, the uncategorized photos can be classified according to the persons to obtain the person album; the person album can also be selected from the classified person albums, which is not limited in the embodiment of the present invention.

本发明实施例中,特定人群的相册可以包括:宝贝相册(相册中主要人物的最小年龄小于7岁)、长辈相册(相册中主要人物的最小年龄大于50岁)、青年相册、女士相册或者男士相册等等,本发明实施例对此不作限定。In the embodiment of the present invention, albums for specific groups of people may include: baby albums (the minimum age of the main characters in the album is less than 7 years old), senior albums (the minimum age of the main characters in the album is greater than 50 years old), youth albums, women's albums or men's albums The photo album and the like are not limited in this embodiment of the present invention.

当特定人群的相册为宝贝相册、长辈相册或者青年相册时,可以应用人工智能的相关技术对人物相册中照片上的主要人物进行年龄预识别,预估该人物相册中主要人物的年龄,通过预估的年龄来判断该人物相册是否为特定人群的相册,此时,在一个可选的实施方式中,上述步骤101可以包括:S10和S11,其中,When the photo album of a specific group of people is a baby photo album, an elder photo album or a youth photo album, artificial intelligence related technologies can be used to pre-identify the age of the main person in the photos in the photo album of the person, and estimate the age of the main person in the photo album of the person. The estimated age is used to determine whether the character album is an album of a specific group of people. At this time, in an optional implementation manner, the above step 101 may include: S10 and S11, wherein,

在S10中,在获取人物相册后,使用人脸识别技术,对该人物相册中照片上的主要人物进行年龄预识别,得到年龄预识别结果;In S10, after obtaining the person album, use face recognition technology to perform age pre-identification on the main person in the photo in the person album, and obtain an age pre-identification result;

本实施方式中,可以通过人脸识别技术,对人物相册中的照片进行年龄预识别,粗略估计一下该人物相册中人物的年龄。In this embodiment, age pre-identification can be performed on the photos in the person album through face recognition technology, and the age of the person in the person album can be roughly estimated.

在S11中,根据该年龄预识别结果,判断该人物相册是否为特定人群的相册。In S11, according to the age pre-identification result, it is judged whether the person album is an album of a specific group of people.

为了便于理解,以宝贝相册为例进行介绍,长辈相册、青年相册的判断过程类似。For ease of understanding, the baby photo album is used as an example. The judgment process of the elder photo album and the youth photo album is similar.

具体的,当特定人群的相册为宝贝相册时,上述S11可以包括:Specifically, when the photo album of a specific group of people is a baby photo album, the above S11 may include:

根据该年龄预识别结果,判断该人物相册中的主要人物的最小年龄是否小于预设年龄阈值、且该人物相册中照片的数量是否大于预设数量阈值;According to the age pre-identification result, determine whether the minimum age of the main person in the person album is less than a preset age threshold, and whether the number of photos in the person album is greater than a preset number threshold;

其中,若该人物相册中的主要人物的最小年龄小于预设年龄阈值、且该人物相册中照片的数量大于预设数量阈值,则该人物相册为特定人群的相册。Wherein, if the minimum age of the main person in the person album is less than the preset age threshold and the number of photos in the person album is greater than the preset number threshold, then the person album is an album for a specific group of people.

例如,预设年龄阈值可以为7岁,预设数量阈值可以为50,若该人物相册中的主要人物的最小年龄小于7岁、且该人物相册中照片的数量在50张以上,则认为该人物相册为宝贝相册。For example, the preset age threshold can be 7 years old, and the preset number threshold can be 50. If the minimum age of the main character in the character album is less than 7 years old and the number of photos in the character album is more than 50, then the The character photo album is a baby photo album.

当特定人群的相册为女士相册、或者男士相册时,可以应用人工智能的相关技术对人物相册中照片上的主要人物进行性别预识别,粗略估计一下该人物相册中主要人物的性别,通过预估的性别来判断该人物相册是否为特定人群的相册。When the album of a specific group of people is a women's album or a men's album, artificial intelligence related technologies can be used to pre-identify the gender of the main person in the photos in the person album, and roughly estimate the gender of the main person in the person album. gender to judge whether the character album is an album for a specific group of people.

在步骤102中,执行下述至少一项处理,得到处理结果:获取该人物相册中的主要人物的出生日期,根据该出生日期计算人物相册中照片上的主要人物的实际年龄;以及,提取该人物相册中照片上的主要人物的面部表情。In step 102, at least one of the following processes is performed to obtain a processing result: obtain the date of birth of the main person in the person album, calculate the actual age of the main person in the photo in the person album according to the date of birth; and extract the The facial expression of the main person on the photo in the people album.

本发明实施例中,在人物相册为特定人群的相册的情况下,可以执行下述两项处理操作中的至少一项,其中,第一项处理操作包括:获取该人物相册中的主要人物的出生日期,根据该出生日期计算人物相册中照片上的主要人物的实际年龄;第二项处理操作包括:提取该人物相册中照片上的主要人物的面部表情。In the embodiment of the present invention, if the person album is an album of a specific group of people, at least one of the following two processing operations may be performed, wherein the first processing operation includes: obtaining date of birth, according to which the actual age of the main person in the photo in the person album is calculated; the second processing operation includes: extracting the facial expression of the main person in the photo in the person album.

在人物相册为特定人群的相册的情况下,为了更加精确地得到该人物相册中主要人物的实际年龄,当用户首次打开该人物相册时,终端设备可以提示用户设置该人物相册中主要人物的出生日期,此时,上述获取所述人物相册中的主要人物的出生日期,可以包括:In the case that the person album is an album of a specific group of people, in order to obtain the actual age of the main person in the person album more accurately, when the user opens the person album for the first time, the terminal device can prompt the user to set the birth date of the main person in the person album. Date, at this time, the above-mentioned acquisition of the date of birth of the main person in the character album may include:

输出提示消息,其中,该提示消息用于提示用户输入人物相册中主要人物的出生日期;Outputting a prompt message, wherein the prompt message is used to prompt the user to input the date of birth of the main character in the character album;

接收用户针对该提示消息输入的、人物相册中主要人物的出生日期。The date of birth of the main character in the character album input by the user for the prompt message is received.

本发明实施例中,可以通过语音的方式输出提示消息,也可以通过消息弹窗的方式输出提示消息,本发明实施例对此不作限定。In the embodiment of the present invention, the prompt message may be output by voice, or the prompt message may be output by a message pop-up window, which is not limited in this embodiment of the present invention.

本发明实施例中,在计算该人物相册中照片上的主要人物的实际年龄时,可以首先获取该人物相册中各照片的详细信息,例如拍摄日期、拍摄地点、照片详细信息等,之后从各照片的详细信息中获取该人物相册中照片的拍摄日期;根据该人物相册中主要人物的出生日期及该人物相册中照片的拍摄日期,计算该人物相册中照片上的主要人物的实际年龄。In the embodiment of the present invention, when calculating the actual age of the main person in the photo in the photo album of the person, the detailed information of each photo in the photo album of the person can be obtained first, such as the date of shooting, the location of the photo, detailed information of the photo, etc., and then from each Get the shooting date of the photo in the person album from the detailed information of the photo; calculate the actual age of the main person in the photo in the person album according to the date of birth of the main person in the person album and the shooting date of the photo in the person album.

具体的,将获取的各照片拍摄日期与主要人物的出生日期进行相减计算,得到各照片对应的实际年龄(年、月、日)。Specifically, the acquired date of each photo is subtracted from the date of birth of the main person to obtain the actual age (year, month, day) corresponding to each photo.

本发明实施例中,可以应用人脸表情识别技术对该人物相册中照片上的人脸进行检测、表情提取,得到各照片上的人物的面部表情。In the embodiment of the present invention, the facial expression recognition technology can be used to detect the faces on the photos in the photo album of the person and extract the facial expressions to obtain the facial expressions of the characters in each photo.

在步骤103中,根据该处理结果,对人物相册中的照片进行分类。In step 103, according to the processing result, the photos in the people album are classified.

若在人物相册为特定人群的相册的情况下,执行下述处理:获取该人物相册中的主要人物的出生日期,根据该出生日期计算人物相册中照片上的主要人物的实际年龄,则步骤103中是按照该人物相册中照片上的主要人物的实际年龄,对人物相册中的照片进行分类。If the person album is an album of a specific group of people, perform the following processing: obtain the date of birth of the main person in the person album, and calculate the actual age of the main person on the photo in the person album according to the date of birth, then step 103 The middle is to classify the photos in the person album according to the actual age of the main person in the photo in the person album.

若在人物相册为特定人群的相册的情况下,执行下述处理:提取该人物相册中照片上的主要人物的面部表情,则步骤103中是按照该人物相册中照片上的主要人物的面部表情,对人物相册中的照片进行分类。If under the situation that people's album is the album of specific group of people, carry out following processing: extract the facial expression of the main character on the photo in this people's album, then in step 103, be according to the facial expression of the main character on the photo in this people's album to categorize the photos in the people album.

若在人物相册为特定人群的相册的情况下,执行下述处理:获取该人物相册中的主要人物的出生日期,根据该出生日期计算人物相册中照片上的主要人物的实际年龄;以及提取该人物相册中照片上的主要人物的面部表情,则步骤103中是按照该人物相册中照片上的主要人物的实际年龄和面部表情,对人物相册中的照片进行分类。If the person album is an album of a specific group of people, perform the following processing: obtain the date of birth of the main person in the person album, calculate the actual age of the main person on the photo in the person album according to the date of birth; and extract the For the facial expressions of the main characters in the photos in the character album, step 103 is to classify the photos in the character album according to the actual age and facial expressions of the main characters in the photos in the character album.

由上述实施例可见,该实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,计算该人物相册中照片上的主要人物的实际年龄,并将照片按照不同年龄进行分类管理,和/或识别该人物相册中照片上的主要人物的面部表情,并将照片按照不同面部表情进行分类管理,即按照人物的年龄和/或面部表情管理人物相册中的照片。由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和/或面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。It can be seen from the above embodiment that this embodiment can identify whether the photo album of a person is an album of a specific group of people, and if it is recognized that the photo album of a person is an album of a specific group of people, calculate the actual age of the main person in the photo in the photo album of the person, and Classify and manage photos according to different ages, and/or identify the facial expressions of the main characters in the photos in the character album, and classify and manage photos according to different facial expressions, that is, manage character albums according to the age and/or facial expressions of the characters photos in . Since the age and facial expression of a character can reflect the change of the appearance and mood of the character in a certain stage to a certain extent, managing the photos in the character album according to the age and/or facial expression of the character can help users quickly understand the character The characters in the photo album change within a certain period of time.

本发明提供的另一个实施例中,该实施例可以在图1所示实施例的基础上,在人物相册为特定人群的相册的情况下,只执行下述一项处理:获取该人物相册中的主要人物的出生日期,根据该出生日期计算人物相册中照片上的主要人物的实际年龄,此时,上述步骤103可以包括:In another embodiment provided by the present invention, on the basis of the embodiment shown in FIG. 1 , in the case that the character album is an album of a specific group of people, only one of the following processes is performed: obtain the According to the date of birth of the main character, the actual age of the main character on the photo in the character album is calculated according to the date of birth. At this time, the above step 103 may include:

按照主要人物的实际年龄及预设的年龄段划分规则,对人物相册中的照片进行分类,得到年龄段划分规则中各年龄段对应的照片。According to the actual age of the main person and the preset age group classification rule, the photos in the photo album of the person are classified, and the photos corresponding to each age group in the age group classification rule are obtained.

本发明实施例中,预设的年龄段划分规则中可以包括:按照年进行年龄段的划分(例如0岁~1岁、1岁~2岁、2岁~3岁、3岁~4岁、4岁~5岁、5岁~6岁、6岁~7岁)、按照月进行年龄段的划分(例如0岁~1个月、1个月~2个月、2个月~3个月、……)、或者按照日进行年龄段的划分。In the embodiment of the present invention, the preset age division rules may include: division of age groups by year (for example, 0 to 1 year old, 1 to 2 years old, 2 to 3 years old, 3 to 4 years old, 4 years old to 5 years old, 5 years old to 6 years old, 6 years old to 7 years old), and divided into age groups by month (for example, 0 years old to 1 month, 1 month to 2 months, 2 months to 3 months , ...), or divide the age groups according to the day.

例如,按照年进行年龄段的划分(例如0岁~1岁、1岁~2岁、2岁~3岁、3岁~4岁、4岁~5岁、5岁~6岁、6岁~7岁),对人物相册中的照片进行分类,得到年龄段“0岁~1岁”对应的人物相册中的照片、年龄段“1岁~2岁”对应的人物相册中的照片、年龄段“2岁~3岁”对应的人物相册中的照片、年龄段“3岁~4岁”对应的人物相册中的照片、年龄段“4岁~5岁”对应的人物相册中的照片、年龄段“5岁~6岁”对应的人物相册中的照片,以及年龄段“6岁~7岁”对应的人物相册中的照片。For example, divide the age group according to the year (such as 0 years old to 1 year old, 1 year old to 2 years old, 2 years old to 3 years old, 3 years old to 4 years old, 4 years old to 5 years old, 5 years old to 6 years old, 6 years old to 7 years old), classify the photos in the people album, and get the photos in the people album corresponding to the age group "0 years old to 1 years old", the photos in the people album corresponding to the age group "1 years old to 2 years old", and the age group Photos in the people album corresponding to "2 to 3 years old", photos in the people album corresponding to the age group "3 to 4 years old", photos in the people album corresponding to the age group "4 to 5 years old", age Photos in the photo album corresponding to the age group "5-6 years old", and photos in the photo album corresponding to the age group "6-7 years old".

由上述实施例可见,该实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,计算该人物相册中照片上的主要人物的实际年龄,并将照片按照不同年龄进行分类管理,即按照人物的年龄管理人物相册中的照片。由于人物的年龄可以从一定程度上反映人物在一定阶段内的外表的变化,因此按照人物的年龄管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。It can be seen from the above embodiment that this embodiment can identify whether the photo album of a person is an album of a specific group of people, and if it is recognized that the photo album of a person is an album of a specific group of people, calculate the actual age of the main person in the photo in the photo album of the person, and Classify and manage photos according to different ages, that is, manage photos in people's albums according to people's ages. Since the age of a person can reflect the change of the person's appearance in a certain period to a certain extent, managing the photos in the people album according to the age of the person will help users quickly understand the changes of the person in the people album in a certain period .

本发明提供的另一个实施例中,可以将人物相册中的照片按照实际年龄(例如,按照几岁几个月或按照岁)进行显示,此时,该实施例可以在上一实施例的基础上,在上述步骤103之后,增加以下步骤:In another embodiment provided by the present invention, the photos in the photo album of people can be displayed according to their actual age (for example, according to age, months or according to age). At this time, this embodiment can be based on the previous embodiment Above, after the above step 103, add the following steps:

接收针对该人物相册的照片显示指令,其中,该照片显示指令用于指示终端设备按照年龄递减顺序显示各年龄段对应的照片,或者用于指示终端设备显示指定年龄段对应的照片;Receive a photo display instruction for the character album, where the photo display instruction is used to instruct the terminal device to display photos corresponding to each age group in descending order of age, or to instruct the terminal device to display photos corresponding to a specified age group;

根据该照片显示指令,显示该人物相册中的照片。According to the photo display instruction, the photo in the photo album of the person is displayed.

本发明实施例中,在显示人物相册中的照片时,可以将最新的照片放在最前面,早期的放在最后面。此外,当年龄为0~1岁时可以按照年月天显示,当年龄为1~7岁时可以按照年月显示;或者,当年龄小于4岁时可以按照年月显示,当年龄大于4岁时可以按照岁显示。In the embodiment of the present invention, when displaying photos in a person's album, the newest photos may be placed at the front, and the earlier photos may be placed at the end. In addition, when the age is 0 to 1 years old, it can be displayed according to year, month and day; when the age is 1 to 7 years old, it can be displayed according to year and month; or, when the age is less than 4 years old, it can be displayed according to year and month; Time can be displayed by age.

本发明实施例中,在显示该人物相册中的照片时,还可以显示各照片上主要人物的实际年龄(或年龄段),以便用户快速地了解到照片上主要人物的实际年龄(或年龄段)。In the embodiment of the present invention, when displaying the photos in the character album, the actual age (or age range) of the main characters on each photo can also be displayed, so that the user can quickly understand the actual age (or age range) of the main characters on the photos. ).

本发明提供的另一个实施例中,该实施例可以在图1所示实施例的基础上,在人物相册为特定人群的相册的情况下,只执行下述一项处理:提取该人物相册中照片上的主要人物的面部表情,此时,上述步骤103可以包括:In another embodiment provided by the present invention, on the basis of the embodiment shown in FIG. 1 , in the case that the character album is an album of a specific group of people, only one of the following processes is performed: extract the The facial expression of the main person on the photo, at this time, the above step 103 may include:

按照主要人物的面部表情,对该人物相册中的照片进行分类,得到各类型的面部表情对应的照片。According to the facial expressions of the main person, the photos in the person's album are classified to obtain photos corresponding to various types of facial expressions.

本发明实施例中,面部表情的类型可以包括:惊奇、高兴、愤怒、悲伤和恐惧等。In the embodiment of the present invention, the types of facial expressions may include: surprise, joy, anger, sadness, and fear.

例如,面部表情的类型包括:惊奇、高兴、愤怒、悲伤和恐惧,对人物相册中的照片进行分类,得到面部表情“惊奇”对应的人物相册中的照片、面部表情“高兴”对应的人物相册中的照片、面部表情“愤怒”对应的人物相册中的照片、面部表情“悲伤”对应的人物相册中的照片、面部表情“恐惧”对应的人物相册中的照片。For example, the types of facial expressions include: surprise, joy, anger, sadness and fear, and the photos in the person album are classified to obtain the photos in the person album corresponding to the facial expression "surprise", and the person album corresponding to the facial expression "happy". Photos in , photos in the People Album for the "Angry" facial expression, photos in the People Album for the "Sad" facial expression, photos in the People album for the "Fear" facial expression.

由上述实施例可见,该实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,识别该人物相册中照片上的主要人物的面部表情,并将照片按照不同面部表情进行分类管理,即按照人物的面部表情管理人物相册中的照片。由于人物的面部表情可以从一定程度上反映人物在一定阶段内的情绪的变化,因此按照人物的面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。It can be seen from the above embodiment that this embodiment can identify whether the person album is an album of a specific group of people, and if it is recognized that the person album is an album of a specific group of people, recognize the facial expression of the main person in the photo in the person album, and Classify and manage photos according to different facial expressions, that is, manage photos in people's albums according to their facial expressions. Since the facial expressions of the characters can reflect the emotional changes of the characters in a certain stage to a certain extent, managing the photos in the people album according to the facial expressions of the characters will help users quickly understand the changes of the characters in the people album in a certain stage. The change.

本发明提供的另一个实施例中,可以将人物相册中的照片按照面部表情的类型进行显示,此时,该实施例可以在上一实施例的基础上,在上述步骤103之后,增加以下步骤:In another embodiment provided by the present invention, the photos in the character album can be displayed according to the type of facial expression. At this time, this embodiment can add the following steps after the above step 103 on the basis of the previous embodiment :

接收针对该人物相册的照片显示指令,其中,该照片显示指令用于指示终端设备按照面部表情的类型显示各类型的面部表情对应的照片,或者用于指示终端设备显示指定类型的面部表情对应的照片;receiving a photo display instruction for the character album, wherein the photo display instruction is used to instruct the terminal device to display photos corresponding to each type of facial expression according to the type of facial expression, or to instruct the terminal device to display photos corresponding to a specified type of facial expression photo;

根据该照片显示指令,显示该人物相册中的照片。According to the photo display instruction, the photo in the photo album of the person is displayed.

本发明实施例中,当用户进行特定操作时,终端设备将某一类型的面部表情的照片进行显示,方便用户浏览。例如,当用户浏览照片时,对照片长按3秒即可唤出类型选项对话框,用户可根据自己的喜好选择自己浏览的类型(即指定类型),增加浏览照片的趣味性。In the embodiment of the present invention, when the user performs a specific operation, the terminal device displays a photo of a certain type of facial expression, which is convenient for the user to browse. For example, when a user browses a photo, a long press on the photo for 3 seconds will bring up a type option dialog box, and the user can choose the type (namely the specified type) to browse according to his or her preferences, which increases the fun of browsing photos.

图2是本发明的另一个实施例的照片管理方法的流程图,如图2所示,可以依据人物相册中照片上的主要人物的实际年龄及主要面部表情对该人物相册中的照片进行管理,此时,该方法可以包括以下步骤:Fig. 2 is the flow chart of the photo management method of another embodiment of the present invention, as shown in Fig. 2, can manage the photo in this person's album according to the actual age and the main facial expression of the main person on the photo in the person's album , at this point, the method may include the following steps:

在步骤201中,在获取人物相册后,使用人脸识别技术,对该人物相册中照片上的主要人物进行年龄预识别,得到年龄预识别结果。In step 201, after the person album is acquired, age pre-identification is performed on the main characters in the photos in the person album by using face recognition technology to obtain an age pre-identification result.

在步骤202中,根据该年龄预识别结果,判断该人物相册是否为特定人群的相册。In step 202, according to the age pre-identification result, it is judged whether the person album is an album of a specific group of people.

在步骤203中,获取该人物相册中的主要人物的出生日期,根据该出生日期计算该人物相册中照片上的主要人物的实际年龄;以及,提取该人物相册中照片上的主要人物的表情。In step 203, the date of birth of the main person in the photo album is obtained, and the actual age of the main person in the photo in the photo album is calculated according to the date of birth; and the expression of the main person in the photo in the photo album is extracted.

本发明实施例中步骤201~203的内容,与图1所示实施例中步骤101~102的内容类似,对此不再赘述,详情请见图1所示实施例中步骤101~102的内容。The content of steps 201-203 in the embodiment of the present invention is similar to the content of steps 101-102 in the embodiment shown in FIG. .

在步骤204中,按照主要人物的实际年龄及预设的年龄段划分规则,对该人物相册中的照片进行分类,得到年龄段划分规则中各年龄段对应的照片;确定该各年龄段对应的照片上主要人物的主要面部表情;建立各年龄段对应的照片与各年龄段对应的照片上主要人物的主要面部表情的对应关系。In step 204, according to the actual age of the main person and the preset age group classification rules, the photos in the person's album are classified to obtain the photos corresponding to each age group in the age group classification rules; The main facial expressions of the main characters in the photos; establishing a corresponding relationship between the photos corresponding to each age group and the main facial expressions of the main characters in the photos corresponding to each age group.

本发明实施例中,某一年龄段对应的照片上主要人物的主要面部表情,指的是该年龄段对应的照片上主要人物出现次数最多的面部表情。In the embodiment of the present invention, the main facial expressions of the main characters in the photos corresponding to a certain age group refer to the facial expressions of the main characters that appear most frequently in the photos corresponding to the age group.

本发明实施例中,建立各年龄段对应的照片与各年龄段对应的照片上主要人物的主要面部表情的对应关系,以便当用户选择显示该人物相册中的照片是,可以按照年龄段显示照片,并在该年龄段中显示主要的面部表情,增强浏览照片的趣味性。In the embodiment of the present invention, the corresponding relationship between the photos corresponding to each age group and the main facial expressions of the main characters on the photos corresponding to each age group is established, so that when the user chooses to display the photos in the photo album of the person, the photos can be displayed according to the age group , and show the main facial expressions in that age group, enhancing the fun of viewing photos.

由上述实施例可见,该实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,计算该人物相册中照片上的主要人物的实际年龄,并将照片按照不同年龄进行分类管理,以及识别该人物相册中照片上的主要人物的面部表情,并将照片按照不同面部表情进行分类管理,即按照人物的年龄和面部表情管理人物相册中的照片。由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。It can be seen from the above embodiment that this embodiment can identify whether the photo album of a person is an album of a specific group of people, and if it is recognized that the photo album of a person is an album of a specific group of people, calculate the actual age of the main person in the photo in the photo album of the person, and Classify and manage photos according to different ages, and identify the facial expressions of the main characters in the photos in the person album, and classify and manage the photos according to different facial expressions, that is, manage photos in the person album according to the age and facial expressions of the characters. Since the age and facial expressions of a person can reflect the appearance and emotional changes of a person in a certain stage to a certain extent, managing the photos in the people album according to the age and facial expressions of the person will help users quickly understand the changes in the people album. The character changes in a certain period of time.

本发明提供的另一个实施例中,该实施例可以在图2所示实施例的基础上,在步骤204之后,可以增加以下步骤:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 2 , after step 204, the following steps may be added:

接收针对该人物相册的照片显示指令,其中,该照片显示指令用于指示终端设备按照年龄递减的顺序,显示各年龄段对应的照片及各年龄段对应的主要面部表情;receiving a photo display instruction for the character album, wherein the photo display instruction is used to instruct the terminal device to display photos corresponding to each age group and main facial expressions corresponding to each age group in descending order of age;

根据该照片显示指令,显示该人物相册中的照片。According to the photo display instruction, the photo in the photo album of the person is displayed.

如图3所示,图3示出了终端设备按照年龄段显示照片,此外,还可以在年龄段旁边显示该年龄段的主要面部表情,例如2岁1个月主要是哭的照片多,则显示哭;1岁1个月主要是笑的照片,则显示笑,具体的,可以通过表情符号来显示主要面部表情。As shown in Figure 3, Figure 3 shows that the terminal device displays photos according to age groups. In addition, the main facial expressions of the age group can also be displayed next to the age group. Crying is shown; photos of 1 year and 1 month mainly laughing are shown laughing. Specifically, emoticons can be used to show the main facial expressions.

可见,本发明实施例可以对宝贝相册智能计算照片中人物的年龄,并将照片按照不同年龄阶段进行分类及显示;通过人脸识别智能识别人物的喜怒哀乐,再根据年龄段统计主要面部表情,在不同的年龄段中显示主要面部表情,以提醒用户宝贝在不同年龄段的主要情绪。便于用户随时随地查看,不错过宝贝们每个阶段的变化,方便快捷,极大提高用户体验及浏览照片的趣味性。It can be seen that the embodiment of the present invention can intelligently calculate the age of the people in the photos in the baby album, and classify and display the photos according to different age stages; through face recognition, the emotions and sorrows of the people can be intelligently identified, and then the main facial expressions can be counted according to the age group , to display the main facial expressions in different age groups to remind the user of the baby's main emotions in different age groups. It is convenient for users to view anytime and anywhere, and does not miss the changes of each stage of the baby. It is convenient and fast, which greatly improves the user experience and the fun of browsing photos.

本发明提供的另一个实施例中,该实施例可以在图1所示实施例的基础上,在上述步骤103之后,增加以下步骤:In another embodiment provided by the present invention, this embodiment can be based on the embodiment shown in Figure 1, after the above step 103, the following steps can be added:

生成图标,并指示终端设备显示该图标,其中,该图标用于触发终端设备显示悬浮列表,该悬浮列表中包括用于切换到该人物相册中任一照片的接口。An icon is generated, and the terminal device is instructed to display the icon, wherein the icon is used to trigger the terminal device to display a floating list, and the floating list includes an interface for switching to any photo in the photo album of the person.

本发明实施例中,图标的形状可以为一个直径1厘米的圆形或者一个边长1厘米的正方形,图标可以位于终端设备屏幕的任意位置,优选的,图标位于屏幕上不会影响用户浏览照片的特定位置。通过一个悬浮列表,用户可以任意切换到宝贝各阶段的照片,在照片切换完成后,该悬浮列表可以自动隐藏成图标。In the embodiment of the present invention, the shape of the icon can be a circle with a diameter of 1 cm or a square with a side length of 1 cm, and the icon can be located at any position on the screen of the terminal device. Preferably, the icon located on the screen will not affect the user's browsing of photos specific location. Through a floating list, users can arbitrarily switch to the photos of each stage of the baby. After the photo switching is completed, the floating list can be automatically hidden as an icon.

本发明提供的另一个实施例中,还可以具有智能提醒功能,提醒用户及时拍照留念,不错过孩子们的每一个成长瞬间,此时,所述方法还可以包括:In another embodiment provided by the present invention, it may also have an intelligent reminder function to remind the user to take pictures in time, so as not to miss every growth moment of the children. At this time, the method may also include:

当该人物相册为特定人群的相册时,若检测到预设时长内没有照片更新,则输出消息提醒,其中,该消息提醒用于提醒用户进行拍照。When the person album is an album of a specific group of people, if it is detected that there is no photo update within a preset time period, a message reminder is output, wherein the message reminder is used to remind the user to take a photo.

本发明实施例中,终端设备会定期对已拍摄的照片进行检测,当检测到超过一定时长没有更新照片时,会对用户进行智能提醒。例如,在3岁前检测到超过1个星期没有更新孩子的照片;3岁后超过2个星期没有更新照片,就会自动发送提醒到父母的手机,提醒其注意给宝贝拍照。孩子的年龄再大点则会提醒超过1个月没有更新孩子的照片了等等,不让父母错过孩子们的每个阶段的成长瞬间。In the embodiment of the present invention, the terminal device will regularly detect the photos that have been taken, and when it is detected that the photos have not been updated for a certain period of time, it will intelligently remind the user. For example, if it is detected that the child's photo has not been updated for more than 1 week before the age of 3; if the photo has not been updated for more than 2 weeks after the age of 3, it will automatically send a reminder to the parents' mobile phone to remind them to pay attention to taking pictures of the baby. If the child is older, it will be reminded that the child's photo has not been updated for more than one month, etc., so that parents will not miss the growth moment of each stage of the child.

图4是本发明的一个实施例的移动终端的结构示意图,如图4所示,移动终端400,可以包括:判断单元401、处理单元402和管理单元403,其中,FIG. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, a mobile terminal 400 may include: a judging unit 401, a processing unit 402, and a management unit 403, wherein,

判断单元401,用于在获取人物相册后,判断所述人物相册是否为特定人群的相册;A judging unit 401, configured to judge whether the person album is an album of a specific group of people after acquiring the person album;

处理单元402,用于在所述判断单元401的判断结果为是的情况下,执行下述至少一项处理,得到处理结果:The processing unit 402 is configured to execute at least one of the following processes to obtain a processing result when the determination result of the determination unit 401 is yes:

获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;

管理单元403,用于根据所述处理单元402处理得到的处理结果,对所述人物相册进行分类。The management unit 403 is configured to classify the person albums according to the processing result obtained by the processing unit 402 .

由上述实施例可见,该实施例可以识别人物相册是否为特定人群的相册,在识别出该人物相册为特定人群的相册的情况下,计算该人物相册中照片上的主要人物的实际年龄,并将照片按照不同年龄进行分类管理,和/或识别该人物相册中照片上的主要人物的面部表情,并将照片按照不同面部表情进行分类管理,即按照人物的年龄和/或面部表情管理人物相册中的照片。由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和/或面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。It can be seen from the above embodiment that this embodiment can identify whether the photo album of a person is an album of a specific group of people, and if it is recognized that the photo album of a person is an album of a specific group of people, calculate the actual age of the main person in the photo in the photo album of the person, and Classify and manage photos according to different ages, and/or identify the facial expressions of the main characters in the photos in the character album, and classify and manage photos according to different facial expressions, that is, manage character albums according to the age and/or facial expressions of the characters photos in . Since the age and facial expression of a character can reflect the change of the appearance and mood of the character in a certain stage to a certain extent, managing the photos in the character album according to the age and/or facial expression of the character can help users quickly understand the character The characters in the photo album change within a certain period of time.

本发明提供的另一个实施例中,该实施例可以在图4所示实施例的基础上,所述判断单元401,可以包括:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 4 , the judging unit 401 may include:

年龄预识别子单元,用于在获取人物相册后,使用人脸识别技术,对所述人物相册中照片上的主要人物进行年龄预识别,得到年龄预识别结果;The age pre-identification subunit is used to use face recognition technology to perform age pre-identification on the main characters in the photos in the character album after obtaining the person album, and obtain the age pre-identification result;

判断子单元,用于根据所述年龄预识别结果,判断所述人物相册中的所述主要人物的最小年龄是否小于预设年龄阈值、且所述人物相册中照片的数量是否大于预设数量阈值;A judging subunit, configured to judge whether the minimum age of the main person in the person album is less than a preset age threshold and whether the number of photos in the person album is greater than a preset number threshold according to the age pre-identification result ;

其中,若所述人物相册中的所述主要人物的最小年龄小于所述预设年龄阈值、且所述人物相册中照片的数量大于预设数量阈值,则所述人物相册为特定人群的相册。Wherein, if the minimum age of the main person in the person album is less than the preset age threshold and the number of photos in the person album is greater than the preset number threshold, then the person album is an album of a specific group of people.

本发明提供的另一个实施例中,该实施例可以在图4所示实施例的基础上,所述处理单元402,可以包括:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 4 , the processing unit 402 may include:

第一年龄计算子单元,用于在所述判断单元的判断结果为是的情况下,获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;The first age calculation subunit is used to obtain the date of birth of the main person in the person album when the judgment result of the judgment unit is yes, and calculate the age on the photo in the person album according to the date of birth the actual age of the main character;

表情提取子单元,用于提取所述人物相册中照片上的所述主要人物的表情;The expression extraction subunit is used to extract the expressions of the main characters on the photos in the character album;

此时,所述管理单元403,可以包括:At this point, the management unit 403 may include:

分类子单元,用于按照所述主要人物的实际年龄及预设的年龄段划分规则,对所述人物相册中的照片进行分类,得到所述年龄段划分规则中各年龄段对应的照片;The classification subunit is used to classify the photos in the photo album of the person according to the actual age of the main person and the preset age group division rule, and obtain the photos corresponding to each age group in the age group division rule;

主要表情确定子单元,用于确定所述各年龄段对应的照片上主要人物的主要面部表情;The main expression determination subunit is used to determine the main facial expressions of the main characters in the photos corresponding to the various age groups;

照片管理子单元,用于建立所述各年龄段对应的照片与所述各年龄段对应的照片上主要人物的主要面部表情的对应关系。The photo management subunit is configured to establish a corresponding relationship between the photos corresponding to the age groups and the main facial expressions of the main characters in the photos corresponding to the age groups.

本发明提供的另一个实施例中,该实施例可以在上一实施例的基础上,移动终端400还可以包括:In another embodiment provided by the present invention, this embodiment can be based on the previous embodiment, and the mobile terminal 400 can also include:

接收单元,用于接收针对所述人物相册的照片显示指令,其中,所述照片显示指令用于指示终端设备按照年龄递减的顺序,显示所述各年龄段对应的照片及所述各年龄段对应的主要面部表情;The receiving unit is configured to receive a photo display instruction for the person photo album, wherein the photo display instruction is used to instruct the terminal device to display the photos corresponding to the age groups and the photos corresponding to the age groups in descending order of age. main facial expressions;

显示单元,用于根据所述照片显示指令,显示所述人物相册中的照片。A display unit, configured to display the photos in the photo album of the person according to the photo display instruction.

本发明提供的另一个实施例中,该实施例可以在图4所示实施例的基础上,移动终端400还可以包括:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 4 , and the mobile terminal 400 may further include:

图标生成单元,用于生成图标,并指示终端设备显示所述图标,其中,所述图标用于触发所述终端设备显示悬浮列表,所述悬浮列表中包括用于切换到所述人物相册中任一照片的接口。The icon generation unit is configured to generate an icon and instruct the terminal device to display the icon, wherein the icon is used to trigger the terminal device to display a floating list, and the floating list includes any information for switching to the person album. A photo interface.

本发明提供的另一个实施例中,该实施例可以在图4所示实施例的基础上,所述处理单元402,可以包括:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 4 , the processing unit 402 may include:

消息输出子单元,用于输出提示消息,其中,所述提示消息用于提示用户输入所述人物相册中主要人物的出生日期;A message output subunit, configured to output a prompt message, wherein the prompt message is used to prompt the user to input the date of birth of the main person in the character album;

出生日期接收子单元,用于接收所述用户针对所述提示消息输入的、所述人物相册中主要人物的出生日期。The date of birth receiving subunit is configured to receive the date of birth of the main person in the person album input by the user for the prompt message.

本发明提供的另一个实施例中,该实施例可以在图4所示实施例的基础上,所述处理单元402,可以包括:In another embodiment provided by the present invention, this embodiment may be based on the embodiment shown in FIG. 4 , the processing unit 402 may include:

拍摄日期获取子单元,用于获取所述人物相册中照片的拍摄日期;The shooting date obtaining subunit is used to obtain the shooting date of the photos in the photo album of the person;

第二年龄计算子单元,用于根据所述人物相册中主要人物的出生日期及所述人物相册中照片的拍摄日期,计算所述人物相册中照片上的所述主要人物的实际年龄。The second age calculation subunit is configured to calculate the actual age of the main person in the photo in the photo album according to the date of birth of the main person in the photo album and the shooting date of the photo in the photo album.

图5是实现本发明各个实施例的一种移动终端的硬件结构示意图,如图5所示,该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. As shown in FIG. 5 , the mobile terminal 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, and an input unit 504 , a sensor 505 , a display unit 506 , a user input unit 507 , an interface unit 508 , a memory 509 , a processor 510 , and a power supply 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器510,用于在获取人物相册后,判断所述人物相册是否为特定人群的相册;Wherein, the processor 510 is configured to determine whether the person album is an album of a specific group of people after acquiring the person album;

当所述人物相册为特定人群的相册时,执行下述至少一项处理,得到处理结果:When the character album is an album of a specific group of people, at least one of the following processes is performed to obtain a process result:

获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;

根据所述处理结果,对所述人物相册中的照片进行分类。According to the processing result, the photos in the person album are classified.

本发明技术方案可以按照人物的年龄和/或面部表情管理人物相册中的照片,由于人物的年龄和面部表情可以从一定程度上反映人物在一定阶段内的外表和情绪的变化,因此按照人物的年龄和/或面部表情管理人物相册中的照片,有助于用户快捷地了解人物相册中的人物在一定阶段内的变化。The technical solution of the present invention can manage the photos in the person's album according to the age and/or facial expression of the person. Since the age and facial expression of the person can reflect the change of the appearance and emotion of the person in a certain stage to a certain extent, according to the person's Age and/or facial expression manage photos in the people album, which helps users to quickly understand the changes of the people in the people album within a certain period of time.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 510 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 can also provide audio output related to a specific function performed by the mobile terminal 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver and the like.

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used for receiving audio or video signals. The input unit 504 may include a graphics processing unit (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage media) or sent via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a phone call mode.

移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the display panel 5061 when the mobile terminal 500 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 5071 or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 510, receive the command sent by the processor 510 and execute it. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 5071 can be covered on the display panel 5061, and when the touch panel 5071 detects a touch operation on or near it, it will be sent to the processor 510 to determine the type of the touch event, and then the processor 510 can The type of event provides a corresponding visual output on the display panel 5061 . Although in FIG. 5, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs as well as various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510 .

移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 can also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的照片管理程序,该照片管理程序被处理器510执行时实现上述照片管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 510, a memory 509, a photo management program stored on the memory 509 and operable on the processor 510, and the photo management program is executed by the processor 510 During execution, each process of the above photo management method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有照片管理程序,该照片管理程序被处理器执行时实现上述照片管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention also provides a computer-readable storage medium, on which a photo management program is stored. When the photo management program is executed by a processor, it can realize the various processes of the above-mentioned photo management method embodiments, and can achieve the same To avoid repetition, the technical effects will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (15)

Translated fromChinese
1.一种照片管理方法,其特征在于,所述方法包括:1. A photo management method, characterized in that the method comprises:在获取人物相册后,判断所述人物相册是否为特定人群的相册;After acquiring the photo album of the person, determine whether the photo album of the person is an album of a specific group of people;当所述人物相册为特定人群的相册时,执行下述至少一项处理,得到处理结果:When the character album is an album of a specific group of people, at least one of the following processes is performed to obtain a process result:获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;根据所述处理结果,对所述人物相册中的照片进行分类。According to the processing result, the photos in the person album are classified.2.根据权利要求1所述的方法,其特征在于,所述判断所述人物相册是否为特定人群的相册,包括:2. The method according to claim 1, wherein the judging whether the character album is an album of a specific group of people comprises:使用人脸识别技术,对所述人物相册中照片上的主要人物进行年龄预识别,得到年龄预识别结果;Using face recognition technology to perform age pre-identification on the main person in the photo in the person album, and obtain an age pre-identification result;根据所述年龄预识别结果,判断所述人物相册中的所述主要人物的最小年龄是否小于预设年龄阈值、且所述人物相册中照片的数量是否大于预设数量阈值;According to the age pre-identification result, it is judged whether the minimum age of the main person in the person album is less than a preset age threshold, and whether the number of photos in the person album is greater than a preset number threshold;其中,若所述人物相册中的所述主要人物的最小年龄小于所述预设年龄阈值、且所述人物相册中照片的数量大于预设数量阈值,则所述人物相册为特定人群的相册。Wherein, if the minimum age of the main person in the person album is less than the preset age threshold and the number of photos in the person album is greater than the preset number threshold, then the person album is an album of a specific group of people.3.根据权利要求1所述的方法,其特征在于,所述当所述人物相册为特定人群的相册时,执行下述至少一项处理,得到处理结果,包括:3. The method according to claim 1, characterized in that, when the character album is an album of a specific group of people, at least one of the following processes is performed to obtain a process result, including:当所述人物相册为特定人群的相册时,获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的表情;When the person album is an album of a specific group of people, obtain the date of birth of the main person in the person album, and calculate the actual age of the main person on the photo in the person album according to the date of birth; and extract The expression of the main person on the photo in the photo album of the person;所述根据所述处理结果,对所述人物相册进行分类,包括:According to the processing result, classifying the character photo album includes:按照所述主要人物的实际年龄及预设的年龄段划分规则,对所述人物相册中的照片进行分类,得到所述年龄段划分规则中各年龄段对应的照片;classify the photos in the photo album of the person according to the actual age of the main person and the preset age group classification rule, and obtain photos corresponding to each age group in the age group classification rule;确定所述各年龄段对应的照片上主要人物的主要面部表情;Determine the main facial expressions of the main characters on the photos corresponding to the various age groups;建立所述各年龄段对应的照片与所述各年龄段对应的照片上主要人物的主要面部表情的对应关系。Establish a corresponding relationship between the photos corresponding to the age groups and the main facial expressions of the main characters in the photos corresponding to the age groups.4.根据权利要求3所述的方法,其特征在于,在所述建立所述各年龄段对应的照片与所述各年龄段对应的照片上主要人物的主要面部表情的对应关系的步骤之后,还包括:4. The method according to claim 3, characterized in that, after the step of establishing the corresponding relationship between the photos corresponding to the age groups and the main facial expressions of the main characters in the photos corresponding to the age groups, Also includes:接收针对所述人物相册的照片显示指令,其中,所述照片显示指令用于指示终端设备按照年龄递减的顺序,显示所述各年龄段对应的照片及所述各年龄段对应的主要面部表情;receiving a photo display instruction for the character album, wherein the photo display instruction is used to instruct the terminal device to display the photos corresponding to the age groups and the main facial expressions corresponding to the age groups in descending order of age;根据所述照片显示指令,显示所述人物相册中的照片。According to the photo display instruction, the photos in the photo album of the person are displayed.5.根据权利要求1所述的方法,其特征在于,在所述根据所述处理结果,对所述人物相册中的照片进行分类的步骤之后,还包括:5. The method according to claim 1, further comprising:生成图标,并指示终端设备显示所述图标,其中,所述图标用于触发所述终端设备显示悬浮列表,所述悬浮列表中包括用于切换到所述人物相册中任一照片的接口。An icon is generated, and the terminal device is instructed to display the icon, wherein the icon is used to trigger the terminal device to display a floating list, and the floating list includes an interface for switching to any photo in the person album.6.根据权利要求1所述的方法,其特征在于,所述获取所述人物相册中的主要人物的出生日期,包括:6. The method according to claim 1, wherein the obtaining the date of birth of the main person in the person album comprises:输出提示消息,其中,所述提示消息用于提示用户输入所述人物相册中主要人物的出生日期;Outputting a prompt message, wherein the prompt message is used to prompt the user to input the date of birth of the main person in the character album;接收所述用户针对所述提示消息输入的、所述人物相册中主要人物的出生日期。receiving the date of birth of the main character in the character album input by the user for the prompt message.7.根据权利要求1所述的方法,其特征在于,所述根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄,包括:7. The method according to claim 1, wherein the calculating the actual age of the main person on the photo in the person album according to the date of birth comprises:获取所述人物相册中照片的拍摄日期;Obtain the shooting date of the photo in the photo album of the person;根据所述人物相册中主要人物的出生日期及所述人物相册中照片的拍摄日期,计算所述人物相册中照片上的所述主要人物的实际年龄。According to the date of birth of the main person in the person album and the shooting date of the photo in the person album, the actual age of the main person on the photo in the person album is calculated.8.一种移动终端,其特征在于,所述移动终端包括:8. A mobile terminal, characterized in that the mobile terminal comprises:判断单元,用于在获取人物相册后,判断所述人物相册是否为特定人群的相册;A judging unit, configured to judge whether the person album is an album of a specific group of people after acquiring the person album;处理单元,用于在所述判断单元的判断结果为是的情况下,执行下述至少一项处理,得到处理结果:A processing unit, configured to execute at least one of the following processes to obtain a processing result when the determination result of the determination unit is yes:获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;以及,提取所述人物相册中照片上的所述主要人物的面部表情;Obtaining the date of birth of the main person in the person album, calculating the actual age of the main person on the photo in the person album according to the date of birth; and extracting the main person on the photo in the person album facial expression;管理单元,用于根据所述处理单元处理得到的处理结果,对所述人物相册进行分类。The management unit is configured to classify the character albums according to the processing results obtained by the processing unit.9.根据权利要求8所述的移动终端,其特征在于,所述判断单元,包括:9. The mobile terminal according to claim 8, wherein the judging unit comprises:年龄预识别子单元,用于在获取人物相册后,使用人脸识别技术,对所述人物相册中照片上的主要人物进行年龄预识别,得到年龄预识别结果;The age pre-identification subunit is used to use face recognition technology to perform age pre-identification on the main characters in the photos in the character album after obtaining the person album, and obtain the age pre-identification result;判断子单元,用于根据所述年龄预识别结果,判断所述人物相册中的所述主要人物的最小年龄是否小于预设年龄阈值、且所述人物相册中照片的数量是否大于预设数量阈值;A judging subunit, configured to judge whether the minimum age of the main person in the person album is less than a preset age threshold and whether the number of photos in the person album is greater than a preset number threshold according to the age pre-identification result ;其中,若所述人物相册中的所述主要人物的最小年龄小于所述预设年龄阈值、且所述人物相册中照片的数量大于预设数量阈值,则所述人物相册为特定人群的相册。Wherein, if the minimum age of the main person in the person album is less than the preset age threshold and the number of photos in the person album is greater than the preset number threshold, then the person album is an album of a specific group of people.10.根据权利要求8所述的移动终端,其特征在于,所述处理单元,包括:10. The mobile terminal according to claim 8, wherein the processing unit comprises:第一年龄计算子单元,用于在所述判断单元的判断结果为是的情况下,获取所述人物相册中的主要人物的出生日期,根据所述出生日期计算所述人物相册中照片上的所述主要人物的实际年龄;The first age calculation subunit is used to obtain the date of birth of the main person in the person album when the judgment result of the judgment unit is yes, and calculate the age on the photo in the person album according to the date of birth the actual age of the main character;表情提取子单元,用于提取所述人物相册中照片上的所述主要人物的表情;The expression extraction subunit is used to extract the expressions of the main characters on the photos in the character album;所述管理单元,包括:The management unit includes:分类子单元,用于按照所述主要人物的实际年龄及预设的年龄段划分规则,对所述人物相册中的照片进行分类,得到所述年龄段划分规则中各年龄段对应的照片;The classification subunit is used to classify the photos in the photo album of the person according to the actual age of the main person and the preset age group division rule, and obtain the photos corresponding to each age group in the age group division rule;主要表情确定子单元,用于确定所述各年龄段对应的照片上主要人物的主要面部表情;The main expression determination subunit is used to determine the main facial expressions of the main characters in the photos corresponding to the various age groups;照片管理子单元,用于建立所述各年龄段对应的照片与所述各年龄段对应的照片上主要人物的主要面部表情的对应关系。The photo management subunit is configured to establish a corresponding relationship between the photos corresponding to the age groups and the main facial expressions of the main characters in the photos corresponding to the age groups.11.根据权利要求10所述的移动终端,其特征在于,所述移动终端还包括:11. The mobile terminal according to claim 10, wherein the mobile terminal further comprises:接收单元,用于接收针对所述人物相册的照片显示指令,其中,所述照片显示指令用于指示终端设备按照年龄递减的顺序,显示所述各年龄段对应的照片及所述各年龄段对应的主要面部表情;The receiving unit is configured to receive a photo display instruction for the person photo album, wherein the photo display instruction is used to instruct the terminal device to display the photos corresponding to the age groups and the photos corresponding to the age groups in descending order of age. main facial expressions;显示单元,用于根据所述照片显示指令,显示所述人物相册中的照片。A display unit, configured to display the photos in the photo album of the person according to the photo display instruction.12.根据权利要求8所述的移动终端,其特征在于,所述移动终端还包括:12. The mobile terminal according to claim 8, further comprising:图标生成单元,用于生成图标,并指示终端设备显示所述图标,其中,所述图标用于触发所述终端设备显示悬浮列表,所述悬浮列表中包括用于切换到所述人物相册中任一照片的接口。The icon generation unit is configured to generate an icon and instruct the terminal device to display the icon, wherein the icon is used to trigger the terminal device to display a floating list, and the floating list includes any information for switching to the person album. A photo interface.13.根据权利要求8所述的移动终端,其特征在于,所述处理单元,包括:13. The mobile terminal according to claim 8, wherein the processing unit comprises:消息输出子单元,用于输出提示消息,其中,所述提示消息用于提示用户输入所述人物相册中主要人物的出生日期;A message output subunit, configured to output a prompt message, wherein the prompt message is used to prompt the user to input the date of birth of the main person in the character album;出生日期接收子单元,用于接收所述用户针对所述提示消息输入的、所述人物相册中主要人物的出生日期。The date of birth receiving subunit is configured to receive the date of birth of the main person in the person album input by the user for the prompt message.14.根据权利要求8所述的移动终端,其特征在于,所述处理单元,包括:14. The mobile terminal according to claim 8, wherein the processing unit comprises:拍摄日期获取子单元,用于获取所述人物相册中照片的拍摄日期;The shooting date obtaining subunit is used to obtain the shooting date of the photos in the photo album of the person;第二年龄计算子单元,用于根据所述人物相册中主要人物的出生日期及所述人物相册中照片的拍摄日期,计算所述人物相册中照片上的所述主要人物的实际年龄。The second age calculation subunit is configured to calculate the actual age of the main person in the photo in the photo album according to the date of birth of the main person in the photo album and the shooting date of the photo in the photo album.15.一种移动终端,其特征在于,包括:15. A mobile terminal, characterized in that it comprises:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的照片管理程序,所述照片管理程序被所述处理器执行时实现如权利要求1至7中任一项所述的照片管理方法的步骤。A memory, a processor, and a photo management program stored on the memory and operable on the processor, when the photo management program is executed by the processor, it realizes any one of claims 1 to 7 The steps of the photo management method.
CN201711103027.3A2017-11-102017-11-10photo management method and mobile terminalPendingCN107832420A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711103027.3ACN107832420A (en)2017-11-102017-11-10photo management method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711103027.3ACN107832420A (en)2017-11-102017-11-10photo management method and mobile terminal

Publications (1)

Publication NumberPublication Date
CN107832420Atrue CN107832420A (en)2018-03-23

Family

ID=61654984

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711103027.3APendingCN107832420A (en)2017-11-102017-11-10photo management method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN107832420A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110851637A (en)*2019-09-262020-02-28华为技术有限公司Picture searching method and device
CN111488477A (en)*2019-01-252020-08-04中国科学院半导体研究所 Album processing method, device, electronic device and storage medium
CN112269890A (en)*2020-09-282021-01-26南京酷派软件技术有限公司 Photo classification method, device, storage medium, and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104850848A (en)*2015-06-042015-08-19广东欧珀移动通信有限公司 Photo Classification Method and Device
CN104951459A (en)*2014-03-262015-09-30腾讯科技(深圳)有限公司Display method and device for photo gallery
CN105117207A (en)*2015-07-272015-12-02小米科技有限责任公司Album creating method and apparatus
CN105404878A (en)*2015-12-112016-03-16广东欧珀移动通信有限公司 A photo classification method and device
KR20160108893A (en)*2015-03-092016-09-21한동수Color pallets providing system and method based propensity analysis
CN106202392A (en)*2016-07-072016-12-07珠海市魅族科技有限公司A kind of photo classification method and terminal
CN106355170A (en)*2016-11-222017-01-25Tcl集团股份有限公司Photo classifying method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104951459A (en)*2014-03-262015-09-30腾讯科技(深圳)有限公司Display method and device for photo gallery
KR20160108893A (en)*2015-03-092016-09-21한동수Color pallets providing system and method based propensity analysis
CN104850848A (en)*2015-06-042015-08-19广东欧珀移动通信有限公司 Photo Classification Method and Device
CN105117207A (en)*2015-07-272015-12-02小米科技有限责任公司Album creating method and apparatus
CN105404878A (en)*2015-12-112016-03-16广东欧珀移动通信有限公司 A photo classification method and device
CN106202392A (en)*2016-07-072016-12-07珠海市魅族科技有限公司A kind of photo classification method and terminal
CN106355170A (en)*2016-11-222017-01-25Tcl集团股份有限公司Photo classifying method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111488477A (en)*2019-01-252020-08-04中国科学院半导体研究所 Album processing method, device, electronic device and storage medium
CN110851637A (en)*2019-09-262020-02-28华为技术有限公司Picture searching method and device
US12361055B2 (en)2019-09-262025-07-15Huawei Technologies Co., Ltd.Picture search method and device
CN112269890A (en)*2020-09-282021-01-26南京酷派软件技术有限公司 Photo classification method, device, storage medium, and terminal

Similar Documents

PublicationPublication DateTitle
CN107633098A (en)A kind of content recommendation method and mobile terminal
WO2020147674A1 (en)Unread message prompt method and mobile terminal
CN109660728B (en)Photographing method and device
CN107613131A (en) Method for avoiding disturbing application program and mobile terminal
CN107846352A (en)A kind of method for information display, mobile terminal
CN106127829B (en)Augmented reality processing method and device and terminal
CN109166164B (en)Expression picture generation method and terminal
CN109739423B (en)Alarm clock setting method and flexible terminal
CN107734170B (en)Notification message processing method, mobile terminal and wearable device
CN108135033A (en)A kind of Bluetooth connecting method and mobile terminal
CN108366221A (en)A kind of video call method and terminal
CN108494665A (en)One population message display method and mobile terminal
CN109005336A (en)A kind of image capturing method and terminal device
WO2020011080A1 (en)Display control method and terminal device
CN108765522B (en) A dynamic image generation method and mobile terminal
CN108305342A (en)A kind of Work attendance method and mobile terminal
CN107944040B (en)Lyric display method and mobile terminal
CN107832420A (en)photo management method and mobile terminal
CN107566653A (en)A kind of call interface methods of exhibiting and mobile terminal
CN110750198A (en) Expression sending method and mobile terminal
CN110225196A (en)Terminal control method and terminal device
CN108959585A (en)A kind of expression picture acquisition methods and terminal device
CN109299693A (en) A display control method and mobile terminal
CN108681429A (en)A kind of bright screen control method and mobile terminal
CN108710521A (en)A kind of note generation method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180323


[8]ページ先頭

©2009-2025 Movatter.jp