CN110493460A - A kind of icon replacing options and electronic equipment - Google Patents

A kind of icon replacing options and electronic equipment Download PDF

Info

Publication number
CN110493460A
CN110493460A CN201910704635.2A CN201910704635A CN110493460A CN 110493460 A CN110493460 A CN 110493460A CN 201910704635 A CN201910704635 A CN 201910704635A CN 110493460 A CN110493460 A CN 110493460A
Authority
CN
China
Prior art keywords
icon
target photo
destination
electronic equipment
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910704635.2A
Other languages
Chinese (zh)
Other versions
CN110493460B (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 CN201910704635.2A priority Critical patent/CN110493460B/en
Publication of CN110493460A publication Critical patent/CN110493460A/en
Application granted granted Critical
Publication of CN110493460B publication Critical patent/CN110493460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a kind of icon replacing options and electronic equipments.The described method includes: receiving the icon replacement operation for being directed to destination folder;In response to the icon replacement operation, Target Photo collection is obtained, and presetted pixel enhancing processing is executed to the Target Photo that the Target Photo is concentrated;Using treated Target Photo as the icon of the destination application in the destination folder.The embodiment of the present invention solves in the prior art, the confinement problems that electronic equipment replacement application icon has.

Description

A kind of icon replacing options and electronic equipment
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of icon replacing options and electronic equipment.
Background technique
With the rapid development of mobile communication technology, the electronic equipment headed by smart phone has become each in for people's lives The indispensable tool of aspect.The function of the various application programs of electronic equipment is also gradually perfect, to the work of user, life band Great convenience is carried out.
By taking smart phone as an example, with independent operating system and running space, can be voluntarily installed by user The application program that tripartite service provider provides, and can realize that wireless network is accessed by mobile communications network.Currently, using journey Application program in sequence market is multifarious, and numerous developers has a large amount of applicationpackage online daily, and each answers Be with the icon of program it is fixed, cause a large amount of application program on user mobile phone nearly all to use respective unalterable figure Mark, so that the display desktop of user mobile phone lacks angry and personalization;With the Android of one of main operating system at present (Android) for system, due to its opening, the favor of a large amount of developers is obtained, user experience is also increasingly better.However Android system in terms of replacing application software icon, can't realize arbitrarily replacement application software icon at present;Even if part Application program supports replacement icon, and the requirement to new icon is also relatively high, for example, dimension of picture is no more than a size threshold Value, is easy to cause the new icon resolution ratio of replacement lower, not enough clearly.
Therefore, at present in electronic equipment, replacement application icon has certain limitation, it is difficult to meet of user Property use demand.
Summary of the invention
The embodiment of the present invention provides a kind of icon replacing options and electronic equipment, to solve in the prior art, electronic equipment The confinement problems that replacement application icon has.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of icon replacing options, which comprises
Receive the icon replacement operation for being directed to destination folder;
In response to the icon replacement operation, Target Photo collection is obtained, and to the Target Photo that the Target Photo is concentrated Execute presetted pixel enhancing processing;
Using treated Target Photo as the icon of the destination application in the destination folder.
Optionally, described using treated Target Photo as the figure of the destination application in the destination folder Mark, specifically includes:
To each application program in the destination folder, the Target Photo is concentrated opposite with the application program Icon of the picture answered as the application program.
Optionally, after the step of acquisition Target Photo collection, which comprises
Obtain the icon size of the destination application;Wherein, the icon size is preset or according to the mesh What the original image target size of mark application program determined;
The Target Photo is cut to the icon size.
Optionally, described the step of presetted pixel enhancing processing is executed to the Target Photo, comprising:
Obtain the pixel parameter and gray level parameter of the Target Photo;
According to the following formula, the gray scale of the pixel of the Target Photo is adjusted:
Wherein, the pixel parameter is m × n;L is the gray level parameter of the Target Photo;
XijIndicate the gray scale of (i, j) a pixel in m × n coordinate system of the Target Photo;uijIt indicates (i, j) The degree of membership of a pixel;R indicates default the number of iterations.
Optionally, described using treated Target Photo as the figure of the destination application in the destination folder Mark, comprising:
Obtain the original storage path of the Target Photo;
To the original storage path carry out uniform resource position mark URL coding, by the store path after coding store to In clipbook;
The store path is replicated from the clipbook, and carries out URL decoding, Load Image, and the picture is stored Into the icon source directory of the destination application.
Second aspect, the embodiment of the invention also provides a kind of electronic equipment, the electronic equipment includes:
Receiving module is operated, for receiving the icon replacement operation for being directed to destination folder;
Pixel enhances module, for obtaining Target Photo collection in response to the icon replacement operation, and to the target figure The Target Photo that piece is concentrated executes presetted pixel enhancing processing;
Icon replacement module, for using treated Target Photo as the destination application in the destination folder Icon.
Optionally, the icon replacement module includes:
Replace submodule, for each application program in the destination folder, by the Target Photo concentrate with Icon of the corresponding picture of the application program as the application program.
Optionally, the electronic equipment further include:
Size adjustment module, for obtaining the icon size of the destination application;Wherein, the icon size is pre- If or original image target size according to the destination application determines;
The Target Photo is cut to the icon size.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, which includes memory, processor And the computer program that can be run on a memory and on a processor is stored, when the processor executes the computer program Realize the step in icon replacing options as described above.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages Computer program is stored on medium, the computer program realizes icon replacing options as described above when being executed by processor In step.
In embodiments of the present invention, the icon replacement operation for being directed to destination folder is received, icon replacement operation can be simultaneously For multiple destination applications, realizes that the icon of multiple application programs is unified and replace;In response to the icon replacement operation, obtain Target Photo collection is taken, and presetted pixel enhancing processing is executed to the Target Photo that the Target Photo is concentrated;It will treated mesh It marks on a map icon of the piece as the destination application in the destination folder, the Target Photo for passing through pixel enhancing processing is differentiated Rate improves, and enhances the overall beautiful degree of electronic equipment display interface.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 shows one of the flow charts of icon replacing options provided in an embodiment of the present invention;
Fig. 2 indicates the two of the flow chart of icon replacing options provided in an embodiment of the present invention;
The exemplary flow chart of Fig. 3 expression embodiment of the present invention;
Fig. 4 indicates one of the block diagram of electronic equipment that the embodiment of the present invention provides;
Fig. 5 indicates the two of the block diagram for the electronic equipment that the embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of following each processes is not meant to execute suitable Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
Referring to Fig. 1, one embodiment of the invention provides a kind of icon replacing options, comprising:
Step 101, the icon replacement operation for being directed to destination folder is received.
It wherein, include one or more destination applications in destination folder;Destination application is an electronic equipment Interior application program;Optionally, the icon replacement operation that electronic equipment receives can be for application program, It can be for multiple application programs, realize that the icon of multiple application programs is unified by an icon replacement operation and replace; As an example, multiple destination applications of icon to be replaced can be dragged in a destination folder by user, in target text Icon replacement operation is triggered in part folder.
Step 102, in response to the icon replacement operation, Target Photo collection is obtained, and the Target Photo is concentrated Target Photo executes presetted pixel enhancing processing.
Wherein, electronic equipment obtains Target Photo collection, it includes one that Target Photo, which is concentrated, in response to the icon replacement operation It opens or multiple Target Photos, Target Photo, that is, user replaces the original graph target picture of the destination application;Target Photo It can be specified by user, such as one picture selection operation of setting, be executed by user;A file can also be set, by electronics Equipment is randomly choosed from this document folder.
Optionally, every Target Photo can be single picture, be also possible to the combination of plurality of pictures;The picture can be with It downloads, is can be from captured by the camera of electronic equipment from electronic equipment.
After obtaining Target Photo, presetted pixel enhancing processing is carried out to the Target Photo;Specifically, presetted pixel increases Pixel enhancing of the strength reason predominantly based on Fuzzy Processing, is first transformed from a spatial domain to image by subordinating degree function fuzzy Then domain set domain carries out pixel enhancing to image in fuzzy domain set domain, finally according to above-mentioned subordinating degree function again by image from fuzzy Domain set domain transforms to spatial domain;It is improved by the Target Photo resolution ratio of pixel enhancing processing, enhancing electronic equipment display interface Overall beautiful degree.
Step 103, using treated Target Photo as the icon of the destination application in the destination folder.
Wherein, by the original image mark of treated picture the replaces destination application, as the new of destination application Icon;On the one hand, the unified replacement of icon of multiple application programs may be implemented;On the other hand, it is handled by presetted pixel enhancing Target Photo clarity be improved.
Specifically, concentrating when Target Photo only includes a picture, then with all mesh of the picture treated picture replacement Mark the icon of application program;If it includes plurality of pictures that Target Photo, which is concentrated, it is corresponding with application program that picture can be preset Relationship, or corresponding relationship is manually selected by user, it is that destination application replaces icon according to corresponding relationship.
In the above embodiment of the present invention, the icon replacement operation for being directed to destination folder is received, icon replacement operation can be same When be directed to multiple destination applications, realize that the icon of multiple application programs is unified and replace;In response to the icon replacement operation, Target Photo collection is obtained, and presetted pixel enhancing processing is executed to the Target Photo that the Target Photo is concentrated;By treated Icon of the Target Photo as the destination application in the destination folder passes through the Target Photo point of pixel enhancing processing Resolution improves, and enhances the overall beautiful degree of electronic equipment display interface;The embodiment of the present invention solves in the prior art, electronics The confinement problems that equipment replacement application icon has.
Optionally, described using treated Target Photo as the mesh in the destination folder in the embodiment of the present invention The icon for marking application program, specifically includes:
To each application program in the destination folder, the Target Photo is concentrated opposite with the application program Icon of the picture answered as the application program.
Wherein, if in destination folder including multiple destination applications, and it includes multiple target figures that Target Photo, which is concentrated, Piece determines the corresponding picture of each application program then according to preset corresponding relationship, according to corresponding relationship, by Target Photo collection In icon of the picture corresponding with each application program as the application program.
Optionally, in the embodiment of the present invention, the step of the acquisition Target Photo collection after, which comprises
Obtain the icon size of the destination application;Wherein, the icon size is preset or according to the mesh What the original image target size of mark application program determined;
The Target Photo is cut to the icon size.
Wherein, icon size can be that electronic equipment is preset, i.e. target application journey of the electronic equipment to replaced icon Sequence can set a fixed dimension;Icon size can also individually be set for each destination application, such as according to target The original image target size of application program determines, Target Photo is cut to original image target size.
Optionally, in the embodiment of the present invention, described the step of executing presetted pixel enhancing processing to the Target Photo, is wrapped It includes:
Obtain the pixel parameter and gray level parameter of the Target Photo;
According to the following formula 1, adjust the gray scale of the pixel of the Target Photo:
Formula 1:
Wherein, the pixel parameter is m × n;L is the gray level parameter of the Target Photo;
XijIndicate the ash of (i, j) a pixel in m × n coordinate system (i.e. pixel coordinate system) of the Target Photo Degree;uijIndicate the degree of membership of (i, j) a pixel;R indicates default the number of iterations.
Wherein, pixel parameter is m × n, i.e. Target Photo includes m × n pixel;Gray level parameter is L, i.e. target Picture includes L tonal gradation;
For according to picture adjusted, pixel XijGray scale adjusted is as shown in formula 1;
Specifically, it adjusts process detailed process is as follows:
(1) there is the Target Photo of m × n pixel, L gray level for whole, be converted into a fuzzy set such as Shown in following equation 2:
Formula 2:
Wherein, I indicates set, U representing matrix;Each element all has relative to some particular gray level in the fuzzy set Subordinating degree function, uijIndicate the degree of membership of (i, j) a pixel;
And subordinating degree function uijMeet following equation 3:
Formula 3:
uij=xij/(L-1)
Wherein, xijIndicate that pixel coordinate is the gray value of (i, j);
(2) nonlinear transformation is carried out to the formula 2, pixel enhancing processing is carried out to picture in Fuzzy property domain, is obtained To following equation 4:
Formula 4:
By above-mentioned formula 4, work as uijWhen > 0.5, enhance its subordinating degree function value, otherwise reduce its subordinating degree function value, increases Marginal information in strong picture, the pixel that prominent gray value has significant change realize pixel enhancing to realize.
(3) picture forms new picture gray value subordinated-degree matrix after handling enhancing, such as following equation 5:
Formula 5:
(4) matrix inverse transformation is carried out to formula 5, obtains the grey scale pixel value for enhancing treated picture by presetted pixel Matrix is above formula 1, and image is transformed to spatial domain from fuzzy domain set domain again.
Referring to fig. 2, further embodiment of this invention provides a kind of icon replacing options, comprising:
Step 201, the icon replacement operation for being directed to destination folder is received.
Wherein, destination application is the application program in an electronic equipment;Optionally, the icon that electronic equipment receives Replacement operation can be for application program, be also possible to pass through an icon replacement for multiple application programs Operation is realized that the icon of multiple application programs is unified and is replaced;As an example, user can be by multiple target applications of icon to be replaced Program is dragged in a file, triggers icon replacement operation in this document folder.
Step 202, in response to the icon replacement operation, Target Photo collection is obtained, and the Target Photo is concentrated Target Photo executes presetted pixel enhancing processing.
Wherein, electronic equipment obtains Target Photo in response to the icon replacement operation, and Target Photo, that is, user replaces institute State the original graph target picture of destination application;Target Photo can be specified by user, such as one picture selection behaviour of setting Make, is executed by user;A file can also be set, is randomly choosed from this document folder by electronic equipment.
Optionally, Target Photo can be single picture, be also possible to the combination of plurality of pictures;The picture can come from It downloads, is can be from captured by the camera of electronic equipment in electronic equipment.
After obtaining Target Photo, presetted pixel enhancing processing is carried out to the Target Photo;Specifically, presetted pixel increases Pixel enhancing of the strength reason predominantly based on Fuzzy Processing, is first transformed from a spatial domain to image by subordinating degree function fuzzy Then domain set domain carries out pixel enhancing to image in fuzzy domain set domain, carry out according to above-mentioned subordinating degree function again by image from fuzzy Domain set domain transforms to spatial domain;It is improved by the Target Photo resolution ratio of pixel enhancing processing, enhancing electronic equipment display interface Overall beautiful degree.
Step 203, by treated, picture is stored into the icon source directory of the destination application.
Wherein, the catalogue that source directory, that is, application program program file is stored in electronic equipment, icon source directory, that is, source mesh For storing the position of icon in record;By treated, picture is stored respectively to the icon source directory of each destination application In, to realize duplication and stickup of the Target Photo across application program.
It is specifically, described that by treated, picture stores the step into the icon source directory of the destination application, Include:
Obtain the original storage path of the Target Photo;
To the original storage path carry out uniform resource position mark URL coding, by the store path after coding store to In clipbook;
The store path is replicated from the clipbook, and carries out URL decoding, Load Image, and the picture is stored Into the icon source directory of the destination application.
Wherein, Target Photo can be single picture, be also possible to the combination of plurality of pictures;The picture may come from Electronic equipment downloading, can be from captured by the camera of electronic equipment;Obtain Target Photo in the electronic device first Original storage path, to the original storage path carry out uniform resource locator (Uniform Resource Locator, URL it) encoding, wherein URL coding adds % before each byte of spcial character, realizes using spcial character as common byte, Spcial character is avoided to be mistaken for for separator etc..
Store path after coding is stored into clipbook, transmits the store path via clipbook;Target application There are URL codings into clipbook for Programmable detection, then are decoded, are Loaded Image according to decoded address, most to URL coding The picture loaded at last is stored into the icon source directory of the destination application.
In an embodiment of the present invention, the icon replacement operation for being directed to destination folder is received, icon replacement operation can be same When be directed to multiple destination applications, realize that the icon of multiple application programs is unified and replace;In response to the icon replacement operation, Target Photo collection is obtained, and presetted pixel enhancing processing is executed to the Target Photo that the Target Photo is concentrated, is increased by pixel The Target Photo resolution ratio of strength reason improves, and enhances the overall beautiful degree of electronic equipment display interface;It will treated picture It stores into the icon source directory of the destination application, as the icon of the destination application, to realize target figure Duplication and stickup of the piece across application program;The embodiment of the present invention solves in the prior art, and electronic equipment replaces application program image Mark the confinement problems having.
As an example, by taking smart phone as an example, Fig. 3 shows the icon replacement provided in the embodiment of the present invention referring to Fig. 3 One specific implementation process of method, mainly comprises the steps that
Step 301, the target software of the icon needed replacing is uniformly moved in new folder.
Step 302, selection needs the Target Photo replaced in smart phone picture library.
Step 303, Target Photo is edited, is cut to the icon size of target software.
Step 304, presetted pixel enhancing processing is uniformly carried out to the picture after cutting.
Step 305, enhanced picture is copied in the source directory of target software respectively and carries out unified replacement icon.
Wherein, in step 305, enhanced picture is copied to the step in the source directory of target software respectively, comprising:
A, URL coding is carried out to the store path information of picture, generates picture reproduction version of an agreement;
B, picture reproduction version of an agreement write-in shear plate is replicated;
C, judge in shear plate whether to be picture reproduction version of an agreement, if so, Load Image after carrying out URL decoding, it is multiple It makes in the source directory of target software;If it is not, then end operation.
In above-mentioned example, icon replacing options are easy to operate, can be realized to the unified replacement of the icon of multiple application programs, And the icon clarity after replacing is high, enhances the overall beautiful degree at smart phone interface.
Icon replacing options provided in an embodiment of the present invention are described above, introduces the present invention below in conjunction with attached drawing and implements The electronic equipment that example provides.
Referring to fig. 4, the embodiment of the invention also provides a kind of electronic equipment 400, comprising:
Receiving module 401 is operated, for receiving the icon replacement operation for being directed to destination folder.
It wherein, include one or more destination applications in destination folder;Destination application is an electronic equipment Application program in 400;Optionally, the icon replacement operation that electronic equipment 400 receives can be for an application program , it is also possible to for multiple application programs, realizes that the icon of multiple application programs is unified by an icon replacement operation Replacement;As an example, multiple destination applications of icon to be replaced can be dragged in a destination folder by user, in the mesh It marks and triggers icon replacement operation in file.
Pixel enhances module 402, for obtaining Target Photo collection in response to the icon replacement operation, and to the mesh The Target Photo that piece of marking on a map is concentrated executes presetted pixel enhancing processing.
Wherein, electronic equipment 400 obtains Target Photo collection in response to the icon replacement operation, and Target Photo concentrates packet One or more Target Photo is included, Target Photo, that is, user replaces the original graph target picture of the destination application;Target Picture can be specified by user, such as one picture selection operation of setting, be executed by user;A file can also be set, by Electronic equipment 400 is randomly choosed from this document folder.
Optionally, every Target Photo can be single picture, be also possible to the combination of plurality of pictures;The picture can be with It is downloaded from electronic equipment 400, captured by the camera that can be from electronic equipment 400.
After obtaining Target Photo, presetted pixel enhancing processing is carried out to the Target Photo;Specifically, presetted pixel increases Pixel enhancing of the strength reason predominantly based on Fuzzy Processing, is first transformed from a spatial domain to image by subordinating degree function fuzzy Then domain set domain carries out pixel enhancing to image in fuzzy domain set domain, finally according to above-mentioned subordinating degree function again by image from fuzzy Domain set domain transforms to spatial domain;It is improved by the Target Photo resolution ratio of pixel enhancing processing, enhances 400 display interface of electronic equipment Overall beautiful degree.
Icon replacement module 403, for using treated Target Photo as the target application in the destination folder The icon of program.
Wherein, by the original image mark of treated picture the replaces destination application, as the new of destination application Icon;On the one hand, the unified replacement of icon of multiple application programs may be implemented;On the other hand, it is handled by presetted pixel enhancing Target Photo clarity be improved.
Specifically, concentrating when Target Photo only includes a picture, then with all mesh of the picture treated picture replacement Mark the icon of application program;If it includes plurality of pictures that Target Photo, which is concentrated, it is corresponding with application program that picture can be preset Relationship, or corresponding relationship is manually selected by user, it is that destination application replaces icon according to corresponding relationship.
Optionally, the icon replacement module 403 includes:
Replace submodule, for each application program in the destination folder, by the Target Photo concentrate with Icon of the corresponding picture of the application program as the application program.
Wherein, if in destination folder including multiple destination applications, and it includes multiple target figures that Target Photo, which is concentrated, Piece then replaces submodule according to preset corresponding relationship, determines the corresponding picture of each application program, will according to corresponding relationship Target Photo concentrates icon of the picture corresponding with each application program as the application program.
Optionally, in the embodiment of the present invention, the electronic equipment 400 further include:
Size adjustment module, for obtaining the icon size of the destination application;Wherein, the icon size is pre- If or original image target size according to the destination application determines;
The Target Photo is cut to the icon size.
Wherein, icon size can be that electronic equipment 400 is preset, i.e. the target of 400 pairs of replaced icons of electronic equipment Application program can set a fixed dimension;Icon size can also individually be set for each destination application, such as root Determine that size adjustment module cuts Target Photo to original image target size according to the original image target size of destination application.
Optionally, in the embodiment of the present invention, the pixel enhancing module 402 includes:
Parameter acquisition submodule, for obtaining the pixel parameter and gray level parameter of the Target Photo;
Gray scale adjusting submodule, for according to the following formula, adjusting the gray scale of the pixel of the Target Photo:
Wherein, the pixel parameter is m × n;L is the gray level parameter of the Target Photo;
XijIndicate the gray scale of (i, j) a pixel in m × n coordinate system of the Target Photo;uijIt indicates (i, j) The degree of membership of a pixel;R indicates default the number of iterations.
Wherein, pixel parameter is m × n, i.e. Target Photo includes m × n pixel;Gray level parameter is L, i.e. target Picture includes L tonal gradation;
For according to picture adjusted, pixel XijGray scale adjusted is as shown in formula 1;
Optionally, in the embodiment of the present invention, the icon replacement module 403 includes:
Sub-module stored, for picture to be stored into the icon source directory of the destination application by treated.
Wherein, the catalogue that source directory, that is, application program program file is stored in electronic equipment 400, icon source directory, that is, source For storing the position of icon in catalogue;By treated, picture stores respectively to each destination application sub-module stored In icon source directory, to realize duplication and stickup of the Target Photo across application program.
Optionally, in the embodiment of the present invention, the sub-module stored is used for:
Obtain the original storage path of the Target Photo;
To the original storage path carry out uniform resource position mark URL coding, by the store path after coding store to In clipbook;
The store path is replicated from the clipbook, and carries out URL decoding, Load Image, and the picture is stored Into the icon source directory of the destination application.
Wherein, Target Photo can be single picture, be also possible to the combination of plurality of pictures;The picture may come from Electronic equipment 400 is downloaded, captured by the camera that can be from electronic equipment 400;Target Photo is obtained first to set in electronics Original storage path in standby 400 carries out uniform resource locator (Uniform Resource to the original storage path Locator, URL) coding, wherein URL coding before each byte of spcial character add %, realize using spcial character as Common byte avoids spcial character from being mistaken for for separator etc..
Store path after coding is stored into clipbook, transmits the store path via clipbook;Target application There are URL codings into clipbook for Programmable detection, then are decoded, are Loaded Image according to decoded address, most to URL coding The picture loaded at last is stored into the icon source directory of the destination application.
Electronic equipment 400 provided in an embodiment of the present invention can be realized electronic equipment in the embodiment of the method for Fig. 1 to Fig. 3 The 400 each processes realized, to avoid repeating, which is not described herein again.
In the embodiment of the present invention, operation receiving module 401 receives the icon replacement operation for being directed to destination folder, icon Replacement operation can be directed to multiple destination applications simultaneously, realize that the icon of multiple application programs is unified and replace;Pixel enhances mould Block 402 obtains Target Photo collection in response to the icon replacement operation, and executes to the Target Photo that the Target Photo is concentrated Presetted pixel enhancing processing;Icon replacement module 403 is using treated Target Photo as the target in the destination folder The icon of application program is improved by the Target Photo resolution ratio of pixel enhancing processing, enhancing 400 display interface of electronic equipment Overall beautiful degree;The embodiment of the present invention solves in the prior art, and electronic equipment 400 replaces the office that application icon has Sex-limited problem.
The hardware structural diagram of Fig. 5 a kind of electronic equipment of each embodiment to realize the present invention;
The electronic equipment 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that electronic devices structure shown in Fig. 5 is not constituted Restriction to electronic equipment, electronic equipment may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, electronic equipment include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 501, for receiving the icon replacement operation for being directed to destination folder;
Processor 510, for obtaining Target Photo collection in response to the icon replacement operation, and to the Target Photo The Target Photo of concentration executes presetted pixel enhancing processing;
Using treated Target Photo as the icon of the destination application in the destination folder.
In the embodiment of the present invention, the icon replacement operation for being directed to destination folder is received, icon replacement operation can be simultaneously For multiple destination applications, realizes that the icon of multiple application programs is unified and replace;In response to the icon replacement operation, obtain Target Photo collection is taken, and presetted pixel enhancing processing is executed to the Target Photo that the Target Photo is concentrated;It will treated mesh It marks on a map icon of the piece as the destination application in the destination folder, the Target Photo for passing through pixel enhancing processing is differentiated Rate improves, and enhances the overall beautiful degree of electronic equipment display interface.
It should be noted that method implementation in the embodiment of the present invention may be implemented in above-mentioned electronic equipment 500 in the present embodiment Each process in example, and reach identical beneficial effect, to avoid repeating, details are not described herein again.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Electronic equipment provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and electricity The relevant audio output of specific function that sub- equipment 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Electronic equipment 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when electronic equipment 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify electronic equipment posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with electronic equipment Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing electronic equipment as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of electronic equipment, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with electronic equipment 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in electronic equipment 500 or can be used in 500 He of electronic equipment Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of electronic equipment, utilizes each of various interfaces and the entire electronic equipment of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of electronic equipment, to carry out integral monitoring to electronic equipment.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Electronic equipment 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, electronic equipment 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of electronic equipment, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned icon replacing options embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned icon replacing options embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of icon replacing options, which is characterized in that the described method includes:
Receive the icon replacement operation for being directed to destination folder;
In response to the icon replacement operation, Target Photo collection is obtained, and the Target Photo that the Target Photo is concentrated is executed Presetted pixel enhancing processing;
Using treated Target Photo as the icon of the destination application in the destination folder.
2. icon replacing options according to claim 1, which is characterized in that it is described will treated Target Photo as institute The icon for stating the destination application in destination folder, specifically includes:
To each application program in the destination folder, the Target Photo is concentrated corresponding with the application program Icon of the picture as the application program.
3. icon replacing options according to claim 1, which is characterized in that described after the acquisition Target Photo collection Method includes:
Obtain the icon size of the destination application;Wherein, the icon size is preset or is answered according to the target It is determined with the original image target size of program;
The Target Photo is cut to the icon size.
4. icon replacing options according to claim 1, which is characterized in that the target concentrated to the Target Photo Picture executes presetted pixel enhancing processing, comprising:
Obtain the pixel parameter and gray level parameter of the Target Photo;
According to the following formula, the gray scale of the pixel of the Target Photo is adjusted:
Wherein, the pixel parameter is m × n;L is the gray level parameter of the Target Photo;
XijIndicate the gray scale of (i, j) a pixel in m × n coordinate system of the Target Photo;uijIndicate (i, j) a pixel The degree of membership of point;R indicates default the number of iterations.
5. icon replacing options according to claim 1, which is characterized in that it is described will treated Target Photo as institute State the icon of the destination application in destination folder, comprising:
Obtain the original storage path of the Target Photo;
Uniform resource position mark URL coding is carried out to the original storage path, the store path after coding is stored to cliping and pasting In plate;
The store path is replicated from the clipbook, and carries out URL decoding, Load Image, and the picture is stored to institute It states in the icon source directory of destination application.
6. a kind of electronic equipment characterized by comprising
Receiving module is operated, for receiving the icon replacement operation for being directed to destination folder;
Pixel enhances module, for obtaining Target Photo collection in response to the icon replacement operation, and to the Target Photo collection In Target Photo execute presetted pixel enhancing processing;
Icon replacement module, for using treated Target Photo as the figure of the destination application in the destination folder Mark.
7. electronic equipment according to claim 6, which is characterized in that the icon replacement module includes:
Replace submodule, for each application program in the destination folder, by the Target Photo concentrate with it is described Icon of the corresponding picture of application program as the application program.
8. electronic equipment according to claim 6, which is characterized in that further include:
Size adjustment module, for obtaining the icon size of the destination application;Wherein, the icon size is preset Or determined according to the original image target size of the destination application;
The Target Photo is cut to the icon size.
9. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 5 The step of described in any item icon replacing options.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the icon replacing options as described in any one of claims 1 to 5 are realized when the computer program is executed by processor Step.
CN201910704635.2A 2019-07-31 2019-07-31 Icon replacing method, electronic equipment and computer readable storage medium Active CN110493460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910704635.2A CN110493460B (en) 2019-07-31 2019-07-31 Icon replacing method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910704635.2A CN110493460B (en) 2019-07-31 2019-07-31 Icon replacing method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110493460A true CN110493460A (en) 2019-11-22
CN110493460B CN110493460B (en) 2021-02-02

Family

ID=68549083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910704635.2A Active CN110493460B (en) 2019-07-31 2019-07-31 Icon replacing method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110493460B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116320118A (en) * 2023-05-17 2023-06-23 日照职业技术学院 Telephone with external module for changing pre-stored number and method for changing pre-stored number

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW490973B (en) * 2000-10-17 2002-06-11 Yeh Hwei Jyung Image processing system of gray color method
CN103716685A (en) * 2014-01-09 2014-04-09 福建网龙计算机网络信息技术有限公司 Icon recognition system, server and method
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN109992339A (en) * 2019-02-21 2019-07-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of application icon
CN110049332A (en) * 2019-04-11 2019-07-23 深圳市朗驰欣创科技股份有限公司 A kind of method for compressing image, image compressing device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW490973B (en) * 2000-10-17 2002-06-11 Yeh Hwei Jyung Image processing system of gray color method
CN103716685A (en) * 2014-01-09 2014-04-09 福建网龙计算机网络信息技术有限公司 Icon recognition system, server and method
CN109992339A (en) * 2019-02-21 2019-07-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of application icon
CN109976848A (en) * 2019-03-06 2019-07-05 腾讯科技(深圳)有限公司 A kind of image display method, device, equipment and storage medium
CN110049332A (en) * 2019-04-11 2019-07-23 深圳市朗驰欣创科技股份有限公司 A kind of method for compressing image, image compressing device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116320118A (en) * 2023-05-17 2023-06-23 日照职业技术学院 Telephone with external module for changing pre-stored number and method for changing pre-stored number

Also Published As

Publication number Publication date
CN110493460B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN107734179A (en) A kind of message prompt method, mobile terminal
CN108415652A (en) A kind of text handling method and mobile terminal
CN109445894A (en) A kind of screenshot method and electronic equipment
CN110109593A (en) A kind of screenshotss method and terminal device
CN109151367A (en) A kind of video call method and terminal device
CN109327672A (en) A kind of video call method and terminal
CN110035181A (en) It is a kind of to apply card theme setting method and terminal fastly
CN109947650A (en) Script step process methods, devices and systems
CN109739407A (en) Information processing method and terminal device
CN109871358A (en) A kind of management method and terminal device
CN110177040A (en) Picture sharing method and mobile terminal
CN108334265A (en) A kind of document handling method and mobile terminal
CN108123999A (en) A kind of information push method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109491632A (en) A kind of resource sharing method and terminal
CN109522278A (en) A kind of file memory method and terminal device
CN108804628A (en) A kind of image display method and terminal
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN108009031A (en) The control method and mobile terminal of a kind of application program
CN110191426A (en) A kind of method and terminal of information sharing
CN108197302A (en) A kind of file folder creation method and mobile terminal
CN108469944A (en) A kind of display control method and mobile terminal
CN108259808A (en) A kind of video frame compression method and mobile terminal
CN108009274A (en) Piece file mergence method and mobile terminal
CN110493460A (en) A kind of icon replacing options 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