CN109635829B - Picture classification method, mobile terminal and computer storage medium - Google Patents

Picture classification method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN109635829B
CN109635829B CN201811239872.8A CN201811239872A CN109635829B CN 109635829 B CN109635829 B CN 109635829B CN 201811239872 A CN201811239872 A CN 201811239872A CN 109635829 B CN109635829 B CN 109635829B
Authority
CN
China
Prior art keywords
label
picture
instruction
tag
serial number
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
CN201811239872.8A
Other languages
Chinese (zh)
Other versions
CN109635829A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811239872.8A priority Critical patent/CN109635829B/en
Publication of CN109635829A publication Critical patent/CN109635829A/en
Application granted granted Critical
Publication of CN109635829B publication Critical patent/CN109635829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a classification method of pictures, a mobile terminal and a computer storage medium, wherein picture tags are established when the mobile terminal opens album application, the picture tags at least comprise tags and serial numbers, and the tags and the serial numbers have a one-to-one mapping relation; browsing at least one picture in an album application, and receiving a first instruction for adding a first label to the picture; judging whether the first label is the same as the label or not according to the first instruction; if yes, a first serial number corresponding to the first label is obtained, the first serial number is associated with the picture, and the first serial number is displayed on the outer side of the picture. Through the mode, when one picture is stored in different albums, the picture is associated with different picture labels, so that the pictures can be respectively arranged in the different albums, and the problem that a large amount of storage space is occupied by copying the picture to be stored in the different albums when the same picture is classified in the prior art is solved.

Description

