CN108628985B - Photo album processing method and mobile terminal - Google Patents

Photo album processing method and mobile terminal Download PDF

Info

Publication number
CN108628985B
CN108628985B CN201810394016.3A CN201810394016A CN108628985B CN 108628985 B CN108628985 B CN 108628985B CN 201810394016 A CN201810394016 A CN 201810394016A CN 108628985 B CN108628985 B CN 108628985B
Authority
CN
China
Prior art keywords
image
album
scenes
mobile terminal
target
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.)
Active
Application number
CN201810394016.3A
Other languages
Chinese (zh)
Other versions
CN108628985A (en
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 Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810394016.3A priority Critical patent/CN108628985B/en
Publication of CN108628985A publication Critical patent/CN108628985A/en
Application granted granted Critical
Publication of CN108628985B publication Critical patent/CN108628985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Television Signal Processing For Recording (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a processing method of an album and a mobile terminal, wherein the method comprises the following steps: carrying out scene classification on images shot by a mobile terminal in a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1; acquiring a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to N scenes, and the N picture areas respectively correspond to the N description areas; and respectively adding description information of N scenes in N description areas of the target album template, and respectively adding cover images of image sets of the N scenes in the N image areas to obtain the note album. Therefore, the mobile terminal can form a note album which simultaneously has the cover images of all scenes and the description information corresponding to the cover images, and the efficiency of searching the images by the mobile terminal can be improved through the album in the image-text combination mode.

Description

Photo album processing method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a photo album processing method and a mobile terminal.
Background
With the continuous improvement of economic levels of people and the development of mobile terminals, more and more users choose to take pictures through the mobile terminals in daily life or during travel and travel. Since current mobile terminals can generally store thousands of images, users may take a large number of images at any time and at any place; the existing mobile terminal generally classifies photos in a day unit, and then stores the classified images in an album, so that the form of the album is difficult to enable the mobile terminal to conveniently find the images desired by the user. Therefore, the existing mobile terminal is low in efficiency of searching for the image.
Disclosure of Invention
The embodiment of the invention provides a processing method of an album and a mobile terminal, and aims to solve the problem that the efficiency of searching images by the mobile terminal is low.
In order to solve the technical problem, the invention is realized as follows: a method of processing an album, comprising:
carrying out scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1;
acquiring a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas;
and respectively adding the description information of the N scenes in the N description areas of the target album template, and respectively adding cover images of the image sets of the N scenes in the N image areas to obtain the note album.
In a first aspect, an embodiment of the present invention provides a method for processing an album, including:
carrying out scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1;
acquiring a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas;
and respectively adding the description information of the N scenes in the N description areas of the target album template, and respectively adding cover images of the image sets of the N scenes in the N image areas to obtain the note album.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the classification module is used for carrying out scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1;
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a target album template, the target album template comprises N description areas and N picture areas, the N description areas correspond to the N scenes respectively, and the N picture areas correspond to the N description areas respectively;
and the first adding module is used for respectively adding the description information of the N scenes in the N description areas of the target album template and respectively adding the cover images of the image sets of the N scenes in the N picture areas so as to obtain the note album.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the album processing method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the processing method for an album.
In the embodiment of the invention, the mobile terminal can form the note album which simultaneously has the cover images of all scenes and the description information corresponding to the cover images, so that the efficiency of searching the images by the mobile terminal can be improved by the album in the form of combining the pictures and texts.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a processing method of an album according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an album template in the album processing method according to the embodiment of the present invention;
FIG. 3 is a schematic diagram of a note album in the album processing method according to the embodiment of the present invention;
FIG. 4 is a flow chart of another processing method of an album according to an embodiment of the present invention;
FIG. 5 is a flowchart of an example of another processing method for an album according to an embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 8 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 9 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 10 is a block diagram of another mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a processing method of an album, which is applied to a mobile terminal and shown in fig. 1, and includes the following steps:
step 101, performing scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1.
The preset time period may be any one time period, and may be, for example, 1 hour, 12 hours, 1 day, 1 week, 1 month, or the like; specifically, for example, the preset time period may be from 0/20/4/2018 to 24/4/20/2018; in short, the preset time period may be specifically set according to the needs of the user, and is not limited thereto. The scene classification of the image shot by the mobile terminal in the preset time period may refer to that the mobile terminal classifies the image shot by the mobile terminal in the preset time period based on a preset rule or algorithm according to the parameter information of the obtained image. For example, the images can be classified into scenes such as people, scenery, places, objects, and the like by recognizing the contents of the images. Furthermore, the scene of the person can be further subdivided into scenes such as baby, woman, man, laughing, crying or combination, and the method for classifying the scenes is not limited. The image set of N scenes may be a set storing images divided into various scenes; for example, 20 images are divided into a human scene, and the 20 images form a set, i.e., an image set.
102, obtaining a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas.
The target album template may be a pre-configured template that is already stored locally, or may be a template stored on a server, which is not limited herein. The description area can be an area to be filled for the mobile terminal to fill description information; and the picture area can be an area to be filled of a cover image of the image set, which is used for filling the mobile terminal. Furthermore, the N description areas correspond to the N scenes, respectively, and description information in the N description areas may correspond to images in the N scenes; similarly, that the N picture areas correspond to the N description areas respectively may also mean that the description information in the N picture areas corresponds to the cover image in the N description areas. For example, if there are 3 scenes including people, scenery, and places, the people correspond to 1 or more description areas, the scenery corresponds to 1 or more description areas, and the places correspond to 1 description area; and the description area corresponding to the person, the description area corresponding to the landscape and the description area corresponding to the place respectively correspond to the picture areas with the matched number. For example, as shown in fig. 2, the underlined portion in the figure is a description region, and the dashed square frame portion in the figure is a picture region.
103, adding the description information of the N scenes in the N description areas of the target album template respectively, and adding the cover images of the image sets of the N scenes in the N image areas respectively to obtain the record album.
The description information of the N scenes may refer to information for describing the content or some parameters of each scene. For example, the description information may be the number of image sets of a certain scene, or the name, object name, person name or person relationship of a place in a certain scene. Preferably, a tag database may be created for storing the description information of the above various possible scenarios, so that the mobile terminal may call the N description areas of the target album template when adding the description information of the N scenarios respectively.
It should be noted that the cover image may be an image in an image set of a scene, for example, an image with the highest score in the image set of a certain scene; of course, the cover image may be other images, and the selection standard or mode of the cover image is not limited. The recording photo album can be an album which is combined by the description information and the cover image and has the content of the recording form. In an example, the mobile terminal is divided into 3 scenes, namely, a figure, a landscape and a place, wherein the xiaoli is description information corresponding to the figure scene, and the Hangzhou is description information corresponding to the landscape or the place, wherein the xiaoli and the Hangzhou can analyze images; the memo album generated later can be as shown in fig. 3, which shows the mobile terminal after the description information and the cover image are added.
Therefore, the note album of the mobile terminal is provided with the description information of each scene and the corresponding cover image, and through the image-text combination mode of the note album, a user can know more information when checking the image, so that the user can recall the things happening when shooting at that time, and the efficiency of the mobile terminal for searching the image is improved.
In an embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
According to the embodiment of the invention, the mobile terminal can form the note album which is provided with the cover image of each scene and the description information corresponding to the cover image, so that the efficiency of searching the image by the mobile terminal can be improved through the album in the image-text combination form.
Referring to fig. 4, fig. 4 is a flowchart of another processing method of an album according to an embodiment of the present invention. The main difference between the present embodiment and the previous embodiment is that the event album is displayed in the present embodiment; and in the case that a touch input is received at the position of one cover image of the cover images of the image sets of the N scenes, responding to the touch input, and displaying an image viewing interface of the image set corresponding to the one cover image. As shown in fig. 4, the method comprises the following steps:
step 401, performing scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, where N is an integer greater than 1.
The related description of step 401 has already been described in detail in the first embodiment, and is not repeated here to avoid repetition.
Step 402, obtaining a target album template, wherein the target album template includes N description areas and N picture areas, wherein the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas.
The related description of step 402 has already been described in detail in the first embodiment, and is not repeated here to avoid repetition.
Optionally, the step of obtaining the target album template includes:
and searching the target album template in an album template library according to the N scenes, wherein the target album template corresponds to the N scenes, the album template library comprises a plurality of album templates, and different album templates correspond to different scene combinations.
The target album template is searched in an album template library according to the N scenes, and the target album template may be searched in the album template library according to the scene types and the scene numbers existing in the N scenes. The album template library may be a database for storing all album templates on the mobile terminal or the server. The scene combination may refer to a combination formed by matching various scenes; for example, the mobile terminal divides 2 scenes, namely a person and a landscape, according to the images shot in the preset time period, and at this time, an album template corresponding to the person and the landscape can be searched in the album template library according to the person and the landscape. In addition, the different album templates correspond to different scene combinations, which may mean that each album template is different from each other, and there is a corresponding scene combination corresponding to it, and each scene combination is different from each other.
Therefore, the target album template corresponds to the N scenes, and different album templates correspond to different scene combinations, so that various scenes can have corresponding album templates, and the application range and the flexibility are larger.
Optionally, before the step of obtaining the target album template, the method further includes:
obtaining scores of all images in a target image set, wherein the target image set is an image set with the image quantity not less than M in the image set of the N scenes, the score of an image i is the sum of L image parameter weight values of the image i, the image parameter weight value j is equal to the product of an image parameter value k and the weight value of the image parameter value k, the M is an integer greater than 1, the L is an integer greater than 1, the i is any integer from 1 to the M, the j is any integer from 1 to the L, and the k is any integer from 1 to the L;
and according to the sequence of image scores from high to low, selecting the first M images from the target image set to combine to form an M-grid jigsaw puzzle, and taking the M-grid jigsaw puzzle as a cover image of the target image set.
Wherein, the image parameter value can be any parameter value of the image; for example, for a human image, the image parameter values include, but are not limited to, face size to image ratio, face angle or brightness, etc., and for a landscape image, the image parameter values include, but are not limited to, exposure, color temperature or contrast, etc. In addition, the M grid is shown in the position of the ' people ' photo ' in FIG. 3, and a four grid is shown in the position shown in the figure.
In order to better score each image in the target image set, where the target image set is an image set in which the number of images in the image sets of the N scenes is not less than M, the score of an image i is the sum of L image parameter weight values of the image i, and the image parameter weight value j is equal to the product of an image parameter value k and a weight value of the image parameter value k; the following will be explained with a detailed example:
for example, if M is 2 and 30 images are stored in an image set of a certain character scene of the mobile terminal, the image set is a target image set, and at this time, a score of each image in the target image set is calculated, where the image parameter values may be a face-to-image ratio, a face angle, and a brightness; it should be noted that the value of the face angle may be set according to the face orientation angle, for example, the front face is oriented forward to be 1, and the 45 degree angle is oriented left or right to be 0.6. The weight value of the face in the picture proportion set by the mobile terminal is 0.5, the weight value of the face angle is 0.35, and the weight value of the brightness is 0.15; if the face proportion of the image a in the target image set is 0.4, the face angle is 0.8, and the brightness is 0.6, then the score of the image is 0.57 according to the formula 0.4 × 0.5+0.8 × 0.35+0.6 × 0.15, and the scores of the other images are calculated in this way, so that the scores of the 30 images in the image set of the certain person scene are obtained. Further, if a is the highest scoring image and there are B, C, D photographs in sequence for the images with a lower score than a, then A, B, C and D can be combined to form a four-grid as in the "photos of persons" position in fig. 3.
In this way, the mobile terminal can display a plurality of better images in the image set in the cover page of the image set, so that more information about the images in the image set is provided, and the user can conveniently and roughly judge the images in the image set.
It should be noted that, in this embodiment, the image that most matches the scene may be directly selected as the cover image for some image sets, for example: if a scene is an image set of a certain sight point, an image including all information of the sight point can be directly selected as a cover image, or an image with the best quality in the image set can be selected as a cover image.
And step 403, adding the description information of the N scenes in the N description areas of the target album template, and adding the cover images of the image sets of the N scenes in the N image areas, respectively, to obtain a note album.
The related description of step 403 has already been described in detail in the first embodiment, and is not repeated here to avoid repetition.
Optionally, after the steps of adding the description information of the N scenes to the N description areas of the target album template and adding the cover images of the image sets of the N scenes to the N image areas respectively to obtain the event-recording album, the method further includes:
and acquiring weather information of the mobile terminal in the preset time period, and adding the weather information into the note album.
The weather information of the mobile terminal in the preset time period may refer to weather information of the mobile terminal when the mobile terminal is located at a certain place in the preset time period; the weather information can be obtained by inquiring from the internet according to the longitude and latitude positioning information of the mobile terminal. For example, the mobile terminal is located in beijing city in the day of No. 4 and No. 16, and the acquired weather is the weather of beijing city.
Therefore, the weather information is added into the note album, the information provided by the mobile terminal is enriched, and the user can check the photos conveniently.
Optionally, in the note album, the N description areas are associated with each other through a pre-configured text, and a picture area corresponding to each description area is provided at a position corresponding to each description area, so as to form note multimedia information related to an image shot by the mobile terminal within a preset time period.
The N description areas are associated with the preconfigured text, which may mean that the N description areas are associated with the preconfigured text as a whole. The event-recording multimedia information related to the image shot by the mobile terminal in the preset time period can be content information in an event-recording style format with the image, and the content in the information corresponds to the image shot by the mobile terminal in the preset time period. In particular, with reference to FIG. 3, it can be seen that the note album shown in FIG. 3 is actually a text-combined diary.
Therefore, the mobile terminal can form event-recording multimedia information related to the image shot by the mobile terminal within the preset time period, so that the photo album is more colorful, and the user can be helped to remember and record life.
And step 404, displaying the note album.
And displaying the note album refers to displaying the obtained note album on a screen. For example, a note album generated by the mobile terminal is stored locally after being generated, and after a user clicks an icon of the note album, the mobile terminal displays the content in the note album.
Step 405, in a case that a touch input is received at a position of one cover image of the cover images of the image sets of the N scenes, responding to the touch input, and displaying an image viewing interface of the image set corresponding to the one cover image.
The touch input may be various touch operation instructions input by a user, such as a click operation, a long-press operation, or a slide operation, which is not limited herein. And the image viewing interface can be an interface for arranging and displaying all the images in the image set in a thumbnail mode. Therefore, the mobile terminal can enable a user to conveniently enter the image viewing interface of each image set, and the photo viewing efficiency is further improved.
To better explain the present embodiment, a preferred embodiment will be described below, and a flowchart thereof can be referred to fig. 5:
s1, establishing an album template library, configuring a target album template in advance, carrying out scene classification on each image shot by the mobile terminal within a preset time period in the step to obtain each scene, and corresponding each album template to each scene, wherein the album template comprises a picture area and a character area.
And S2, creating a label database, and analyzing each parameter information of each image shot by the mobile terminal in a preset time period so as to call when selecting a template or adding description information.
S3, according to the data in the label database, inquiring the number of images in the image set of each scene, ignoring the scenes with the number of images less than 2, and not using the scenes in S4 as the basis of inquiring the template.
And S4, inquiring a corresponding target album template from the album template library of S1 according to each scene.
S5, filling the picture area with the cover image of the image set of each scene.
And S6, extracting various parameter information from the label database established in the S2 as description information and filling the description information into a description area, thereby obtaining the event album.
And S7, displaying the note photo album, and jumping to a thumbnail viewing interface of an image set corresponding to a cover image if a click instruction input by a user is received at the cover image.
In this embodiment, the mobile terminal displays the note album, and displays the image viewing interface of the image set corresponding to the cover image when a touch input is received at a position of one of the cover images of the image set of the N scenes, so that the efficiency of viewing the photos can be further improved.
Referring to fig. 6, fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 6, the mobile terminal 600 includes: a classification module 601, a first obtaining module 602 and a first adding module 603; wherein:
the classification module 601 is configured to divide images shot by the mobile terminal within a preset time period to obtain image sets of N scenes, where N is an integer greater than 1;
a first obtaining module 602, configured to obtain a target album template, where the target album template includes N description areas and N picture areas, where the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas;
a first adding module 603, configured to add description information of the N scenes to N description areas of the target album template, and add cover images of image sets of the N scenes to the N picture areas, respectively, so as to obtain a note album.
Optionally, as shown in fig. 7, the mobile terminal 600 further includes:
a display module 604, configured to display the event album;
a display module 605, configured to, in a case where a touch input is received at a position of one of the cover images of the image sets of the N scenes, display an image viewing interface of the image set corresponding to the one of the cover images in response to the touch input.
Optionally, the first obtaining module 602 is configured to search the target album template in an album template library according to the N scenes, where the target album template corresponds to the N scenes, the album template library includes a plurality of album templates, and different album templates correspond to different scene combinations.
Optionally, as shown in fig. 8, the mobile terminal 600 further includes:
a second obtaining module 606, configured to obtain scores of images in a target image set, where the target image set is an image set in which the number of images in the image set of the N scenes is not less than M, a score of an image i is a sum of L image parameter weight values of the image i, the image parameter weight value j is equal to a product of an image parameter value k and a weight value of the image parameter value k, M is an integer greater than 1, L is an integer greater than 1, i is any integer from 1 to M, j is any integer from 1 to L, and k is any integer from 1 to L;
and the combination module 607 is used for selecting the first M images from the target image set according to the sequence of the image scores from high to low to combine to form an M-grid jigsaw puzzle, and taking the M-grid jigsaw puzzle as a cover image of the target image set.
Optionally, as shown in fig. 9, the mobile terminal 600 further includes:
a second adding module 608, configured to obtain weather information of the mobile terminal in the preset time period, and add the weather information to the note album.
Optionally, in the note album, the N description areas are associated with each other through a pre-configured text, and a picture area corresponding to each description area is provided at a position corresponding to each description area, so as to form note multimedia information related to an image shot by the mobile terminal within a preset time period.
The mobile terminal provided by the embodiment of the invention can realize each process realized by the mobile terminal in the method embodiment, and can achieve the same beneficial effects, and in order to avoid repetition, the detailed description is omitted here.
Referring to fig. 10, fig. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. 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 palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1010 is configured to divide images shot by the mobile terminal within a preset time period to obtain image sets of N scenes, where N is an integer greater than 1;
acquiring a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas;
and respectively adding the description information of the N scenes in the N description areas of the target album template, and respectively adding cover images of the image sets of the N scenes in the N image areas to obtain the note album.
Optionally, the processor 1010 is further configured to display the note album;
and under the condition that touch input is received at the position of one cover image of the cover images of the image sets of the N scenes, responding to the touch input, and displaying an image viewing interface of the image set corresponding to the one cover image.
Optionally, the obtaining the target album template executed by the processor 1010 includes:
and searching the target album template in an album template library according to the N scenes, wherein the album template corresponds to the N scenes, the album template library comprises a plurality of album templates, and different album templates correspond to different scene combinations.
Optionally, the processor 1010 is further configured to obtain scores of images in a target image set, where the target image set is an image set in which the number of images in the image set of the N scenes is not less than M, a score of an image i is a sum of L image parameter weight values of the image i, the image parameter weight value j is equal to a product of an image parameter value k and a weight value of the image parameter value k, M is an integer greater than 1, L is an integer greater than 1, i is any integer from 1 to M, j is any integer from 1 to L, and k is any integer from 1 to L;
and according to the sequence of image scores from high to low, selecting the first M images from the target image set to combine to form an M-grid jigsaw puzzle, and taking the M-grid jigsaw puzzle as a cover image of the target image set.
Optionally, the processor 1010 is further configured to acquire weather information of the mobile terminal in the preset time period, and add the weather information to the note album.
Optionally, in the note album, the N description areas are associated with each other through a pre-configured text, and a picture area corresponding to each description area is provided at a position corresponding to each description area, so as to form note multimedia information related to an image shot by the mobile terminal within a preset time period.
The mobile terminal 1000 may improve efficiency of finding an image, with the same advantageous effects as the method embodiments.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 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. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The mobile terminal 1000 can also include at least one sensor 1005, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the mobile terminal 1000 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 1008 is an interface through which an external device is connected to the mobile terminal 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 1000 or may be used to transmit data between the mobile terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the mobile terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The mobile terminal 1000 may also include a power supply 1011 (e.g., a battery) for powering the various components, and the power supply 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the above album processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above album processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A processing method of an album is applied to a mobile terminal, and is characterized by comprising the following steps:
carrying out scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1;
acquiring a target album template, wherein the target album template comprises N description areas and N picture areas, the N description areas respectively correspond to the N scenes, and the N picture areas respectively correspond to the N description areas;
respectively adding the description information of the N scenes in N description areas of the target album template, and respectively adding cover images of the image sets of the N scenes in the N image areas to obtain a note album;
before the step of obtaining the target album template, the method further comprises:
obtaining scores of all images in a target image set, wherein the target image set is an image set with the image quantity not less than M in the image set of the N scenes, the score of an image i is the sum of L image parameter weight values of the image i, the image parameter weight value j is equal to the product of an image parameter value k and the weight value of the image parameter value k, the M is an integer greater than 1, the L is an integer greater than 1, the i is any integer from 1 to the M, the j is any integer from 1 to the L, and the k is any integer from 1 to the L;
according to the sequence of image scores from high to low, selecting the first M images from the target image set to combine to form an M-grid jigsaw puzzle, and taking the M-grid jigsaw puzzle as a cover image of the target image set;
after the steps of adding the description information of the N scenes to the N description areas of the target album template and adding the cover images of the image sets of the N scenes to the N image areas respectively to obtain the event album, the method further includes:
acquiring weather information of the mobile terminal in the preset time period, and adding the weather information into the note album;
in the event recording album, the N description areas are associated through a preset text, and a picture area corresponding to each description area is arranged at a position corresponding to each description area so as to form event recording multimedia information related to an image shot by the mobile terminal within a preset time period.
2. The method according to claim 1, wherein after the steps of adding the description information of the N scenes to the N description areas of the target album template, respectively, and adding the cover image of the image set of the N scenes to the N picture areas, respectively, the method further comprises:
displaying the record album;
and under the condition that touch input is received at the position of one cover image of the cover images of the image sets of the N scenes, responding to the touch input, and displaying an image viewing interface of the image set corresponding to the one cover image.
3. The method of claim 1, wherein the step of obtaining a target album template comprises:
and searching the target album template in an album template library according to the N scenes, wherein the target album template corresponds to the N scenes, the album template library comprises a plurality of album templates, and different album templates correspond to different scene combinations.
4. A mobile terminal, comprising:
the classification module is used for carrying out scene classification on images shot by the mobile terminal within a preset time period to obtain an image set of N scenes, wherein N is an integer greater than 1;
the system comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining a target album template, the target album template comprises N description areas and N picture areas, the N description areas correspond to the N scenes respectively, and the N picture areas correspond to the N description areas respectively;
the first adding module is used for respectively adding the description information of the N scenes in N description areas of the target album template and respectively adding cover images of image sets of the N scenes in the N picture areas to obtain a note album;
the mobile terminal further includes:
a second obtaining module, configured to obtain scores of images in a target image set, where the target image set is an image set in which the number of images in the image set of the N scenes is not less than M, a score of an image i is a sum of L image parameter weight values of the image i, the image parameter weight value j is equal to a product of an image parameter value k and a weight value of the image parameter value k, M is an integer greater than 1, L is an integer greater than 1, i is any integer from 1 to M, j is any integer from 1 to L, and k is any integer from 1 to L;
the combination module is used for selecting the first M images from the target image set according to the sequence of the image scores from high to low to combine to form an M grid jigsaw and taking the M grid jigsaw as a cover image of the target image set;
the mobile terminal further includes:
the second adding module is used for acquiring the weather information of the mobile terminal in the preset time period and adding the weather information into the note album;
in the event recording album, the N description areas are associated through a preset text, and a picture area corresponding to each description area is arranged at a position corresponding to each description area so as to form event recording multimedia information related to an image shot by the mobile terminal within a preset time period.
5. The mobile terminal of claim 4, wherein the mobile terminal further comprises:
the display module is used for displaying the note album;
the display module is used for responding to the touch input when the touch input is received at the position of one cover image of the cover images of the image sets of the N scenes, and displaying the image viewing interface of the image set corresponding to the one cover image.
6. The mobile terminal according to claim 4, wherein the first obtaining module is configured to search the target album template in an album template library according to the N scenes, wherein the target album template corresponds to the N scenes, the album template library includes a plurality of album templates, and different album templates correspond to different combinations of scenes.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the processing method of an album according to any one of claims 1 to 3 when executing the computer program.
CN201810394016.3A 2018-04-27 2018-04-27 Photo album processing method and mobile terminal Active CN108628985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810394016.3A CN108628985B (en) 2018-04-27 2018-04-27 Photo album processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810394016.3A CN108628985B (en) 2018-04-27 2018-04-27 Photo album processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108628985A CN108628985A (en) 2018-10-09
CN108628985B true CN108628985B (en) 2021-02-26

Family

ID=63694876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810394016.3A Active CN108628985B (en) 2018-04-27 2018-04-27 Photo album processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108628985B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218646A (en) * 2018-10-11 2019-01-15 惠州市德赛西威智能交通技术研究院有限公司 Vehicle electronics photograph album control method, device, car-mounted terminal and storage medium
CN110737795A (en) * 2019-10-16 2020-01-31 北京字节跳动网络技术有限公司 Photo album cover determining method, device, equipment and storage medium
CN110825897A (en) * 2019-10-29 2020-02-21 维沃移动通信有限公司 Image screening method and device and mobile terminal
CN112269891A (en) * 2020-10-26 2021-01-26 深圳市雷鸟网络传媒有限公司 Dynamic album generating method, server, display terminal and readable storage medium
CN113407754B (en) * 2021-07-13 2023-12-15 北京达佳互联信息技术有限公司 Album generating method, apparatus, electronic device and storage medium
CN117877070A (en) * 2023-05-24 2024-04-12 武汉星巡智能科技有限公司 Infant and pet interaction content assessment method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622424A (en) * 2012-02-23 2012-08-01 广州商景网络科技有限公司 Method and system for multi electronic photo album display
CN103365887A (en) * 2012-03-31 2013-10-23 腾讯科技(深圳)有限公司 Photo album cover forming method and device
CN105528451A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for processing photos in photo album
CN105893464A (en) * 2016-03-28 2016-08-24 乐视控股(北京)有限公司 Method and device for setting cover photo of photo album and mobile phone
CN106021405A (en) * 2016-05-12 2016-10-12 北京奇虎科技有限公司 Method and device for generating photo album cover
CN107705251A (en) * 2017-09-21 2018-02-16 努比亚技术有限公司 Picture joining method, mobile terminal and computer-readable recording medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4578948B2 (en) * 2003-11-27 2010-11-10 富士フイルム株式会社 Image editing apparatus and method, and program
US9305024B2 (en) * 2011-05-31 2016-04-05 Facebook, Inc. Computer-vision-assisted location accuracy augmentation
CN104133917B (en) * 2014-08-15 2018-08-10 百度在线网络技术(北京)有限公司 The classification storage method and device of photo
CN105528444A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for generating photo album
CN106657793B (en) * 2017-01-11 2019-01-22 维沃移动通信有限公司 A kind of image processing method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622424A (en) * 2012-02-23 2012-08-01 广州商景网络科技有限公司 Method and system for multi electronic photo album display
CN103365887A (en) * 2012-03-31 2013-10-23 腾讯科技(深圳)有限公司 Photo album cover forming method and device
CN105528451A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for processing photos in photo album
CN105893464A (en) * 2016-03-28 2016-08-24 乐视控股(北京)有限公司 Method and device for setting cover photo of photo album and mobile phone
CN106021405A (en) * 2016-05-12 2016-10-12 北京奇虎科技有限公司 Method and device for generating photo album cover
CN107705251A (en) * 2017-09-21 2018-02-16 努比亚技术有限公司 Picture joining method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108628985A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108628985B (en) Photo album processing method and mobile terminal
CN108184050B (en) Photographing method and mobile terminal
CN110891144B (en) Image display method and electronic equipment
CN107846352B (en) Information display method and mobile terminal
CN109525874B (en) Screen capturing method and terminal equipment
US10768881B2 (en) Multi-screen interaction method and system in augmented reality scene
CN106127829B (en) Augmented reality processing method and device and terminal
CN109495616B (en) Photographing method and terminal equipment
CN109618218B (en) Video processing method and mobile terminal
US11863901B2 (en) Photographing method and terminal
CN109495638B (en) Information display method and terminal
CN109815462B (en) Text generation method and terminal equipment
CN110955788A (en) Information display method and electronic equipment
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN108600609A (en) The method and device of auxiliary photo-taking
CN113609358B (en) Content sharing method, device, electronic equipment and storage medium
CN109669710B (en) Note processing method and terminal
CN109947988B (en) Information processing method and device, terminal equipment and server
CN111064888A (en) Prompting method and electronic equipment
CN112989198A (en) Push content determination method, device, equipment and computer-readable storage medium
CN110045892B (en) Display method and terminal equipment
CN110490953B (en) Text-based image generation method, terminal device and medium
CN107896282B (en) Schedule viewing method and device and terminal
CN108509126B (en) Picture processing method and mobile terminal
CN107844203B (en) Input method candidate word recommendation method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant