CN112307238A - Image management method and device and electronic equipment - Google Patents

Image management method and device and electronic equipment Download PDF

Info

Publication number
CN112307238A
CN112307238A CN202011194174.8A CN202011194174A CN112307238A CN 112307238 A CN112307238 A CN 112307238A CN 202011194174 A CN202011194174 A CN 202011194174A CN 112307238 A CN112307238 A CN 112307238A
Authority
CN
China
Prior art keywords
image
identifier
images
folder
module
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
CN202011194174.8A
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 Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011194174.8A priority Critical patent/CN112307238A/en
Publication of CN112307238A publication Critical patent/CN112307238A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses an image management method, an image management device and electronic equipment, which belong to the technical field of communication, wherein the method comprises the following steps: performing image-text analysis on image-text dynamic in the social application program, and generating a first image identifier for a first image contained in the image-text dynamic; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier. The image management method disclosed by the application can mark the same identification on the images with the same or similar contents, so that the system can conveniently classify the images in detail according to the identification, and the images are effectively and reasonably managed.

Description

Image management method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image management method and device and electronic equipment.
Background
At present, photographing, downloading images, screenshot and the like are common functions in the using process of a user, and hundreds of images are generated in the implementation process of the functions, so that the reasonable and effective management of the images in the electronic equipment is very important.
The management of images by electronic devices currently includes: and basic functions of storage, addition and deletion, classification, editing, sharing, searching and the like are realized. When images are classified, the classification granularity is rough, usually, a system automatically sets several classifications, and a large number of images still correspond to each classification. If the user is not satisfied with the granularity of classification provided by the system, it takes time and effort to manually classify the images.
Moreover, the image classification granularity set by the system is rough, so that inconvenience is brought to users in the using process. For example: the user needs to upload the certificate photo, and if the certificate photo classification is not set in the electronic equipment photo album, the user needs to search for the target certificate photo in a large number of images, so that the operation is complex and time-consuming.
Disclosure of Invention
The embodiment of the application aims to provide an image management method, which can solve the problem that the image management cannot be reasonably and effectively carried out in the existing image management method.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides an image management method, where the method includes: performing image-text analysis on image-text dynamic in the social application program, and generating a first image identifier for a first image contained in the image-text dynamic; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier.
In a second aspect, an embodiment of the present application provides an image management apparatus, where the apparatus includes: the first generation module is used for carrying out image-text analysis on image-text dynamic in the social application program and generating a first image identifier for a first image contained in the image-text dynamic; the searching module is used for searching each second image related to the first image in each locally stored image; a comparison module, configured to perform image content comparison on the second image and the first image for each second image; and the second generation module is used for generating a second image identifier for the second image according to the comparison result and the first image identifier.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a first image identifier is generated for a first image contained in image-text dynamic through image-text analysis of the image-text dynamic in the social application program; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier, wherein the images with the same or similar contents can be marked with the same identifier, so that the system can conveniently classify the images in detail according to the identifier, and the images are effectively and reasonably managed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application 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 labor.
FIG. 1 is a flow chart illustrating the steps of an image management method according to an embodiment of the present application;
FIG. 2 is a block diagram showing the configuration of an image management apparatus according to an embodiment of the present application;
fig. 3 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The image management method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of an image management method according to an embodiment of the present application is shown.
The image management method of the embodiment of the application comprises the following steps:
step 101: and carrying out image-text analysis on the image-text dynamic state in the social application program, and generating a first image identifier for a first image contained in the image-text dynamic state.
A graphic and text dynamic comprises: at least one first image and at least one piece of text information. The image-text analysis of the image-text dynamic state comprises the following steps: the text analysis is carried out on the character information, content recognition is carried out on each first image, and a text analysis result and an image content recognition result are combined to generate a first image identifier for each first image.
For example: one graph-text dynamic state is ' dad birthday ', one family has a dinner returning … … (see figure 1 and figure 2 … …) ', and information such as ' family image ', ' parent image ', ' father birthday date ', ' eaten restaurant XXX ' and ' birthday cake brand YYYY ' can be analyzed by analyzing the graph-text dynamic state. And based on the analysis result, the information identification, namely the first image identification, analyzed by each matching picture of the system is marked, and the first image identification and the first image are correspondingly stored in the application space of the photo album.
Step 102: and searching each second image related to the first image in each locally stored image.
The inter-image association means that the content has an association between images. For example: the first image and the second image both contain the same person, and the association between the first image and the second image can be determined; for example: the background in the first image and the second image is the same, and the first image and the second image can be determined to be associated; for another example: the first image and the second image are shot on the same date and at the same shooting place, and the association between the first image and the second image can be determined.
Step 103: and comparing the second image with the first image according to the image content of each second image.
The association between the first image and the second image may be a partial content association in the image, or may be an entire content association in the image. For example: the image a includes a group photo of two persons, namely, a small red person and a small red person, and the image B includes only a small red image, and it can be assumed that the image a is related to the image B.
Step 104: and generating a second image identifier for the second image according to the comparison result and the first image identifier.
The second image identification is the same as the first image identification, or part of the content in the first image identification forms the second image identification. For example: the first image is a group photo of parents, the first image marks are 'dad and mom' correspondingly, the second image is a single photo of mom, and the second image mark generated according to the comparison result of the first image and the second image and the first image mark is 'mom' correspondingly.
Still referring to the example in step 101, assuming that fig. 1 is a father image, after performing image-text analysis on the image-text dynamic state, the system generates a "father" identifier for the fig. 1, and the system performs comparison of human-face similarity according to the father image, the mother image, and other images in the electronic device, determines the image with the matching degree higher than the preset value as each second image associated with the fig. 1, and generates the "father" identifier for each second image.
In the same way, each matching image in the dynamic image text is respectively associated and compared with each image stored locally, and a second image identifier is generated for each second image by referring to the first image identifier of each matching image.
By the image management method provided by the embodiment of the application, the same image identification can be generated for the images containing the same or similar content according to the association relation of the content among the images, so that the images managed in the electronic equipment can be classified in detail according to the image identification.
It should be noted that, step 101 to step 104 are only described as an example of managing images in the electronic device according to a dynamic image, and in a specific implementation process, images in the electronic device may be dynamically managed according to various images in the social application program in the same processing manner.
According to the image management method provided by the embodiment of the application, image-text analysis is carried out on image-text dynamic states in the social application program, and a first image identifier is generated for a first image contained in the image-text dynamic states; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier, and marking the same image identifier on the images with the same or similar contents, so that the system can conveniently classify the images in detail according to the identifiers, and the images are effectively and reasonably managed.
After generating the second image identifier for each second image locally stored in the electronic device, the following intelligent services can be provided for the user according to the second image identifier:
in an optional embodiment, after generating the second image identifier for the second image according to the comparison result and the first image identifier, the method further includes the following steps:
the method comprises the following steps that firstly, under the condition that the number of images contained in a first image folder is larger than a first preset number, the accumulated number of second image identifications contained in the image folder is obtained;
the first image folder contains the second image. The first preset number may be set by a person skilled in the art or a user according to actual needs, and is not particularly limited in the embodiment of the present application. For example: the first preset number may be set to 1000, 800, 500, or the like.
Step two, sequencing the accumulated quantities from large to small;
step three, determining second image identifications corresponding to the accumulated quantity of the second preset quantity in the sequence as classification labels;
for example: the number of the second image identifications corresponding to the images in the first image folder is 5, and the second image identifications are respectively identification A, identification B, identification C, identification D and identification E, wherein the cumulative number of the identification A is 200, the cumulative number of the identification B is 150, the cumulative number of the identification C is 50, the cumulative number of the identification D is 100, and the cumulative number of the identification E is 10. If the second preset number is 2, the determined classification labels are the identifier a and the identifier B.
The second preset number may be set by a person skilled in the art or a user according to actual needs, and is not specifically limited in the embodiment of the present application. For example: the second preset number may be set to 2, 3 or 4, etc.
Step four, establishing corresponding subimage folders for all the classification labels in the first image folder;
and fifthly, adding the image corresponding to the classification label in the first image folder to the sub-image folder corresponding to the classification label aiming at each classification label.
For example: the 'tourism' photo album has more than 1000 images, the system can further divide the images in the photo album into 'West lake' photo album, 'Hainan' photo album and other subimage folders with the tourism places as classification labels according to the second image identification corresponding to the images and the second image identification being the tourism places corresponding to the images.
The method for optionally refining the image classification in the bloated album according to the second image identification of the image can improve the image classification accuracy.
In an optional embodiment, after the step of generating the second image identifier for the second image according to the comparison result and the first image identifier, the method further includes the following steps:
firstly, receiving a first input of a user;
the first input may include: and triggering a first operation of establishing an image folder by the system and a second operation of setting a target classification label for the established folder.
Secondly, responding to the first input, establishing a second image folder and distributing a target classification label for the second image folder;
and thirdly, adding a third image corresponding to the target classification label in the locally stored images into the second image folder.
The third image corresponding to the target classification label is the first image identification and the target classification label stored locally
For example: the user triggers the system to create a 'certificate photo' image folder, namely a second image folder, through the first input, the system automatically screens out all the certificate photos, namely third images, stored locally after creation is completed, and all the certificate photos are added into the 'certificate photo' image folder.
In the optional mode, the user can flexibly create the second image folder and define the target classification label of the second image folder, so that the personalized requirements of the user can be met. Moreover, since the system directly adds the third image corresponding to the target classification label to the second image folder, it is convenient and efficient to adjust the images.
In an optional embodiment, after generating the second image identifier for the second image according to the comparison result and the first image identifier, the method may further include: analyzing the dynamic information in the social application program to generate a user information tag; and screening the wallpaper image from the locally stored image for recommendation according to the user information tag. Wherein the user information tag comprises at least one of: a user interest tag and a user recent track tag.
For example: the user sends a friend circle to indicate that the indulgence wool felt handmade recently, and the system can screen relevant images of wool felt handmade such as lovely wool felt doll images from the locally stored images and recommend the images to the user.
The method for optionally screening the wallpaper images for recommendation can increase the reading interest of the user on the recommended wallpaper images and improve the satisfaction degree of the user.
In an optional embodiment, after generating the second image identifier for the second image according to the comparison result and the first image identifier, the following steps may be further included:
firstly, analyzing dynamic information in a social application program to obtain a user commemorative day;
the anniversary may include, but is not limited to: birthday, wedding commemorative day, love commemorative day, etc. The dynamic information may include, but is not limited to: graphics and text dynamic, text dynamic information, and the like. The commemorative days of the users can be obtained through analysis of dynamic information in the social application program. For example: the user publishes a picture and text dynamic on the wedding anniversary day, and the system can determine the publication day as the wedding anniversary of the user through the text information of the picture and text dynamic and the matching picture.
Secondly, presetting time before the commemorative day, and acquiring a locally stored fourth image matched with the commemorative day;
the preset duration may be set by a user or a person skilled in the art according to actual needs, and this is not specifically limited in this embodiment of the application. For example: the preset time period may be set to 1 day, 2 days, 3 days, or the like.
For example: the commemorative day is a wedding commemorative day, and the system can acquire a celebration image of the wedding commemorative day in the past year from the locally stored image as a fourth image.
And finally, displaying the fourth image in a preset mode under the condition that the photo album application program is opened.
For example: the commemorative day is 6 months and 15 days, the preset time is 1 day, and then the No. 6 months and No. 14 display a fourth image. The preset mode can be set by a user or a person skilled in the art according to actual needs, for example: and displaying the fourth images in a cartoon mode, or sequentially displaying the fourth images one by one according to the shooting time sequence, and the like.
In the optional embodiment, the memorial day reminder is output before the memorial day comes, so that the memorial day can be effectively prevented from being missed by the user, and the use experience of the user can be improved.
It should be noted that, in the image management method provided in the embodiment of the present application, the execution subject may be an image management apparatus, or a control module in the image management apparatus for executing the image management method. In the embodiment of the present application, an image management module is taken as an example to execute an image management method, and an image management apparatus provided in the embodiment of the present application is described.
Fig. 2 is a block diagram of an image management apparatus for implementing an embodiment of the present application.
The image management apparatus 200 according to the embodiment of the present application includes:
the first generation module 201 is configured to perform image-text analysis on an image-text dynamic state in a social application program, and generate a first image identifier for a first image included in the image-text dynamic state;
a searching module 202, configured to search for second images associated with the first image in the locally stored images;
a comparison module 203, configured to perform image content comparison on the second image and the first image for each second image;
a second generating module 204, configured to generate a second image identifier for the second image according to the comparison result and the first image identifier.
Optionally, the apparatus further comprises: a first obtaining module, configured to obtain, after the second generating module generates second image identifiers for the second images according to the comparison result and the first image identifiers, an accumulated number of the second image identifiers included in the image folder when a number of images included in the first image folder is greater than a first preset number, where the first image folder includes the second images; the sorting module is used for sorting the accumulated quantities from large to small; the first determining module is used for determining the second image identifications corresponding to the accumulated quantity of the second preset quantity in the front sequence as the classification labels; the first establishing module is used for respectively establishing corresponding sub-image folders for all the classification labels in the first image folder; a first adding module, configured to add, to each classification label, an image corresponding to the classification label in the first image folder to a sub-image folder corresponding to the classification label.
Optionally, the apparatus further comprises: the receiving module is used for receiving a first input of a user after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier; a second establishing module for establishing a second image folder and assigning a target classification tag to the second image folder in response to the first input; and the second adding module is used for adding a third image corresponding to the target classification label in each locally stored image to the second image folder.
Optionally, the apparatus further comprises: a third generating module, configured to, after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier, analyze dynamic information in the social application program to generate a user information tag, where the user information tag includes at least one of the following: a user interest tag and a user recent track tag; and the screening module is used for screening the wallpaper image from the locally stored image for recommendation according to the user information tag.
Optionally, the apparatus further comprises: the second obtaining module is used for analyzing the dynamic information in the social application program after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier, and obtaining a user commemorative day; the third acquisition module is used for acquiring a locally stored fourth image matched with the commemorative day by presetting time length before the commemorative day; and the display module is used for displaying the fourth image in a preset mode under the condition that the photo album application program is opened.
The image management device provided by the embodiment of the application generates a first image identifier for a first image contained in image-text dynamic through image-text analysis of the image-text dynamic in the social application program; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier, wherein the images with the same or similar contents can be marked with the same identifier, so that the system can conveniently classify the images in detail according to the identifier, and the images are effectively and reasonably managed.
The image management device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image management apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The image management apparatus provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of being executed on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the above-mentioned embodiment of the image management method, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is configured to perform image-text analysis on an image-text dynamic state in a social application program, and generate a first image identifier for a first image included in the image-text dynamic state; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier.
According to the electronic equipment provided by the embodiment of the application, the image-text analysis is carried out on the image-text dynamic state in the social application program, and a first image identifier is generated for a first image contained in the image-text dynamic state; searching for second images related to the first image in the locally stored images; for each second image, comparing the second image with the first image in terms of image content; and generating a second image identifier for the second image according to the comparison result and the first image identifier, wherein the images with the same or similar contents can be marked with the same identifier, so that the system can conveniently classify the images in detail according to the identifier, and the images are effectively and reasonably managed.
Optionally, after the processor 410 generates a second image identifier for the second image according to the comparison result and the first image identifier, the processor is further configured to: under the condition that the number of images contained in a first image folder is larger than a first preset number, acquiring the accumulated number of second image identifications contained in the image folder, wherein the first image folder contains the second images; sorting the accumulated quantities from large to small; determining second image identifications corresponding to the accumulated quantity of the second preset quantity in the front sequence as classification labels; establishing corresponding sub-image folders for all the classification labels in the first image folder respectively; and for each classification label, adding the image corresponding to the classification label in the first image folder to the sub-image folder corresponding to the classification label.
Optionally, the user input unit 407 is configured to receive a first input of a user after the processor 401 generates a second image identifier for the second image according to the comparison result and the first image identifier;
a processor 410, further configured to, in response to the first input, create a second image folder and assign a target classification label to the second image folder; and adding a third image corresponding to the target classification label in the locally stored images to the second image folder.
Optionally, the processor 410 is further configured to, after generating a second image identifier for the second image according to the comparison result and the first image identifier, analyze dynamic information in the social application program to generate a user information tag, where the user information tag includes at least one of: a user interest tag and a user recent track tag; and screening wallpaper images from the locally stored images for recommendation according to the user information labels.
Optionally, the processor 410 is further configured to, after generating a second image identifier for the second image according to the comparison result and the first image identifier, analyze dynamic information in the social application program to obtain a user anniversary; presetting time before the commemorative day, and acquiring a locally stored fourth image matched with the commemorative day;
and the display unit 406 is configured to display the fourth image in a preset manner when the album application is started.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the image management method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the image management method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An image management method, characterized in that the method comprises:
performing image-text analysis on image-text dynamic in the social application program, and generating a first image identifier for a first image contained in the image-text dynamic;
searching for second images related to the first image in the locally stored images;
for each second image, comparing the second image with the first image in terms of image content;
and generating a second image identifier for the second image according to the comparison result and the first image identifier.
2. The method of claim 1, wherein after the step of generating a second image identifier for the second image based on the comparison and the first image identifier, the method further comprises:
under the condition that the number of images contained in a first image folder is larger than a first preset number, acquiring the accumulated number of second image identifications contained in the first image folder, wherein the first image folder contains the second images;
sorting the accumulated quantities from large to small;
determining second image identifications corresponding to the accumulated quantity of the second preset quantity in the front sequence as classification labels;
establishing corresponding sub-image folders for all the classification labels in the first image folder respectively;
and for each classification label, adding the image corresponding to the classification label in the first image folder to the sub-image folder corresponding to the classification label.
3. The method of claim 1, wherein after the step of generating a second image identifier for the second image based on the comparison and the first image identifier, the method further comprises:
receiving a first input of a user;
in response to the first input, creating a second image folder and assigning a target classification label to the second image folder;
and adding a third image corresponding to the target classification label in the locally stored images to the second image folder.
4. The method of claim 1, wherein after the step of generating a second image identifier for the second image based on the comparison and the first image identifier, the method further comprises:
analyzing the dynamic information in the social application program to generate a user information tag, wherein the user information tag comprises at least one of the following: a user interest tag and a user recent track tag;
and screening wallpaper images from the locally stored images for recommendation according to the user information labels.
5. The method of claim 1, wherein after the step of generating a second image identifier for the second image based on the comparison and the first image identifier, the method further comprises:
analyzing the dynamic information in the social application program to obtain a user commemorative day;
presetting time before the commemorative day, and acquiring a locally stored fourth image matched with the commemorative day;
and displaying the fourth image in a preset mode under the condition that the photo album application program is opened.
6. An image management apparatus, characterized in that the apparatus comprises:
the first generation module is used for carrying out image-text analysis on image-text dynamic in the social application program and generating a first image identifier for a first image contained in the image-text dynamic;
the searching module is used for searching each second image related to the first image in each locally stored image;
a comparison module, configured to perform image content comparison on the second image and the first image for each second image;
and the second generation module is used for generating a second image identifier for the second image according to the comparison result and the first image identifier.
7. The apparatus of claim 6, further comprising:
a first obtaining module, configured to obtain, after the second generating module generates second image identifiers for the second images according to the comparison result and the first image identifiers, an accumulated number of the second image identifiers included in the image folder when a number of images included in the first image folder is greater than a first preset number, where the first image folder includes the second images;
the sorting module is used for sorting the accumulated quantities from large to small;
the first determining module is used for determining the second image identifications corresponding to the accumulated quantity of the second preset quantity in the front sequence as the classification labels;
the first establishing module is used for respectively establishing corresponding sub-image folders for all the classification labels in the first image folder;
a first adding module, configured to add, to each classification label, an image corresponding to the classification label in the first image folder to a sub-image folder corresponding to the classification label.
8. The apparatus of claim 6, further comprising:
the receiving module is used for receiving a first input of a user after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier;
a second establishing module for establishing a second image folder and assigning a target classification tag to the second image folder in response to the first input;
and the second adding module is used for adding a third image corresponding to the target classification label in each locally stored image to the second image folder.
9. The apparatus of claim 6, further comprising:
a third generating module, configured to, after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier, analyze dynamic information in the social application program to generate a user information tag, where the user information tag includes at least one of the following: a user interest tag and a user recent track tag;
and the screening module is used for screening the wallpaper image from the locally stored image for recommendation according to the user information tag.
10. The apparatus of claim 6, further comprising:
the second obtaining module is used for analyzing the dynamic information in the social application program after the second generating module generates a second image identifier for the second image according to the comparison result and the first image identifier, and obtaining a user commemorative day;
the third acquisition module is used for acquiring a locally stored fourth image matched with the commemorative day by presetting time length before the commemorative day;
and the display module is used for displaying the fourth image in a preset mode under the condition that the photo album application program is opened.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the image management method according to any one of claims 1 to 5.
CN202011194174.8A 2020-10-30 2020-10-30 Image management method and device and electronic equipment Pending CN112307238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011194174.8A CN112307238A (en) 2020-10-30 2020-10-30 Image management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011194174.8A CN112307238A (en) 2020-10-30 2020-10-30 Image management method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112307238A true CN112307238A (en) 2021-02-02