Picture classification method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method for classifying pictures, a mobile terminal, and a computer storage medium.
Background
With the popularity of mobile devices, more and more users prefer to take pictures with mobile devices (mobile phones, tablets, etc.). When a user uses a mobile device for a period of time, a large number of pictures are stored in the mobile device. Currently, users can sort pictures by creating album applications, and put different pictures into different album applications.
The inventor of the application finds that when some existing pictures are required to be stored in different album applications at the same time in long-term research and development, the function of copying the pictures to the album applications is needed, so that a plurality of copies are created for the same picture, and more storage space is occupied.
Disclosure of Invention
The application provides a picture classification method, a mobile terminal and a computer storage medium, which are used for solving the problem that a large amount of storage space is occupied when the same picture is classified in the prior art.
In order to solve the technical problems, one technical scheme adopted by the application is as follows: the method comprises the steps of establishing a picture label when the mobile terminal opens an album application, wherein the picture label at least comprises a label and a serial number, and the label and the serial number have a one-to-one mapping relation; browsing at least one picture in the album application, and receiving a first instruction for adding a first label to the picture; judging whether the first label is identical to the label or not according to the first instruction; if yes, a first serial number corresponding to the first label is obtained, the first serial number is associated with the picture, and the first serial number is displayed on the outer side of the picture.
In order to solve the technical problems, another technical scheme adopted by the application is as follows: there is provided a mobile terminal comprising a processor and a memory coupled to each other, the memory for storing a computer program, the processor for executing the steps of the computer program for carrying out the method of any of the above embodiments.
In order to solve the technical problem, another technical scheme adopted by the application is as follows: there is provided a computer storage medium having a computer program stored thereon, wherein the computer program is for implementing the steps of the method of any of the above embodiments.
The beneficial effects of this application are: different from the situation of the prior art, the application provides a classification method of pictures, a mobile terminal and a computer storage medium, wherein a picture label is established when the mobile terminal opens an album application, the label and a serial number in the picture label have a one-to-one mapping relation, when a user browses at least one picture in the album application, a first instruction for adding a first label to the picture is received, when the first label is judged to be the same as the label, a first serial number corresponding to the first label is acquired, the first serial number is associated with the picture, and the first serial number is displayed on the outer side of the picture. Through the mode, when one picture is stored in different albums, different picture labels are associated on the picture, so that the picture can be respectively arranged in the different albums, and the problem that a large amount of storage space is occupied by copying the picture to be stored in the different albums when the same picture is classified in the prior art is solved.
Drawings
For a clearer description of the technical solutions in the embodiments of the application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the application, from which, without inventive effort, further drawings can be obtained for a person skilled in the art, in which:
FIG. 1 is a flow chart illustrating an embodiment of a method for classifying pictures according to the present application;
FIG. 2 is a schematic view of the view of FIG. 1;
FIG. 3 is a schematic view of the view of FIG. 1 showing a plurality of pictures;
FIG. 4 is a schematic illustration of the added picture tag of FIG. 1;
FIG. 5 is a schematic view of FIG. 4 after clicking an add button;
fig. 6 is a schematic diagram of inputting contents in an input box in step S13;
FIG. 7 is a schematic diagram of the picture of FIG. 1 with a first label added thereto;
FIG. 8 is a flowchart illustrating a method for classifying pictures according to another embodiment of the present application;
fig. 9 is a schematic diagram of adding the first label and the fourth label in step S22;
fig. 10 is a schematic diagram of inputting contents in the input box in step S23;
FIG. 11 is a schematic view of the first tag of FIG. 8;
fig. 12 is a schematic diagram after clicking the modify tab button in step S26;
fig. 13 is a schematic diagram after clicking the delete tab button in step S33;
fig. 14 is a schematic structural diagram of an embodiment of a mobile terminal according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, in the embodiment of the present application, directional indications (such as up, down, left, right, front, and rear … …) are referred to, and the directional indications are merely used to explain the relative positional relationship, movement conditions, and the like between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flow chart illustrating an embodiment of a method for classifying pictures according to the present application. The classification method disclosed in the embodiment comprises the following steps:
s11: and when the mobile terminal opens the album application, establishing a picture label.
The method disclosed by the embodiment is applied to the mobile terminal, and can be particularly applied to album application of the mobile terminal. After the mobile terminal is initialized, when the mobile terminal opens the album application for the first time, a picture label is established, and the picture label is associated with a picture in the album application.
The picture labels at least comprise labels and serial numbers, the labels and the serial numbers have a one-to-one mapping relation, the labels are used for classifying pictures in album application so as to divide the pictures into different picture sets, and the labels can be words, pictures and the like.
In this embodiment, the mapping relationship between the tag and the serial number may be as shown in table one, and when the user needs to add a "life" tag to the picture of the album application, the serial number "1" corresponding to the tag may be added to the picture.
List one
Sequence number 1 2 3 ……
Label (Label) Living things Scenery with a view Work of ……
S12: and browsing at least one picture in the album application, and receiving a first instruction for adding a first label to the picture.
Browsing at least one picture in the album application may specifically include browsing one picture and browsing a plurality of pictures. When browsing a picture, as shown in fig. 2, fig. 2 is a schematic diagram of browsing a picture in fig. 1, the picture 101 is displayed on the screen 102 of the mobile terminal 100 in a full screen manner, a picture tag display area 103 is set on one side of the picture 101, and a serial number or a tag associated with the picture is displayed in the picture tag display area 103. The picture tag display area 103 may be disposed outside the picture 101 as shown in fig. 2, and in other embodiments, the picture tag display area 103 may be disposed on the picture.
When browsing multiple pictures, as shown in fig. 3, fig. 3 is a schematic diagram of browsing multiple pictures in fig. 1, where the multiple pictures 104 may be associated with the same tag or selected multiple pictures 104 in the album application; in the present embodiment, the picture tag display region 103 is provided on top of the plurality of pictures 104.
And when the first label is added to the picture, the mobile terminal receives a first instruction for adding the first label.
For example, as shown in fig. 4 and 5, fig. 4 is a schematic view of adding a picture tag in fig. 1, and fig. 5 is a schematic view after clicking an add button in fig. 4. The bottom of the picture 101 is provided with an add button 105, the add button 105 being provided outside the bottom of the picture 101, and in other embodiments, the add button 105 may also be provided on the picture tag display area 103.
When the user clicks the add button 105 through a click operation, a long press operation, a drag operation, or a gesture operation according to a preset track, the mobile terminal 100 receives a first instruction for adding a first label to the picture 101, and at this time, an add label interface 106 is displayed on the surface of the picture 101, where the add label interface 106 includes a label list 107 and an input box 108 capable of editing text. Tag list 107 includes other tags that are already present in the current picture tag but not added to picture 101; other labels may be considered as valid add-labels, and labels that have been added in the picture 101 are considered as non-valid add-labels.
When a user selects a valid adding tag from the tag list 107 as a first tag to be added, a first instruction for adding the first tag is generated; when the mobile terminal 100 inputs the content of the first tag desired to be added in the input box 108, a first instruction for adding the first tag is generated; if the user does not select from the tag list 107, the user is considered to be unnecessary to add an existing tag in the picture tag; if the user does not input content in the input box 108, the user is deemed not to need to add a tag that is not included in the picture tag.
S13: and judging whether the first label is the same as the label according to the first instruction.
After receiving the first instruction, it is determined whether the added first tag is identical to an existing tag, and if so, the following step S14 is executed.
For example, when one tag "live" is selected from the tag list 107 according to the first instruction, it may be directly judged that the first tag is identical to the tag. When the content "life" desired to be added with the first tag is input in the input box 108 according to the first instruction, as shown in fig. 6, fig. 6 is a schematic diagram of inputting the content in the input box in step S13, if the first tag is the same as the tag, a tag list 107 including the content of the first tag is displayed on one side of the input box 108, and the user can select the tag "life" same as the content "life" desired to be added with the first tag in the tag list 107 as the first tag. When it is determined that the added first tag is identical to the existing tag, the following step S14 is performed.
S14: and acquiring a first serial number corresponding to the first label, associating the first serial number with the picture, and displaying the first serial number on the outer side of the picture.
When the first label is the same as the label, the first serial number corresponding to the label is also corresponding to the first label, so that after the first label is added, the first serial number corresponding to the first label can be obtained, the first serial number is associated with the picture, and the first serial number is displayed on the outer side of the picture, thereby realizing the addition of the first label in the picture.
For example, as shown in fig. 7, fig. 7 is a schematic diagram of the picture added with the first tag in fig. 1, when the content of the first tag is "life", the first tag is the same as the tag "life", the serial number "1" corresponding to the tag "life" is obtained as the first serial number corresponding to the first tag, the first serial number "1" is associated with the picture 101, and "1" is displayed in the picture tag display area 103 on the outer side of the picture 101. The position of the picture tag display area 103 may be set by the user, for example, at the top, the left, the bottom, etc. of the picture 101, and in this embodiment, the picture tag display area 103 is disposed at the right side of the picture 101.
The beneficial effects of this embodiment are: different from the situation in the prior art, the present embodiment provides a method for classifying pictures, wherein a picture tag is established when a mobile terminal opens an album application, the tag and a sequence number in the picture tag have a one-to-one mapping relationship, when a user browses at least one picture in the album application, a first instruction for adding a first tag to the picture is received, when the first tag is judged to be the same as the tag, a first sequence number corresponding to the first tag is obtained, the first sequence number is associated with the picture, and the first sequence number is displayed on the outer side of the picture. Through the mode, when one picture is stored in different albums, the picture is associated with different picture labels, so that the pictures can be respectively arranged in the different albums, the picture is prevented from being stored in the different albums in a mode of copying the picture, and therefore storage space can be saved.
On the basis of the foregoing embodiments, the present application proposes another example of a method for classifying pictures, please refer to fig. 8, fig. 8 is a flow chart of another example of a method for classifying pictures in the present application. The classification method disclosed in the embodiment comprises the following steps:
s21: and when the mobile terminal opens the album application, establishing a picture label.
Step S21 is similar to step S11, and will not be described here.
S22: and browsing at least one picture in the album application, and receiving a first instruction for adding a first label to the picture.
The similar parts of this step S22 and step S12 are not described here.
In this embodiment, when browsing at least one picture in the album application according to the tag, a plurality of tags may be further added, that is, a first instruction for adding a first tag and a fourth tag to at least one picture is received. When the first tag and the fourth tag are added at the same time, the first tag and the fourth tag can be separated by a preset operation instruction.
For example, as shown in fig. 9, fig. 9 is a schematic diagram of adding a first label and a fourth label in step S22, when a user browses a picture 201 in an album application of the mobile terminal 200, the picture 201 is displayed on a display screen 202 in a full screen, and a picture label display area 203 is provided on one side of the picture 201, and when the user inputs "life" and "pet" in an input box 208, the first label and the fourth label are separated by, for example, a line feed or a preset symbol, and in this embodiment, the mobile terminal 200 receives a first instruction to add two labels of "life" and "pet" to the picture 201 by adding "separating two labels" between "life" and "pet".
S23: and judging whether the first label is the same as the label according to the first instruction.
The similar parts of this step S23 to the step S13 will not be described here.
After receiving the first instruction, it is determined whether the added first tag is the same as the existing tag, if so, the following step S24 is executed, and if not, the following step S25 is executed.
For example, as shown in fig. 10, fig. 10 is a schematic diagram of inputting contents in an input box in step S23. In the process of inputting the first label "life" in the input box 208, fuzzy matching is performed on the content in the input box 208 and the picture label, so that a real-time label list 207 is obtained, and if the label which is the same as the label which is expected to be added in the label list 207 is selected as the first label, the first label and the label can be directly judged to be the same.
When it is determined that the added first tag is identical to the existing tag, the following step S24 is performed, and if not, the following step S25 is performed.
S24: and acquiring a first serial number corresponding to the first label, associating the first serial number with the picture, and displaying the first serial number on the outer side of the picture.
The similar parts of this step S24 and step S14 are not described here.
The embodiment of one tag described above is also applicable to a plurality of tags, and will not be described here.
S25: and adding a second serial number corresponding to the first label, associating the picture with the second serial number, and storing the first label and the second serial number in the picture label.
When the first label is different from the label, a new sequence number is added in the picture label, namely a second sequence number corresponding to the first label is added, the picture is associated with the second sequence number, and the newly added first label and the second sequence number corresponding to the newly added first label are stored in the picture label together.
The above embodiment is also applicable to a plurality of labels, for example, when the first label or the fourth label is different from the label, a second sequence number corresponding to the first label and a fourth sequence number corresponding to the fourth label are added to the picture label, the picture is associated with the second sequence number and the fourth sequence number, and the first label, the fourth label, the second sequence number and the fourth sequence number are stored in the picture label.
S26: and receiving a second instruction for modifying the first label of the picture into a second label.
When the content of the first label associated with the picture is modified, the mobile terminal receives a second instruction for modifying the first label into a second label.
For example, as shown in fig. 11, fig. 11 is a schematic diagram of the first label in fig. 8, where the first label 2031 is "life" displayed on the side of the picture 201, and the user clicks "life" by, for example, clicking, long pressing, dragging, or gesture operation on a preset track, where the mobile terminal 200 receives a second instruction to modify the first label 2031, and the user may modify the text content of the first label 2031 to obtain the second label.
Alternatively, as shown in fig. 12, fig. 12 is a schematic diagram after clicking the modify tab button in step S26. The picture tab display area 203 includes a modify tab button 2032, and after the user clicks the modify tab button 2032 by, for example, a click operation, a long press operation, a drag operation, or a gesture operation on a preset trajectory, the mobile terminal 200 displays a tab modification interface 206, and the tab modification interface 206 displays a tab list 207 included in the picture 201. The user selects the first tag 2031 in the tag list 207, and at this time, the mobile terminal 200 receives a second instruction to modify the first tag 2031, and modifies the text content of the first tag 2031 to obtain a second tag.
S27: and judging whether the second label is the same as the label according to the second instruction.
If yes, the following step S28 is executed, and if no, the following step S29 is executed.
After obtaining the second instruction for modifying the first label of the picture into the second label, judging whether the modified second label is identical to the existing label according to the second instruction, if so, executing the following step S28, and if not, executing the following step S29.
S28: and adding the serial number corresponding to the label, associating the second label with the picture, and displaying the serial number on the outer side of the picture.
When the second label is the same as the label, the first serial number corresponding to the label is also corresponding to the second label, so after the first label is modified to obtain the second label, the first serial number corresponding to the second label can be obtained, the second label is associated with the picture, and the first serial number is displayed on the outer side of the picture, thereby modifying the first label in the picture.
S29: and adding a third serial number corresponding to the second label, associating the picture with the third serial number, and storing the second label and the third serial number in the picture label.
When the second label is different from the label, after the first label is modified to obtain the second label, a third serial number corresponding to the second label is added, the picture is associated with the third serial number, and the second label and the third serial number are stored in the picture label, so that the first label is modified in the picture.
After the third serial number corresponding to the second label is added in the step S29, it is further determined whether other pictures in the album application need to modify the first label, so the method may include the following steps:
s30: and judging whether other pictures in the album application comprise the first label.
S31: and judging whether to modify the first labels of other pictures according to the second instruction.
Step S30 and step S31 will be described together as follows:
before judging that the first labels of other pictures in the album application need to be modified, firstly judging whether the first labels are included in the other pictures, if so, executing a step S31, judging whether the first labels of the other pictures need to be modified according to the second instruction, and if so, executing a step S32.
S32: deleting a first label and a first serial number in the picture labels, and modifying the first labels of other pictures into second labels.
When it is determined that the first labels of other pictures need to be modified according to the second instruction, it may be determined that the first labels of all pictures in the album application are modified according to the second instruction, that is, the first labels of all pictures in the picture labels are modified according to the second instruction, and the modified first labels and the corresponding first serial numbers thereof do not exist in the picture labels, so in this step, the first labels and the first serial numbers in the picture labels are deleted, the first labels of other pictures are modified into the second labels, and the other pictures are associated with the third serial numbers corresponding to the second labels.
S33: and receiving a third instruction for deleting the first label of the picture.
When deleting the first label associated with the picture, the mobile terminal receives a third instruction for deleting the first label of the picture.
For example, the first tab 2031 is "life" displayed on the side of the picture 201, and the user clicks the first tab by, for example, clicking, long pressing, dragging, or gesture operation on a preset track, and in this embodiment, clicks the first tab 2031 by double clicking, at which time the mobile terminal 200 receives a third instruction to delete the first tab 2031.
Alternatively, as shown in fig. 13, fig. 13 is a schematic diagram after clicking the delete tab button in step S33. The picture tab display area 203 includes a delete tab button 2033, and after the user clicks the delete tab button 2033, for example, by a click operation, a long press operation, a drag operation, or a gesture operation on a preset track, the mobile terminal 200 displays a delete tab interface 209, and the delete tab interface 209 displays a tab list 207 included in the picture 201. The user selects the first tab 2031 in the tab list 207, and at this time, the mobile terminal 200 receives a third instruction to delete the first tab 2031.
S34: and deleting the first label and the first sequence number according to the third instruction.
After receiving the third instruction, the mobile terminal deletes the first label and the first serial number in the browsed picture according to the third instruction.
In this embodiment, when the first tag and the first sequence number are deleted according to the third instruction, it is further determined whether other pictures in the album application delete the first tag and the first sequence number. Specifically, after deleting the first label and the first serial number in the browsed picture, judging whether other pictures in the album application comprise the first label, if so, continuing to judge whether to delete the first label of the other pictures according to the third instruction, and if so, deleting the first label and the first serial number in the picture label.
It should be noted that in this embodiment, no matter when the first tag is added, the first tag is modified, or the first tag is deleted, for the case of browsing multiple pictures, the operations may be performed for multiple pictures simultaneously or for each picture, for example, in this embodiment, when the first tag is deleted, the first tag may be checked from the first picture, and if the picture includes the first tag to be deleted, the deletion operation of the first tag is performed, so that the occurrence of the missing deletion condition may be avoided.
The beneficial effects of this embodiment are: different from the situation in the prior art, the present embodiment provides a method for classifying pictures, wherein a picture tag is established when a mobile terminal opens an album application, the tag and a sequence number in the picture tag have a one-to-one mapping relationship, when a user browses at least one picture in the album application, a first instruction for adding a first tag to the picture is received, when the first tag is judged to be the same as the tag, a first sequence number corresponding to the first tag is acquired, the first sequence number is associated with the picture, the first sequence number is displayed on the outer side of the picture, and the picture tag associated with the picture can be modified and deleted. Through the mode, when one picture is stored in different albums, the picture is associated with different picture labels, the picture can be respectively arranged in the different albums, a user is helped to quickly filter and search the picture, the picture is prevented from being stored in the different albums in a copying mode, the efficiency of managing the picture in a classified mode by the user can be improved through modifying and deleting the picture labels, the operation is more convenient, and the problem that a large amount of storage space is occupied when the same picture is classified in the prior art is solved.
In response to the method for classifying pictures in the foregoing embodiment, a mobile terminal is provided in the present application, and referring to fig. 14 specifically, fig. 14 is a schematic structural diagram of an embodiment of a mobile terminal in the present application. The mobile terminal 300 disclosed in the present application comprises a memory 32 and a processor 34 coupled to each other, the memory 32 being configured to store a computer program, and the processor 34 being configured to execute the steps of the computer program for implementing the method according to any of the embodiments described above.
Specifically, the processor 34 is configured to:
when the mobile terminal 300 opens the album application, a picture label is established, wherein the picture label at least comprises a label and a serial number, and the label and the serial number have a one-to-one mapping relation;
browsing at least one picture in an album application, and receiving a first instruction for adding a first label to the picture;
judging whether the first label is the same as the label or not according to the first instruction;
if yes, a first serial number corresponding to the first label is obtained, the first serial number is associated with the picture, and the first serial number is displayed on the outer side of the picture.
The specific implementation of the method for implementing the classification of the pictures by the processor 34 of the mobile terminal 300 can be referred to the above method embodiments, and will not be described herein.
The mobile terminal 300 provided in this embodiment can solve the problem that a large amount of storage space is occupied when the same picture is classified in the prior art.
In the several embodiments provided in the present application, it should be understood that the systems, devices, and methods disclosed in the present application may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution, in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is only the embodiments of the present application, and not the patent scope of the present application is limited by the foregoing description, but all equivalent structures or equivalent processes using the contents of the present application and the accompanying drawings, or directly or indirectly applied to other related technical fields, which are included in the patent protection scope of the present application.

