CN109992339B - Application icon processing method and mobile terminal - Google Patents

Application icon processing method and mobile terminal Download PDF

Info

Publication number
CN109992339B
CN109992339B CN201910130412.XA CN201910130412A CN109992339B CN 109992339 B CN109992339 B CN 109992339B CN 201910130412 A CN201910130412 A CN 201910130412A CN 109992339 B CN109992339 B CN 109992339B
Authority
CN
China
Prior art keywords
application
picture
target
mobile terminal
pictures
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
CN201910130412.XA
Other languages
Chinese (zh)
Other versions
CN109992339A (en
Inventor
郑楷涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910130412.XA priority Critical patent/CN109992339B/en
Publication of CN109992339A publication Critical patent/CN109992339A/en
Application granted granted Critical
Publication of CN109992339B publication Critical patent/CN109992339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an application icon processing method and a mobile terminal. The method comprises the following steps: acquiring first classification labels of a plurality of application programs installed on the mobile terminal; acquiring a picture with a target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label; adjusting the picture parameters of a plurality of pictures corresponding to different application programs into uniform picture parameters; establishing a first mapping relation between the pictures and an application program aiming at the plurality of pictures which are adjusted to be the uniform picture parameters; and replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation. According to the method and the device, the application icon can be flexibly replaced for each application program according to the specific situation of the application program installed on the mobile terminal, and the application icon of the application program installed on the mobile terminal can be better integrated.

Description

Application icon processing method and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a processing method of an application icon and a mobile terminal.
Background
The current mobile terminal provides an application store, and a user can download application programs in the application store, and in addition, theme resource packages of different styles can be downloaded in the application store to change themes of the mobile terminal (such as a mobile phone), wherein the theme packages relate to theme resources such as application icon resources, desktop background resources and the like.
For the Application icon resource, the currently provided theme pack stores Application icons configured for respective Application programs (APPs) in advance. However, the number of applications in an application store is huge, and the theme pack can only configure its application icons for a certain number of APPs. The applications installed on each mobile terminal are personalized based on the user's selection, and the applications installed on different mobile terminals are generally different. It is difficult for the application icon resources in the theme pack downloaded by the user to fully cover all the applications installed in the mobile terminal.
When the downloaded theme pack is used for setting the theme for the mobile terminal, part of the application programs installed on the mobile terminal are replaced by the application icons, however, another part of the application programs exist in the mobile terminal, the application programs do not have corresponding application icons in the theme pack, and the application programs which do not have application icons in the theme pack keep the original system application pictures unchanged.
Therefore, in the related art, when the theme of the mobile terminal is changed, all the application programs installed on the mobile terminal cannot be changed in the application icons.
Disclosure of Invention
The embodiment of the invention provides a processing method of an application icon and a mobile terminal, and aims to solve the problem that the application icon of an application program installed on the mobile terminal is not completely replaced when the application icon of the mobile terminal is replaced by downloading a theme resource in the related art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for processing an application icon, where the method is applied to a mobile terminal, and the method includes:
acquiring first classification labels of a plurality of application programs installed on the mobile terminal;
acquiring a picture with a target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label;
adjusting the picture parameters of a plurality of pictures corresponding to different application programs into uniform picture parameters;
establishing a first mapping relation between the pictures and the application program aiming at the plurality of pictures which are adjusted to be the uniform picture parameters;
and replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the first obtaining module is used for obtaining first classification labels of a plurality of application programs installed on the mobile terminal;
the second acquisition module is used for acquiring the picture with the target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label;
the configuration module is used for adjusting the picture parameters of the pictures corresponding to different application programs into uniform picture parameters;
the first establishing module is used for establishing a first mapping relation between the pictures and the application program aiming at the pictures which are adjusted to be the uniform picture parameters;
and the first replacing module is used for replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing an application icon.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the processing method for the application icon.
In the embodiment of the invention, a first classification label of a plurality of application programs installed on a mobile terminal is obtained, and a picture with a target classification label is obtained, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label; the application icons are replaced for each application program by using the pictures, so that the replaced application icons of the application programs can accurately express the functions of the application programs, and the identification degree of the application programs based on the application icons is improved; in addition, the image parameters of the images corresponding to the application programs are adjusted to be uniform image parameters, and the first mapping relation between the images and the application programs after the image parameters are adjusted to be uniform image parameters is established, so that the application icons of the application programs can be accurately replaced based on the first mapping relation, and the styles of the application icons after the application icons are replaced are uniform; according to the method provided by the embodiment of the invention, the theme pack does not need to be downloaded, and the application icon is flexibly replaced for each application program according to the specific situation of the application program installed on the mobile terminal, so that the application icons of all the application programs installed on the mobile terminal can be replaced, and the problem that the application icons of the application programs installed on the mobile terminal are not completely replaced when the application icons of the mobile terminal are replaced by downloading theme resources is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the description below 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 the drawings without inventive labor.
FIG. 1 is a flow diagram of a method for processing application icons according to one embodiment of the invention;
FIG. 2 is a flow chart of a method for processing an application icon according to another embodiment of the invention;
FIG. 3 is a block diagram of a mobile terminal of one embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making an invasive task, are within the scope of the present invention.
Referring to fig. 1, a flowchart of a processing method for an application icon according to an embodiment of the present invention is shown, and the processing method is applied to a mobile terminal.
The processing method of the application icon in the embodiment is a method for automatically replacing the application icon of the application program installed in the mobile terminal, and a user does not need to select a picture for each application program to replace the original application icon with the picture.
Compared with the application icon processing method of the embodiment of fig. 2 and the alternative embodiment related to fig. 2, the application icon processing method of the embodiment of the present invention is more favorable for switching the icons of the applications installed in the mobile terminal into icons having a uniform style.
As shown in fig. 1, the method may specifically include the following steps:
step 101, acquiring first classification labels of a plurality of application programs installed on the mobile terminal;
the plurality of application programs may be all application programs installed on the mobile terminal, or may be part of application programs, and may be specifically configured according to user requirements, that is, which installed application programs are configured to be used for automatic replacement of the icon.
Preferably, the plurality of applications are all applications installed in the mobile terminal.
Optionally, the method according to the embodiment of the present invention may provide two options of automatically replacing the application icon and manually replacing the application icon, and if the user selects to automatically replace the application icon, the execution of step 101 may be triggered.
Here, a first classification label is obtained for each application, and since the picture also has a classification label, the classification label of the application is referred to as the first classification label for the purpose of distinction.
Alternatively, an application may have multiple classification tags, so that only one classification tag of the application needs to be obtained in the embodiment of the present invention, and as to which classification tag of the application is obtained as the first classification tag in this step, one classification tag may be selected from the multiple classification tags of the application as the first classification tag in this step according to a preset tag selection policy.
For example, an APP1, which has classification tags including: social, payment, gaming, meal ordering, etc. Then, the preset tag selection policy may be to use the classification tag with the highest weight of the classification tag as the classification tag of APP1, for example, the weight of the social tag is the highest, that is, the main function of APP1 is social, and the functions corresponding to the other three classification tags are all secondary functions.
Certainly, the tag selection policy is not limited to the listed policy of selecting the classification tag with the highest weight, and may also be other tag selection policies, which are not described herein again.
Further, the first class labels of the different applications herein may be the same or different.
Optionally, in an embodiment, in executing step 101, the package names of the plurality of applications installed in the mobile terminal may be obtained; then, according to the package name, a first classification label of each application program in the plurality of application programs is obtained.
When the first classification tag of the application program is obtained, a unique package name of the application program can be obtained, the package name belongs to the identification information of the application program, and one application program can be uniquely determined.
In one example, the mobile terminal may send the package name to an application store of the mobile terminal, and a mapping relationship between the package name of each application program in the store and a plurality of classification tags of the application program is pre-stored on the application store side, so that the application store may obtain the plurality of classification tags corresponding to the package name by querying the mapping relationship, and send the plurality of classification tags corresponding to the package name and the weight of each classification tag to the mobile terminal; the mobile terminal may select a category label from the plurality of category labels according to the label selection policy, so as to serve as the first category label of the application program.
In another example, when downloading each application program, the mobile terminal may download and store the mapping relationship between the packet name of each application program and the plurality of classification tags and the weight information of the plurality of classification tags to the local, so that the mobile terminal may directly obtain the plurality of classification tags corresponding to each application program and the weight information of each classification tag in the plurality of classification tags by querying the mapping relationship in the local, and finally select the classification tag with the highest weight from the plurality of classification tags corresponding to the packet name as the first classification tag of the application program corresponding to the packet name according to the preset tag selection policy.
In this way, in the embodiment of the present invention, the packet names of the plurality of application programs installed on the mobile terminal are obtained, and the classification label of each application program is obtained by using the packet names, so that the classification label of each installed application program can be accurately obtained, and the picture resource matched with the classification label of each application program is selected for each accurate classification label of each application program, so as to replace the application icon.
102, acquiring a picture with a target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label;
when the picture resource serving as the application icon is obtained, the picture may be obtained based on a local picture resource (for example, a picture in an album) of the mobile terminal, or the picture may be obtained from a massive picture resource of the network (which may be a picture resource in the internet, or a picture resource in a local area network, for example, a picture resource uploaded by each mobile terminal in a server of the mobile terminal).
The first classification label expresses the main function and main purpose of the application program, and the picture can also have a classification label, and the classification label of the picture can express the semantic content of the picture, so that the picture with the target classification label can be obtained, that is, the picture with the semantic matching of the classification label of the picture and the semantic matching of the first classification label is obtained from a plurality of pictures.
For the definition of semantic matching, the semantic similarity of two objects is greater than a preset threshold.
For example, the first classification tag is "social", and each picture also has a classification tag of the picture, for example, the classification tag of a certain picture is "party", where semantic similarity between "social" and "party" is greater than a preset threshold (for example, 70%), and therefore, the picture with the "party" tag is the picture with the target classification tag acquired in this embodiment.
For a picture without a classification tag, the classification tag of the picture can be generated by performing semantic recognition on the content of the picture, so as to acquire the picture with the target classification tag. For example, recognizing that a picture includes multiple people in a party, the classification tag of the picture may be set to "party".
Optionally, in executing step 102, the method may include obtaining a plurality of first candidate pictures with a target classification tag, where a semantic meaning of the target classification tag matches a semantic meaning of the first classification tag; and then, selecting one first candidate picture from the plurality of first candidate pictures according to a preset strategy to serve as a picture with a classification label matched with the first classification label.
The following two cases are exemplified as follows:
example 1:
when the pictures are obtained based on local picture resources (such as pictures in an album) of the mobile terminal, first, the obtained first classification tag of the application program may be transferred to an album application of the mobile terminal, where the "social" classification tag of APP1 is taken as an example, and the album application may use an AI (Artificial Intelligence) recognition function to identify one or more candidate pictures with target classification tags (semantic similarity between each target classification tag and "social" is greater than a preset threshold value) from the local pictures;
then, if there are multiple candidate pictures, the application icon currently used by APP1 and the multiple candidate pictures can be displayed to allow the user to select one candidate picture as a new application icon of APP 1; or, one candidate picture may be selected from the multiple candidate pictures according to a preset policy, and the selected candidate picture is used as a picture whose classification tag matches the "social" semantic meaning.
For a specific preset strategy, the relevance may be the highest, for example, the candidate picture with the highest semantic similarity between the classification label of the picture and the "social contact" among the multiple candidate pictures is selected; alternatively, the preset policy may be the highest heat, for example, the candidate picture with the highest frequency (or highest popularity) selected as the application icon may be selected from the plurality of candidate pictures.
And if one candidate picture is available, the candidate picture is the obtained picture with the target classification label.
Example 2:
when the pictures are obtained from massive picture resources of the network (which may be picture resources in the internet or picture resources in a local area network, for example, picture resources uploaded by each mobile terminal in a server of the mobile terminal), a plurality of candidate pictures of which the classification labels are matched with the "social" semantics of the pictures are retrieved from the massive picture resources of the network. How to select a candidate picture from a plurality of candidate pictures for making an application icon is similar to example 1, and is not described here again.
In this way, the embodiment of the present invention obtains a plurality of first candidate pictures with target classification tags by using the first classification tags of the application program, where the semantics of the target classification tags are matched with the semantics of the first classification tags, and selects one first candidate picture from the plurality of first candidate pictures according to a preset policy as a picture with the target classification tags; because the classification label can express the main function of the application program, and the picture content, utilize the classification label to look for the picture as the icon of the application program so, then can make the icon that the application program changed more can express the function of the application program, thereby it uses the new icon after each application program of each change of convenient to use user to come quick discernment each application program, the use of the application program of being convenient for, can not be because of having changed the icon of the application program, and cause the problem that the degree of discernment of the application program is low, on the contrary, more can utilize the application icon after changing, promote the degree of discernment of the application program.
103, adjusting the picture parameters of a plurality of pictures corresponding to different application programs into a uniform picture parameter;
for the multiple pictures corresponding to the application programs obtained in step 102, where each application program corresponds to one picture, and the picture parameters such as the source, the shooting scene, the light, the size, and the like of the pictures are greatly different, if the obtained original picture is directly used as the application icon of each application program, the look and feel of each application icon are not uniform enough, and the visual effect of the application icon is lower than that of an application icon which is replaced by directly downloading the theme pack from the network.
Therefore, in this step, the picture parameters of the pictures respectively corresponding to the application programs of the application icons to be replaced can be adjusted, and the picture parameters of each picture are adjusted to be uniform picture parameters, so that the picture styles of a plurality of pictures after the parameters are adjusted are uniform.
Optionally, when the picture parameters of a plurality of pictures corresponding to different application programs are adjusted to be uniform picture parameters, the adjusted picture parameters may include at least one of the following:
size parameter, texture parameter, shape parameter, color saturation parameter, brightness parameter.
That is, when different pictures are configured in the same picture style, the picture parameters of each picture may be adjusted, and the picture parameters of each picture may be adjusted to the same parameter value for any one of the listed and non-listed picture parameters.
For example, when the picture parameters to be adjusted include size parameters, the sizes of the multiple pictures may be all cut to preset sizes, where the preset sizes may be default sizes of application icons of each application program or sizes flexibly set according to the sizes of the pictures;
for another example, when the picture parameters to be adjusted include texture parameters, the texture parameters of each picture can be adjusted to be the same target texture parameters, so that the texture effects of each picture are the same;
for another example, when the picture parameters to be adjusted include shape parameters, the shapes of the pictures may be adjusted to the same target shape, and specifically, the adjustment may be achieved by zooming and cropping. The adjusted shape is the shape of the application icon, such as a square, a circle, a heart, and the like, so that the shapes of the pictures are the same, wherein the target shape may be a pre-configured shape with a higher heat degree, or a shape determined based on the content of each picture;
for another example, when the picture parameters to be adjusted include color saturation parameters, the color saturation of each picture can be adjusted to the same target color saturation, so that the color saturations of the pictures are the same;
for another example, when the parameters of the picture style to be adjusted include a brightness parameter, the brightness parameter of each picture may be adjusted to be the same target brightness value, so that the brightness of each picture is the same.
Of course, the adjusted picture parameters are not limited to the above examples, and may also include other picture parameters that are not listed and can affect the visual style of the picture.
Thus, in the embodiment of the present invention, after selecting one picture for each application program of the application icon to be replaced, when picture parameters of a plurality of pictures corresponding to different application programs are adjusted to be uniform picture parameters, the picture parameters including at least one of the following picture parameters are adjusted: size parameter, texture parameter, shape parameter, color saturation parameter, brightness parameter. Because there are great style differences between different pictures selected for each application, for example, picture 1 is very dark, picture 2 is very bright, picture 3 is large in size, the texture of picture 4 is a fog effect, and the texture of picture 5 is a tree texture. Then, through adjustment at different picture parameter levels, the style of each picture can be adjusted to be a uniform style, and then after each application program is replaced with a new icon, the style of each application icon looks uniform, so that the effect of customizing the theme can be achieved, rather than simply switching the application icon to a local or network picture.
Optionally, in step 103, picture parameters of a plurality of pictures corresponding to different application programs may be obtained; determining target picture parameters corresponding to each type of picture parameters according to each type of picture parameters corresponding to each picture; and finally, adjusting each type of picture parameter of a plurality of pictures corresponding to different application programs into the target picture parameter.
Specifically, since different pictures may have different picture parameters, such as size parameters, texture parameters, shape parameters, color saturation, brightness, and the like, parameter values of the pictures in the parameter levels may be obtained; and determining target parameter values of various parameter layers to which each picture is to be adjusted according to the parameter values of each picture on the various parameter layers, so that the plurality of pictures after the parameters of the various pictures are adjusted are the same in the aspects of size, texture, shape, color saturation, brightness and the like, and the effect of uniform style is achieved.
Taking the color saturation parameter as an example, a target color saturation may be determined according to the color saturations of the multiple pictures, where the target color saturation may be a color saturation value occupying a larger proportion among the color saturations of the multiple pictures, or an average value of the color saturations of the multiple pictures, which is not limited in the present invention. Then, the numerical value of the color saturation of the plurality of pictures corresponding to different application programs is adjusted to the target color saturation.
Continuing with the above embodiment, when the adjusted picture parameter includes at least one of the following: when the size parameter, the texture parameter, the shape parameter, the color saturation parameter, and the brightness parameter are included, the target picture parameter in this embodiment may include at least one of the following parameters: preset size, target texture parameters, target shape, target color saturation, and target brightness.
Then, according to the different picture parameters to be adjusted, the picture parameters of each picture can be adjusted in different aspects (such as size, texture, shape, color saturation and brightness), so that the picture style of each picture in each aspect is consistent.
In this way, in the embodiment of the present invention, in consideration of the large difference of the picture parameters between the corresponding pictures acquired by different application programs, in order to solve the problems of the uneven style and the poor viewing angle effect after the pictures are set as the application icons, in the embodiment of the present invention, the target picture parameters to be adjusted may be determined according to the existing picture parameters of each picture, so as to adjust the picture parameters of different pictures to the target picture parameters, so that the styles of the application icons after the application icons are replaced are uniform.
104, establishing a first mapping relation between the pictures and the application program aiming at the plurality of pictures which are adjusted to be the uniform picture parameters;
through step 101 and step 102, the method according to the embodiment of the present invention obtains a picture matched with each application program of the application icon to be replaced, and step 103 adjusts picture parameters of the pictures corresponding to the application programs, respectively, so that the picture styles of the multiple pictures corresponding to different application programs are adjusted to be a uniform picture style, and then the multiple pictures adjusted to be the uniform picture parameters can be used to establish first mapping relationships between the multiple pictures and the corresponding application programs, respectively.
For example, the application program 1 acquires the picture 1, and then the picture 1 is subjected to unified picture parameter adjustment to obtain a picture 1'; acquiring a picture 2 for the application program 2, and then, adjusting the picture 2 through unified picture parameters to obtain a picture 2'; the first mapping relationship established here is the mapping relationship between the picture 1 'and the application 1, and the mapping relationship between the picture 2' and the application 2.
Optionally, in another embodiment, when step 104 is executed, the first mapping relationship between the picture and the package name of the application program may be established by performing a plurality of pictures after being adjusted to the uniform picture parameter.
When the first mapping relationship is established, since the application has a unique package name for identifying the identity, a mapping relationship between the picture 1 'and the package name a of the application 1 and a mapping relationship between the picture 2' and the package name B of the application 2 can be established.
In one example, the first mapping relationship may be established by renaming the name of the picture to the package name of the corresponding application. For example, the name of picture 1 'is renamed to a and the name of picture 2' is renamed to B.
In this way, according to the embodiment of the present invention, the first mapping relationships between the pictures and the package names of the application programs are respectively established for the plurality of pictures after being adjusted to the uniform picture parameters, so that when the application icons of the application programs in the standby desktop need to be replaced, new application icons of the application programs can be quickly and accurately found based on the first mapping relationships, thereby completing batch replacement of the application icons and improving replacement efficiency of the application icons.
Optionally, each picture adjusted to be a uniform picture parameter may also be stored, so that when each picture is stored in the cache, if the mobile terminal fails in the process of replacing the application icon, a risk that data in the cache is removed is caused, and the replacement reliability of the application icon is improved.
And 105, replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation.
The picture resource corresponding to each application program can be identified according to the corresponding relationship between each application program and the picture adjusted to be the uniform picture parameter in the first mapping relationship, so that the application icon of the application program is replaced by the corresponding picture resource.
Continuing with the above example, for example, the application icon of application 1 is replaced with picture 1', and the application icon of application 2 is replaced with picture 2'.
Optionally, when the unified picture parameters are adjusted for each picture, if the adjusted picture parameters do not include the size parameter, in this step, when the application icon is replaced, the operations of scaling and size cutting may be performed on the pictures 1 'and 2', so that the sizes of the pictures 1 'and 2' after the operations can be consistent with the size of the application icon before the replacement of the application program.
In the embodiment of the invention, a first classification label of a plurality of application programs installed on a mobile terminal is obtained, and a picture with a target classification label is obtained, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label; the picture is used for replacing the application icon for each application program, so that the function of the application program can be accurately expressed by the application icon after each application program is replaced, and the recognition degree of the application program based on the application icon is improved; in addition, the image parameters of the images corresponding to the application programs are adjusted to be uniform image parameters, and the first mapping relation between the images and the application programs after the image parameters are adjusted to be uniform image parameters is established, so that the application icons of the application programs can be accurately replaced based on the first mapping relation, and the styles of the application icons after the application icons are replaced are uniform; according to the method provided by the embodiment of the invention, the theme pack does not need to be downloaded, and the application icon is flexibly replaced for each application program according to the specific situation of the application program installed on the mobile terminal, so that the application icons of all the application programs installed on the mobile terminal can be replaced, and the problem that the application icons of the application programs installed on the mobile terminal are not completely replaced when the application icons of the mobile terminal are replaced by downloading theme resources is solved.
Referring to fig. 2, a flowchart of a processing method of an application icon according to another embodiment of the present invention is shown, and is applied to a mobile terminal having a dual-sided screen.
In the method for processing an application icon according to this embodiment, when replacing an application icon of an application program installed in a mobile terminal, the application icon of the corresponding application program may be replaced based on a picture selected by a user for each application program, and compared with the method for processing an application icon according to the embodiment of fig. 1 and the above-mentioned optional embodiment related to fig. 1, the method for processing an application icon according to the embodiment of the present invention is more biased to setting an icon of each application program individually.
The method specifically comprises the following steps:
step 201, when a first display screen in the double-sided screen displays application icons of a plurality of application programs installed by the mobile terminal, and a second display screen in the double-sided screen displays an acquisition interface of a picture resource, receiving a first selection operation of a user on the application icons in the first display screen;
optionally, the method according to the embodiment of the present invention may provide two options of automatically replacing the application icon and manually replacing the application icon, and if the user selects to manually replace the application icon, the method according to the embodiment of the present invention may display the application icons of the plurality of application programs installed in the mobile terminal on the first display screen, and display the acquisition interface of the picture resource on the second display screen, and then trigger the execution of step 201.
The plurality of applications may be all applications installed on the mobile terminal, or may be part of applications, and may be configured specifically according to user requirements, that is, which installed applications may be configured for manual replacement of the icon.
Preferably, the plurality of applications are all applications installed on the mobile terminal.
In the embodiment of the invention, one display screen displays the application icon list, and the other display screen displays the acquisition interface of the icon resource, so that when a user selects an application program needing to replace the icon, the application icon list in the first display screen can be operated, and when the user selects one picture for one application program, the acquisition interface in the second display screen can be operated, so that the operation of the user is more convenient and faster. And can dynamically increase or decrease the selected application icons in the application icon list.
In the embodiment of the present invention, the provided picture resource used as the icon may be a local picture resource of the mobile terminal, or may be a picture resource in a network, and therefore, in the embodiment of the present invention, an obtaining interface is displayed on the second display screen, where the obtaining interface may include an album function entry and may also include a search entry of a network picture (for example, a search box of a search engine).
Step 202, identifying a selected first application program in the plurality of application programs according to the first selection operation;
the user can select one or more application icons of the application programs needing replacing the icon from the plurality of application icons displayed in the first display screen, so that the first application program corresponding to the application icon can be identified according to the application icon selected by the user in the first display screen.
Moreover, the user may select an application icon of one application program at a time in the first display screen (i.e., replace an application icon each time), or may select application icons of a plurality of application programs at a time (i.e., replace application icons of a plurality of application programs without selecting an application icon in the first display screen each time). Therefore, the number of the first application programs may be one or more.
For example, the first display screen displays icon n of icon 1 of APP1, icon 2 of app2, icon 3 … APPn of app3, and the icon corresponding to the first selection operation may be one or more of these n icons.
The specific implementation manner of the first selection operation may be a single click, a double click, a long press, and the like, which is not limited by the present invention.
Step 203, when a first display screen in the double-sided screen displays application icons of a plurality of application programs installed in the mobile terminal and a second display screen in the double-sided screen displays an acquisition interface of a picture resource, displaying a plurality of second candidate pictures on the second display screen according to the starting operation of the user on the acquisition interface in the second display screen;
if the user wants to use the local picture as an icon of the application program, a starting operation (for example, a click operation, a double click operation, and the like) on the album function entry may be triggered, so that the method of the embodiment of the present invention may display the local picture in the album in the second display screen, that is, a plurality of second candidate pictures here.
If the user wants to use the web picture as the icon of the application, the user may start the starting operation of the search box, specifically, enter a search text (for example, "love") in the search box, and then click a search button of the search box, so that the search engine of the embodiment of the present invention may perform a picture search in which the picture tag is semantically matched with the search text according to the search text to obtain a plurality of second candidate pictures, and then display the plurality of second candidate pictures in the second display screen.
The user can respectively start the album function entry and the network picture search entry, so that the second display screen can respectively display the local picture or the network picture.
For searching the network picture, the search text input by the user may be a text with a function similar to that of the first application program, for example, APP1 is a piece of social software, and the main classification label is social, and the search text may be "social", so that a second candidate picture with picture content similar to the function of the first application program may be searched. Of course, the specific search text can be flexibly input according to the user requirement, which is not limited in the present invention.
Step 204, receiving a second selection operation of the user on the plurality of second candidate pictures;
the user can select one second candidate picture from a plurality of second candidate pictures displayed on the second display screen.
The specific implementation of the second selection operation is not limiting.
Step 205, identifying a selected target second candidate picture according to the second selection operation;
taking the album function entry as an example, the user may view a plurality of second candidate pictures in the local album displayed on the second display screen, and the user may select a second candidate picture that the user wants to set as the application icon, where the selected second candidate picture is referred to as a target second candidate picture.
Step 206, replacing the application icon of the first application program displayed in the first display screen with the target second candidate picture;
optionally, when the number of the first application identified in step 202 is one, the application icon of the selected first application displayed in the first display screen may be directly replaced by the selected target second candidate picture identified in step 205 when this step is executed.
Optionally, when the number of the first application programs identified in step 202 is multiple, then after step 204 and before step 206, the method according to the embodiment of the present invention may further include:
firstly, displaying application icons of a plurality of selected first application programs on the second display screen;
that is, after the user selects a target second candidate picture from the second display screen, the method of the embodiment of the present invention may also display the plurality of application icons (i.e., the application icons of the plurality of first application programs) selected in the first display screen on the second display screen, so that the user can select one or more target first application programs from the plurality of first application programs that need to replace the application icon, so as to use the target second candidate picture as the application icon after replacement.
For example, APP1, APP2 and APP3 are identified in step 202, then icon 1 of APP1, icon 2 of APP2 and icon 3 of APP3 displayed in the first display screen may also be displayed in the second display screen for selection by the user.
Then, receiving a third selection operation of the user on the application icons of the plurality of first application programs in a second display screen;
the specific implementation manner of the third selection operation is not limited in the present invention, and the number of the application icons selected by the third selection operation may be one or more.
Then, according to the third selection operation, identifying an application icon of the selected target first application program;
wherein the number of the target first application may be one or more. For example, it is recognized that the user selects icon 1 of APP1 and icon 2 of APP2 in the second display screen.
Then in executing step 206, replacing the application icon of the target first application program displayed in the first display screen with the target second candidate picture;
that is to say, icon 1 of APP1 and icon 2 of APP2 in the first display screen may both be replaced by a target second candidate picture selected by the user from the album. That is, new identical icons are generated for APP1 and APP2 using the target second candidate picture.
In addition, when step 206 is executed, when the application icon in the first display screen is replaced by the target second candidate picture, the embodiment of the present invention may cut the target second candidate picture according to a preset ratio, so that the size of the cut target second candidate picture is the same as the size of the application icon of each application program in the first display screen; in addition, the user can also manually move and zoom the target second candidate picture in the area with the preset proportion to enable the adjusted target second candidate picture to be suitable for the area with the preset proportion, so that the aim of cutting the target second candidate picture is fulfilled.
Step 207, establishing a second mapping relationship between the target second candidate picture and the first application program, and saving the target second candidate picture.
Optionally, when the number of the first application programs is one, that is, each time the user replaces an application icon of one application program in the first display screen, this step may establish a mapping relationship between the selected first application program and a target second candidate picture selected from the second candidate pictures. Then, by performing steps 201 to 207 in a loop, mapping relationships between the target second candidate pictures as new application icons associated with the plurality of application programs in the first display screen can be established respectively. The target second candidate picture saved here may be a picture of a preset ratio after being subjected to cropping, scaling, and the like, and may be directly used as an application icon.
In addition, the embodiment of the invention can avoid the problem of poor reliability of the target second candidate picture stored in the cache when the target second candidate picture comes from the network picture by storing the target second candidate picture.
In the embodiment of the invention, the icon list of the application program of the application icon to be replaced and the acquisition interface of the picture resource used as the icon are respectively displayed in different display screens, so that a user can select the application icon to be replaced or the picture without switching the display interface in the single-sided screen, and the application icons selected in the application icon list can be dynamically increased or decreased. In addition, the user manually selects which application icon of which application program is to be replaced, and which picture is adopted as the replaced application icon, so that the replaced application icon has personalized requirements of the user, and the styles of the icons of the application programs after the icons are replaced are more diversified. Therefore, the user can ensure that the application icons of all the installed application programs are completely replaced while the style diversity and the individuation of each replaced application icon are kept, and the problem that the application icons of the application programs installed on the mobile terminal are not completely replaced when the application icons of the mobile terminal are replaced by downloading theme resources is solved.
Optionally, when the number of the first applications is multiple, that is, the user replaces the application icons of the multiple first applications in the first display screen at a time,
then, in step 207, a second mapping relationship between the target second candidate picture and the target first application may be established, and the target second candidate picture may be saved.
Then, by performing each step in the method of the embodiment of the present invention in a loop when the number of the first application programs is multiple, mapping relationships between target second candidate pictures associated with the multiple application programs in the first display screen as new application icons may also be established for the multiple application programs in the first display screen. The target second candidate picture saved here may be a picture of a preset scale after being subjected to cropping, scaling, and the like, and may be directly used as an application icon.
Because the manual replacement of the application icons is lower in efficiency than the automatic replacement of the application icons, in the embodiment of the invention, the application icons of a plurality of first application programs are selected from the first display screen once when the application icons are replaced each time, so that the application icons of the plurality of first application programs can be subjected to the operation of picture selection on the second display screen side only by performing one operation on the first display screen, thereby avoiding multiple operations among different display screens and further improving the replacement efficiency of the application icons.
In addition, it should be noted that the target second candidate pictures corresponding to different first applications of the present invention may be the same or different.
In addition, for the specific implementation of the second mapping relationship, reference may be made to the implementation manner of the first mapping relationship in the embodiment of fig. 1, that is, the mapping is implemented in a manner that a packet name is used to name a picture as a new icon, which is not described herein again.
Optionally, after step 207, the method according to the embodiment of the present invention may further include:
and when any display screen of the mobile terminal restores to display the standby desktop, replacing the application icon of the first application program in the standby desktop with the target second candidate picture according to the second mapping relation.
The process of displaying various operation interfaces for setting the application icons by the double-sided screen is a process of preprocessing the application icons, and the process can be closed after the mobile terminal restores to display the standby desktop, namely, the effect that the application icons of the first application programs displayed in the first display screen are replaced by the new target second candidate pictures is a preview interface and is not applied to the real standby desktop.
Therefore, when any display screen of the mobile terminal resumes displaying the standby desktop, each application icon of each installed application program that may still be displayed on the standby desktop before being replaced by the method of the embodiment in fig. 2 and the alternative embodiment related to fig. 2, in order to replace the application icon in the standby desktop, it is necessary to replace the application icon of the first application program in the standby desktop with the target second candidate picture according to the established second mapping relationship and the stored target second candidate picture, so as to achieve the purpose of icon replacement.
Optionally, after step 207, the method according to the embodiment of the present invention may further include:
when any display screen of the mobile terminal resumes displaying the standby desktop, if a preset input representing that application icons of all application programs are replaced is received, identifying a second application program which is not mapped with a target second candidate picture in a plurality of application programs installed on the mobile terminal;
and replacing the application icon of the second application program in the standby desktop with a preset picture.
Specifically, since the manual replacement of the application icon is inefficient, the user may not manually select a new picture as the icon for all the installed applications, and this may cause that part of the installed applications do not have the target second candidate picture mapped in the second mapping relationship. If the user needs to perform personalized icon replacement on all the installed application programs, when any display screen of the mobile terminal resumes displaying the standby desktop, the user may trigger a preset input indicating that the application icons of all the application programs are replaced in the standby desktop (for example, click an option indicating that all the icons are replaced), and then the method according to the embodiment of the present invention may query the second mapping relationship for a plurality of application programs installed on the mobile terminal, so as to query a second application program that is not mapped with a target second candidate picture in the second mapping relationship, and may replace the application icon of the second application program in the standby desktop with a preset picture.
When the manual replacement application icon is configured in advance, the default picture resource is not set manually, the default picture resource can include a plurality of pictures, and one picture can be randomly selected from the plurality of pictures to serve as the preset picture.
Therefore, the method provided by the embodiment of the invention can improve the replacement efficiency of the application icon.
In addition, the present invention does not limit the execution sequence of step 201 and step 203.
It should be noted that fig. 1 and various alternative embodiments related to fig. 1 of the present invention and fig. 2 and various alternative embodiments related to fig. 2 of the present invention can both implement the replacement of the application icons of all the application programs installed on the mobile terminal, and both avoid the problem that the replacement of the application icons of the application programs installed on the mobile terminal is incomplete when the application icons of the mobile terminal are replaced by downloading the theme resources in the related art.
In the execution sequence of the method in fig. 1 and the method embodiment in fig. 2, the user may flexibly select which embodiment of the method is executed first according to the requirement of replacing the application icon, which is not limited in the present invention.
For example, a user may first trigger an operation to automatically replace an application icon, thereby triggering execution of the method embodiment of FIG. 1; then, the operation of manually replacing the application icon is triggered, thereby triggering the execution of the method embodiment of fig. 2.
In this way, after all application programs installed on the mobile terminal are uniformly replaced by the application icons, if the replaced application icon of which application is not satisfied by the user, the operation of manually replacing the application icon can be triggered, so that the unsatisfactory application icon is replaced in a personalized manner.
For another example, the user may first trigger an operation of manually replacing the application icon, thereby triggering execution of the method embodiment of fig. 2; then, the operation of automatically replacing the application icon is triggered, thereby triggering the execution of the method embodiment of fig. 1.
Therefore, after the user manually selects favorite pictures for each application program installed on the mobile terminal to replace the application icons of each application program, if the icon effect with non-uniform style is not favored, the operation of automatically replacing the application icons can be triggered, so that the application icons of all the application programs installed on the mobile terminal can be replaced uniformly, and the styles of the replaced application icons are the same.
Optionally, the theme resources set by the embodiment of the present invention in a customized manner may include not only the application icons of the application programs described above, but also the system interface and the wallpaper, and these theme elements may also be modified by the user's customization, (for example, the user may also modify the icons on the status bar, replace the power, signals, wiFi, alarm clock, and the like, including replacing colors and replacing shapes of icons), so that a set of global themes customized by the user is completed.
Referring to fig. 3, a block diagram of a mobile terminal of one embodiment of the present invention is shown. The mobile terminal of the embodiment of the invention can realize the details of the processing method of the application icon in the embodiment and achieve the same effect. The mobile terminal shown in fig. 3 includes:
a first obtaining module 301, configured to obtain first classification tags of multiple application programs installed in the mobile terminal;
a second obtaining module 302, configured to obtain a picture with a target classification tag, where a semantic meaning of the target classification tag matches a semantic meaning of the first classification tag;
a configuration module 303, configured to adjust picture parameters of multiple pictures corresponding to different application programs into a uniform picture parameter;
a first establishing module 304, configured to establish a first mapping relationship between the pictures and the application program for the plurality of pictures adjusted to the uniform picture parameters;
a first replacing module 305, configured to replace the application icons of the multiple application programs with the corresponding multiple pictures according to the first mapping relationship.
Optionally, the first obtaining module 301 includes:
the first obtaining submodule is used for obtaining the package names of a plurality of application programs installed on the mobile terminal;
the second obtaining submodule is used for obtaining a first classification label of each application program in the plurality of application programs according to the package name;
the first establishing module 304 is further configured to establish a first mapping relationship between the picture and the package name of the application program for the plurality of pictures adjusted to the uniform picture parameter.
Optionally, the picture parameter includes at least one of:
size parameters, texture parameters, shape parameters, color saturation parameters, and brightness parameters.
Optionally, the configuration module 303 includes:
the third acquisition sub-module is used for acquiring picture parameters of a plurality of pictures corresponding to different application programs;
the first determining sub-module is used for determining target picture parameters corresponding to each type of picture parameters according to the picture parameters corresponding to each type of picture;
and the configuration sub-module is used for adjusting each type of picture parameter of a plurality of pictures corresponding to different application programs into the target picture parameter.
Optionally, the second obtaining module 302 includes:
a fourth obtaining sub-module, configured to obtain multiple first candidate pictures with a target classification tag, where a semantic meaning of the target classification tag matches a semantic meaning of the first classification tag;
and the selection sub-module is used for selecting one first candidate picture from the plurality of first candidate pictures as a picture with a target classification label according to a preset strategy.
Optionally, the mobile terminal has a dual-sided screen, and the mobile terminal further includes:
a first receiving module 306, configured to receive a first selection operation of an application icon in a first display screen of the dual-sided screen by a user when the first display screen of the dual-sided screen displays application icons of multiple application programs installed in the mobile terminal and a second display screen of the dual-sided screen displays an acquisition interface of a picture resource;
a first identifying module 307, configured to identify a selected first application program of the multiple application programs according to the first selecting operation;
a first display module 308, configured to display, according to a start operation of the user on the acquisition interface in the second display screen, a plurality of second candidate pictures on the second display screen;
a second receiving module 309, configured to receive a second selection operation performed by the user on the plurality of second candidate pictures;
a second identifying module 310, configured to identify a second candidate picture of the selected target according to the second selecting operation;
a second replacing module 311, configured to replace the application icon of the first application program displayed in the first display screen with the target second candidate picture;
a second establishing module 312, configured to establish a second mapping relationship between the target second candidate picture and the first application program, and store the target second candidate picture.
Optionally, the mobile terminal further includes:
the second display module is used for displaying the selected application icons of the plurality of first application programs on the second display screen when the number of the first application programs is multiple;
a third receiving module, configured to receive a third selection operation of the user on the application icons of the plurality of first application programs in a second display screen;
the third identification module is used for identifying the application icon of the selected target first application program according to the third selection operation;
the second replacing module 311 is further configured to replace the application icon of the target first application program displayed in the first display screen with the target second candidate picture;
the second establishing module 312 is further configured to establish a second mapping relationship between the target second candidate picture and the target first application, and store the target second candidate picture.
Optionally, the mobile terminal further includes:
and the third replacing module is used for replacing the application icon of the first application program in the standby desktop with the target second candidate picture according to the second mapping relation when any display screen of the mobile terminal restores to display the standby desktop.
Optionally, the mobile terminal further includes:
a fourth identification module, configured to, when any one display screen of the mobile terminal resumes displaying the standby desktop, identify, if a preset input indicating that application icons of all application programs are replaced by the user is received, a second application program that is not mapped with a target second candidate picture among the multiple application programs installed in the mobile terminal;
and the fourth replacing module is used for replacing the application icon of the second application program in the standby desktop with a preset picture.
The mobile terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the above method embodiments, and for avoiding repetition, details are not described here again.
Figure 4 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 400 includes, but is not limited to: radio frequency 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, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 410, configured to obtain a first category label of a plurality of applications installed in the mobile terminal; acquiring a picture with a target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label; adjusting the picture parameters of a plurality of pictures corresponding to different application programs into uniform picture parameters; establishing a first mapping relation between the pictures and the application program aiming at the plurality of pictures which are adjusted to be the uniform picture parameters; and replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation.
In the embodiment of the invention, a first classification label of a plurality of application programs installed on a mobile terminal is obtained, and a picture with a target classification label is obtained, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label; the picture is used for replacing the application icon for each application program, so that the function of the application program can be accurately expressed by the application icon after each application program is replaced, and the recognition degree of the application program based on the application icon is improved; in addition, the image parameters of the images corresponding to the application programs are adjusted to be uniform image parameters, and the first mapping relation between the images and the application programs after the image parameters are adjusted to be uniform image parameters is established, so that the application icons of the application programs can be accurately replaced based on the first mapping relation, and the styles of the application icons after the application icons are replaced are uniform; according to the method provided by the embodiment of the invention, the theme pack does not need to be downloaded, and the application icons of each application program are flexibly replaced according to the specific situation of the application program installed on the mobile terminal, so that the application icons of all the application programs installed on the mobile terminal can be replaced, and the problem that the application icons of the application programs installed on the mobile terminal are not completely replaced when the application icons of the mobile terminal are replaced by downloading theme resources is avoided.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and transmitting signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. 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 video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or a backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. 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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 4071 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned embodiment of the processing method for an application icon, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the method for processing an application icon, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A processing method of an application icon is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring first classification tags of a plurality of installed application programs of the mobile terminal;
acquiring a picture with a target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label;
adjusting the picture parameters of a plurality of pictures corresponding to different application programs into uniform picture parameters;
establishing a first mapping relation between the pictures and an application program aiming at the plurality of pictures which are adjusted to be the uniform picture parameters;
replacing the application icons of the plurality of application programs with the corresponding plurality of pictures according to the first mapping relation;
the obtaining a first classification label of a plurality of application programs installed by the mobile terminal includes:
acquiring package names of a plurality of application programs installed on the mobile terminal;
selecting a classification label from the classification labels according to a label selection strategy and a weight of each classification label corresponding to the packet name, wherein the classification label is used as a first classification label of each application program in the application programs;
the acquiring the picture with the target classification label comprises the following steps:
acquiring a plurality of first candidate pictures with target classification labels, and selecting the first candidate pictures with similarity greater than a preset threshold value from the plurality of first candidate pictures according to a preset strategy to be used as the pictures of the target classification labels;
the establishing a first mapping relationship between the pictures and the application program for the plurality of pictures adjusted to the unified picture parameters includes:
and establishing a first mapping relation between the picture and the package name of the application program by the plurality of pictures which are adjusted to the uniform picture parameters.
2. The method according to claim 1, wherein the mobile terminal has dual screens, and when a first display screen of the dual screens displays application icons of a plurality of application programs installed in the mobile terminal and a second display screen of the dual screens displays an acquisition interface of a picture resource, the method further comprises:
receiving a first selection operation of a user on an application icon in the first display screen;
identifying a selected first application program in the plurality of application programs according to the first selection operation;
displaying a plurality of second candidate pictures on the second display screen according to the starting operation of the user on the acquisition interface in the second display screen;
receiving a second selection operation of the user on the plurality of second candidate pictures;
identifying a second candidate picture of the selected target according to the second selection operation;
replacing the application icon of the first application program displayed in the first display screen with the target second candidate picture;
and establishing a second mapping relation between the target second candidate picture and the first application program, and storing the target second candidate picture.
3. The method according to claim 2, wherein when the number of the first application programs is multiple, after the receiving of the second selection operation performed by the user on the multiple second candidate pictures, before the replacing the application icon of the first application program displayed in the first display screen with the target second candidate picture, the method further comprises:
displaying the selected application icons of the first application programs on the second display screen;
receiving a third selection operation of the user on the application icons of the plurality of first application programs in a second display screen;
identifying an application icon of the selected target first application program according to the third selection operation;
replacing the application icon of the first application program displayed in the first display screen with the target second candidate picture, including:
replacing the application icon of the target first application program displayed in the first display screen with the target second candidate picture;
the establishing a second mapping relationship between the target second candidate picture and the first application program, and saving the target second candidate picture includes:
and establishing a second mapping relation between the target second candidate picture and the target first application program, and storing the target second candidate picture.
4. The method of claim 2, wherein after establishing the second mapping relationship between the target second candidate picture and the first application and saving the target second candidate picture, the method further comprises:
and when any display screen of the mobile terminal restores to display the standby desktop, replacing the application icon of the first application program in the standby desktop with the target second candidate picture according to the second mapping relation.
5. The method of claim 2, wherein after establishing the second mapping relationship between the target second candidate picture and the first application and saving the target second candidate picture, the method further comprises:
when any display screen of the mobile terminal resumes to display a standby desktop, if a preset input representing application icons replacing all application programs is received, identifying a second application program which is not mapped with a target second candidate picture in a plurality of application programs installed in the mobile terminal;
and replacing the application icon of the second application program in the standby desktop with a preset picture.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the first obtaining module is used for obtaining first classification labels of a plurality of application programs installed on the mobile terminal;
the second acquisition module is used for acquiring the picture with the target classification label, wherein the semantic meaning of the target classification label is matched with the semantic meaning of the first classification label;
the configuration module is used for adjusting the picture parameters of the pictures corresponding to different application programs into uniform picture parameters;
the first establishing module is used for establishing a first mapping relation between the pictures and the application program aiming at the pictures which are adjusted to be the uniform picture parameters;
a first replacing module, configured to replace, according to the first mapping relationship, the application icons of the multiple application programs with the corresponding multiple pictures;
the first obtaining module is further configured to obtain package names of a plurality of application programs installed on the mobile terminal; selecting a classification label from the classification labels according to a label selection strategy and a label selection strategy according to the classification labels corresponding to the packet names and the weight of each classification label, wherein the classification label is used as a first classification label of each application program in the application programs;
the second first obtaining module is further configured to obtain a plurality of first candidate pictures with a target classification label, and select, according to a preset policy, a first candidate picture with a similarity greater than a preset threshold from the plurality of first candidate pictures as a picture of the target classification label;
the first establishing module is further configured to establish a first mapping relationship between the picture and the package name of the application program by using the plurality of pictures after being adjusted to the uniform picture parameters.
7. The mobile terminal of claim 6, wherein the mobile terminal has a two-sided screen, the mobile terminal further comprising:
the mobile terminal comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving a first selection operation of a user on an application icon in a first display screen when the first display screen in the double-sided screen displays the application icon of a plurality of application programs installed on the mobile terminal and when a second display screen in the double-sided screen displays an acquisition interface of a picture resource;
the first identification module is used for identifying the selected first application program in the plurality of application programs according to the first selection operation;
the first display module is used for displaying a plurality of second candidate pictures on the second display screen according to the starting operation of the user on the acquisition interface in the second display screen;
the second receiving module is used for receiving a second selection operation of the user on the plurality of second candidate pictures;
the second identification module is used for identifying a selected target second candidate picture according to the second selection operation;
a second replacement module, configured to replace an application icon of the first application program displayed in the first display screen with the target second candidate picture;
and the second establishing module is used for establishing a second mapping relation between the target second candidate picture and the first application program and storing the target second candidate picture.
8. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
the second display module is used for displaying the selected application icons of the plurality of first application programs on the second display screen when the number of the first application programs is multiple;
the third receiving module is used for receiving a third selection operation of the user on the application icons of the plurality of first application programs in the second display screen;
the third identification module is used for identifying the application icon of the selected target first application program according to the third selection operation;
the second replacement module is further configured to replace the application icon of the target first application program displayed in the first display screen with the target second candidate picture;
the second establishing module is further configured to establish a second mapping relationship between the target second candidate picture and the target first application, and store the target second candidate picture.
9. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
and the third replacing module is used for replacing the application icon of the first application program in the standby desktop with the target second candidate picture according to the second mapping relation when any display screen of the mobile terminal restores to display the standby desktop.
10. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
a fourth identification module, configured to, when any one display screen of the mobile terminal resumes displaying the standby desktop, identify, if a preset input indicating that application icons of all application programs are replaced is received, a second application program that is not mapped with a target second candidate picture among the multiple application programs installed in the mobile terminal;
and the fourth replacing module is used for replacing the application icon of the second application program in the standby desktop with a preset picture.
11. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing an application icon according to any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps in the method of processing an application icon according to any one of claims 1 to 5.
CN201910130412.XA 2019-02-21 2019-02-21 Application icon processing method and mobile terminal Active CN109992339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910130412.XA CN109992339B (en) 2019-02-21 2019-02-21 Application icon processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910130412.XA CN109992339B (en) 2019-02-21 2019-02-21 Application icon processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109992339A CN109992339A (en) 2019-07-09
CN109992339B true CN109992339B (en) 2023-04-07

Family

ID=67130205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910130412.XA Active CN109992339B (en) 2019-02-21 2019-02-21 Application icon processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109992339B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493460B (en) * 2019-07-31 2021-02-02 维沃移动通信有限公司 Icon replacing method, electronic equipment and computer readable storage medium
CN112738580B (en) * 2019-10-28 2022-11-08 海信视像科技股份有限公司 Processing and displaying method and device of dual-system application icon information and display equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201019208A (en) * 2008-11-07 2010-05-16 Htc Corp Method and apparatus for displaying icon of multimedia file, recording medium thereof, and computer program product using the method
CN101951433A (en) * 2010-09-02 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Method and system for processing application icon and mobile terminal
CN102109998A (en) * 2011-01-20 2011-06-29 宇龙计算机通信科技(深圳)有限公司 Managing method and managing device for shortcut icons of application programs and terminal adopting managing device
CN102135992A (en) * 2011-03-15 2011-07-27 宇龙计算机通信科技(深圳)有限公司 Terminal application program classifying method and terminal
CN103309559A (en) * 2013-05-27 2013-09-18 深圳市金立通信设备有限公司 Method and terminal for controlling interface application icons
CN105138318A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Application icon updating method and apparatus
CN105468224A (en) * 2014-09-03 2016-04-06 富泰华工业(深圳)有限公司 Classified display method and system for desktop icons
CN106383633A (en) * 2016-09-28 2017-02-08 Tcl集团股份有限公司 Application icon replacement method and apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013131321A1 (en) * 2012-03-08 2013-09-12 中兴通讯股份有限公司 Mobile terminal application icon management method and mobile terminal
US20150121185A1 (en) * 2013-10-28 2015-04-30 Reed Technology And Information Services, Inc. Portfolio management system
CN106547594A (en) * 2016-10-28 2017-03-29 北京奇虎科技有限公司 The config update method of theme bag and terminal
CN107908330B (en) * 2017-11-15 2019-10-15 维沃移动通信有限公司 The management method and mobile terminal of application icon
CN108200273B (en) * 2017-12-27 2021-04-30 努比亚技术有限公司 Desktop icon display method, terminal and computer readable storage medium
CN109344127A (en) * 2018-09-28 2019-02-15 深圳市中科明望通信软件有限公司 A kind of application icon management method, device and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201019208A (en) * 2008-11-07 2010-05-16 Htc Corp Method and apparatus for displaying icon of multimedia file, recording medium thereof, and computer program product using the method
CN101951433A (en) * 2010-09-02 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Method and system for processing application icon and mobile terminal
CN102109998A (en) * 2011-01-20 2011-06-29 宇龙计算机通信科技(深圳)有限公司 Managing method and managing device for shortcut icons of application programs and terminal adopting managing device
CN102135992A (en) * 2011-03-15 2011-07-27 宇龙计算机通信科技(深圳)有限公司 Terminal application program classifying method and terminal
CN103309559A (en) * 2013-05-27 2013-09-18 深圳市金立通信设备有限公司 Method and terminal for controlling interface application icons
CN105468224A (en) * 2014-09-03 2016-04-06 富泰华工业(深圳)有限公司 Classified display method and system for desktop icons
CN105138318A (en) * 2015-07-27 2015-12-09 深圳市万普拉斯科技有限公司 Application icon updating method and apparatus
CN106383633A (en) * 2016-09-28 2017-02-08 Tcl集团股份有限公司 Application icon replacement method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
夏韬."智能手机App中图标元素形式风格设计研究".《中国优秀硕士学位论文全文数据库信息科技辑》.2017,I138-135. *
李妙兰."基于‘慢生活’理念下本土农家乐APP界面视觉设计研究".《中国优秀硕士学位论文全文数据库信息科技辑》.2019,I138-1695. *

Also Published As

Publication number Publication date
CN109992339A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN111050076B (en) Shooting processing method and electronic equipment
US20220353144A1 (en) Configuration information sharing method, terminal device, and computer readable storage medium
CN109814786B (en) Image storage method and terminal equipment
EP3699743B1 (en) Image viewing method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN109947327B (en) Interface viewing method, wearable device and computer-readable storage medium
CN107748640B (en) Screen-off display method and mobile terminal
CN109521684B (en) Household equipment control method and terminal equipment
CN109101151B (en) Information display processing method and terminal equipment
CN114647350A (en) Application sharing method, electronic device and storage medium
CN111125800B (en) Icon display method and electronic equipment
CN109992339B (en) Application icon processing method and mobile terminal
CN110928619B (en) Wallpaper setting method and device, electronic equipment and medium
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
WO2019096043A1 (en) Application icon management method and mobile terminal
CN107885423B (en) Picture processing method and mobile terminal
CN110471524B (en) Display control method and terminal equipment
CN110336917B (en) Picture display method and device, storage medium and terminal
CN110543276B (en) Picture screening method and terminal equipment thereof
CN111966436A (en) Screen display control method and device, terminal equipment and storage medium
CN109857578B (en) Text copying method and electronic equipment
CN107734049B (en) Network resource downloading method and device and mobile terminal
CN111142998A (en) Sharing method of background application and electronic equipment
CN111614837B (en) Cross-application data calling method and electronic equipment
CN111124202B (en) File opening method and electronic equipment

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