Family

ID=74333094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011194174.8A Pending CN112307238A (en) 2020-10-30 2020-10-30 Image management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112307238A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2835748A1 (en) * 2013-08-05 2015-02-11 Facebook, Inc. Systems and methods for image classification by correlating contextual cues with images
US20170091584A1 (en) * 2015-09-30 2017-03-30 International Business Machines Corporation Classifying and Grouping Electronic Images
CN111488891A (en) * 2019-01-25 2020-08-04 中国移动通信有限公司研究院 Image identification processing method, device, equipment and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2835748A1 (en) * 2013-08-05 2015-02-11 Facebook, Inc. Systems and methods for image classification by correlating contextual cues with images
US20170091584A1 (en) * 2015-09-30 2017-03-30 International Business Machines Corporation Classifying and Grouping Electronic Images
CN111488891A (en) * 2019-01-25 2020-08-04 中国移动通信有限公司研究院 Image identification processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109471657A (en) Gray scale dissemination method, device, computer equipment and computer storage medium
CN107368550B (en) Information acquisition method, device, medium, electronic device, server and system
CN113014476B (en) Group creation method and device
CN105824863B (en) Desktop theme recommendation method and terminal
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN114040248A (en) Video processing method and device and electronic equipment
CN112449110B (en) Image processing method and device and electronic equipment
CN107562954B (en) Recommendation search method and device based on mobile terminal and mobile terminal
CN113220393A (en) Display method and device and electronic equipment
CN112287141A (en) Photo album processing method and device, electronic equipment and storage medium
CN112734661A (en) Image processing method and device
CN112330728A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111954079A (en) Image processing method, image processing apparatus, electronic device, and medium
CN110580486A (en) Data processing method and device, electronic equipment and readable medium
CN112307238A (en) Image management method and device and electronic equipment
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN114416664A (en) Information display method, information display device, electronic apparatus, and readable storage medium
CN114491218A (en) Information updating method, information updating device, electronic device, and medium
CN112818147A (en) Picture processing method, device, equipment and storage medium
CN112084151A (en) File processing method and device and electronic equipment
CN113271379A (en) Image processing method and device and electronic equipment
CN113271378A (en) Image processing method and device and electronic equipment
CN111796733A (en) Image display method, image display device and electronic equipment
CN112732961A (en) Image classification method and device

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