Claims (7)

1. A method for classifying pictures, which is applied to a mobile terminal, the method comprising:
when the mobile terminal opens the album application, establishing a picture label, wherein the picture label at least comprises a label and a serial number, and the label and the serial number have a one-to-one mapping relation;
browsing at least one picture in the album application, and receiving a first instruction for adding a first label to the picture;
judging whether the first label is the same as the existing label according to the first instruction;
if the first instruction judges that the first label is the same as the existing label, acquiring a first serial number corresponding to the first label, correlating the first serial number with the picture, and displaying the first serial number on the outer side of the picture;
if the first instruction judges that the first label is different from the existing label, adding a second serial number corresponding to the first label, associating the picture with the second serial number, and storing the first label and the second serial number in the picture label;
receiving a third instruction for deleting the first label of the picture; deleting the first tag and the first sequence number according to the third instruction;
wherein the deleting the first tag and the first sequence number according to the third instruction includes: judging whether other pictures in the album application comprise the first label or not; if the other pictures comprise the first label, judging whether to delete the first label of the other pictures according to the third instruction; if yes, deleting the first label and the first serial number in the picture label.
2. The method according to claim 1, wherein the method further comprises:
receiving a second instruction for modifying a first label of the picture into a second label;
judging whether the second label is identical to the existing label or not according to the second instruction;
if yes, increasing the serial number corresponding to the existing label which is the same as the second label, associating the second label with the picture, and displaying the serial number on the outer side of the picture.
3. The method of claim 2, wherein said determining whether the second tag is the same as the existing tag based on the second instruction comprises:
if not, adding a third serial number corresponding to the second label, associating the picture with the third serial number, and storing the second label and the third serial number in the picture label.
4. A method according to claim 3, wherein after incrementing a third sequence number corresponding to the second tag, the method further comprises:
judging whether other pictures in the album application comprise the first label or not;
if the other pictures comprise the first label, judging whether to modify the first label of the other pictures according to the second instruction;
if yes, deleting the first label and the first serial number in the picture labels, and modifying the first labels of the other pictures into the second labels.
5. The method of claim 1, wherein browsing at least one picture at the album application, receiving a first instruction to add a first tag to the picture, comprises:
browsing at least one picture in the album application according to the labels, and receiving the first instruction for adding the first label and the fourth label to at least one picture;
the determining, according to the first instruction, whether the first tag is the same as the existing tag includes:
judging whether the first label or the fourth label is the same as the existing label according to the first instruction;
if not, adding a second sequence number corresponding to the first label and a fourth sequence number corresponding to the fourth label, associating the picture with the second sequence number and the fourth sequence number, and storing the first label, the fourth label, the second sequence number and the fourth sequence number in the picture label.
6. A mobile terminal, characterized in that it comprises a processor and a memory coupled to each other, said memory being adapted to store a computer program, said processor being adapted to execute the steps of the computer program for implementing the method according to any of claims 1-5.
7. A computer storage medium having a computer program stored thereon, wherein the computer program is adapted to implement the steps of the method of any of claims 1 to 5.
CN201811239872.8A 2018-10-23 2018-10-23 Picture classification method, mobile terminal and computer storage medium Active CN109635829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811239872.8A CN109635829B (en) 2018-10-23 2018-10-23 Picture classification method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811239872.8A CN109635829B (en) 2018-10-23 2018-10-23 Picture classification method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN109635829A CN109635829A (en) 2019-04-16
CN109635829B true CN109635829B (en) 2023-07-21

Family

ID=66066629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811239872.8A Active CN109635829B (en) 2018-10-23 2018-10-23 Picture classification method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN109635829B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737787A (en) * 2019-10-09 2020-01-31 北京达佳互联信息技术有限公司 image marking method, device, electronic equipment and storage medium
CN112199341A (en) * 2020-12-07 2021-01-08 深圳市房多多网络科技有限公司 File storage system, method and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238951A (en) * 2013-06-21 2014-12-24 镇江新晔网络科技有限公司 Net label input prompting device
CN104239347A (en) * 2013-06-21 2014-12-24 镇江新晔网络科技有限公司 Net label input prompting method
CN104933146A (en) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 Photo management method, photo management device and mobile terminal
CN105912668A (en) * 2016-04-12 2016-08-31 上海上讯信息技术股份有限公司 Method and equipment for label management
CN107508964A (en) * 2017-07-06 2017-12-22 深圳天珑无线科技有限公司 A kind of photo storage of mobile terminal and inspection method, device and storage medium
CN107659650A (en) * 2017-09-27 2018-02-02 四川长虹电器股份有限公司 photo management method based on label
CN107679208A (en) * 2017-10-16 2018-02-09 广东欧珀移动通信有限公司 A kind of searching method of picture, terminal device and storage medium

Also Published As

Publication number Publication date
CN109635829A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
EP3407221A1 (en) Methods and devices for searching and displaying information on a terminal
US10915226B2 (en) Mobile user interface to access shared folders
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN107102786B (en) Information processing method and client
CN104166694A (en) Image classifying and storing method and electronic device
CN107765938B (en) Picture interaction method and device
CN109635829B (en) Picture classification method, mobile terminal and computer storage medium
CN106484445A (en) The page display method of application program for mobile terminal and device
CN112948844B (en) Control method and device and electronic equipment
CN112394861A (en) Page jump method and device, storage medium and electronic device
US20230004673A1 (en) Information management system and method for communication application, and display terminal
CN112307339A (en) User portrait based recommendation information generation method and device and computer equipment
CN109164969A (en) Picture sorting method and device, storage medium and mobile terminal
CN107967633A (en) The methods of exhibiting and system of commodity in a kind of website
CN109992580A (en) Processing method and processing device, storage medium, the computer equipment of table data
CN109697129A (en) A kind of information sharing method, equipment and computer readable storage medium
US11112938B2 (en) Method and apparatus for filtering object by using pressure
US20180341427A1 (en) Method and apparatus for managing storage space, and electronic device
CN105791556A (en) Method for quickly releasing storage space of mobile terminal
CN113805757A (en) File processing method and device
CN106407383A (en) Picture ranking method and device
CN110866796A (en) Information display method, information acquisition method, system and equipment
CN112882789A (en) Information display method and device, electronic equipment and storage medium
WO2022247787A1 (en) Application classification method and apparatus, and electronic device
WO2022228433A1 (en) Information processing method and apparatus, and electronic 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
GR01 Patent grant
GR01 Patent grant