CN104991767B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104991767B
CN104991767B CN201510330779.8A CN201510330779A CN104991767B CN 104991767 B CN104991767 B CN 104991767B CN 201510330779 A CN201510330779 A CN 201510330779A CN 104991767 B CN104991767 B CN 104991767B
Authority
CN
China
Prior art keywords
application program
image
state parameter
icon
running state
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
CN201510330779.8A
Other languages
Chinese (zh)
Other versions
CN104991767A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510330779.8A priority Critical patent/CN104991767B/en
Publication of CN104991767A publication Critical patent/CN104991767A/en
Application granted granted Critical
Publication of CN104991767B publication Critical patent/CN104991767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an information processing method and electronic equipment, wherein the information processing method comprises the following steps: obtaining at least one running state parameter of an application program in the electronic equipment at the current moment; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program. The method provided by the invention solves the technical problems that the application program icon in the prior art is single in design and cannot meet the requirements of users. The method and the device have the advantages that the design diversification of the application program icons is realized, and the technical effect of better meeting the requirements of users is achieved.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
As information processing technology develops, more and more electronic devices appear in people's work and life, for example: generally, various application programs are installed in the electronic devices, such as mobile phones, tablet computers, and notebook computers, which are convenient for users to use.
In the prior art, a developer of an application program usually designs an application program icon, so that a user can identify the application program corresponding to the icon through the icon. The icon of the application merely provides the user with an identification identifying the application. When the icon of the application program is displayed on the display interface of the electronic equipment, the user can only know the application program corresponding to the icon through the icon, and cannot know other information of the application program from the icon of the application program. Therefore, the technical problems that the application program icon design is single and the user requirements are not met exist in the prior art.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problems that in the prior art, application program icons are single in design and cannot meet user requirements.
An embodiment of the present invention provides an information processing method, including:
obtaining at least one running state parameter of an application program in the electronic equipment at the current moment;
generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
Optionally, the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment.
Optionally, the generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter specifically includes:
determining a first color corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon colors, adjusting the color of an initial icon image of the application program to the first color, and taking the initial icon image after color adjustment as the first image; or
Determining a first style corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon styles, adjusting the style of an initial icon image of the application program to the first style, and taking the initial icon image after the style adjustment as the first image.
Optionally, the generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter specifically includes:
and when the at least one running state parameter specifically comprises a graphical interface corresponding to the running of the application program, intercepting an image corresponding to the graphical interface, and taking the intercepted image as the first image.
Optionally, the generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter specifically includes:
obtaining an initial icon image of the application program;
and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can obtain information corresponding to the at least one running state from the first image.
Optionally, after the displaying the first image as the display icon of the application on the display interface of the electronic device, the method further includes:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
Another aspect of an embodiment of the present invention provides an electronic device, including:
a housing;
a storage unit disposed within the housing for storing at least one program module;
the at least one processor is arranged in the shell and used for obtaining at least one running state parameter of the application program in the electronic equipment at the current moment by obtaining and running the at least one program module; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
Optionally, the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment.
Optionally, the at least one processor is further configured to:
determining a first color corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon colors, adjusting the color of an initial icon image of the application program to the first color, and taking the initial icon image after color adjustment as the first image; or
Determining a first style corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon styles, adjusting the style of an initial icon image of the application program to the first style, and taking the initial icon image after the style adjustment as the first image.
Optionally, the at least one processor is further configured to:
and when the at least one running state parameter specifically comprises a graphical interface corresponding to the running of the application program, intercepting an image corresponding to the graphical interface, and taking the intercepted image as the first image.
Optionally, the at least one processor is further configured to:
obtaining an initial icon image of the application program;
and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can obtain information corresponding to the at least one running state from the first image.
Optionally, the at least one processor is further configured to:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
Another aspect of an embodiment of the present invention provides an electronic device, including:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring at least one running state parameter of an application program in the electronic equipment at the current moment;
a first generating unit, configured to generate a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
and the first processing unit is used for displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
according to the technical scheme in the embodiment of the application, at least one running state parameter of the application program in the electronic equipment at the current moment is obtained; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program. Therefore, the electronic equipment can generate the display icon of the application program according to the operation parameters of the application program, and different operation parameters can correspondingly generate different icons, so that a user can timely know the current operation state of the application program through the generated icons. Therefore, the technical problems that the application program icons are single in design and cannot meet the requirements of users in the prior art are effectively solved. The method and the device have the advantages that the design diversification of the application program icons is realized, and the technical effect of better meeting the requirements of users is achieved.
According to the technical scheme in the embodiment of the application, the initial icon image of the application program is obtained; and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can know information corresponding to the at least one running state of the original icon image from the first image. In this way, the electronic device may generate a final display icon for the application based on the operating parameters of the application and the initial icon image. The user can simultaneously know the corresponding running state of the application program through the finally displayed icon and can identify the application program through the original icon image information. Therefore, the technical effects that the generated application program icons are diversified in prompt function and better meet the requirements of users are achieved.
According to the technical scheme in the embodiment of the application, at least one second running state parameter corresponding to the application program at a first moment is obtained at the first moment after a preset time interval is obtained from the current moment; generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter; and updating the display icon of the application program from the first image to the second image. Because the corresponding running states of the application program at different moments may be different, the electronic device may update the display icon of the application program at preset time intervals, so that the user knows that the state of the application program is the latest state through the icon of the application program. Therefore, the technical effect that the user can know the accurate running state of the application program by updating the display icon of the application program according to the preset time interval is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
Fig. 1 is a flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an icon style in a second implementation manner of step S102 in the information processing method according to the first embodiment of the present application;
fig. 3 is a schematic diagram of an icon style in a second implementation manner of step S102 in the information processing method according to the first embodiment of the present application;
fig. 4 is a schematic diagram of a first image generated in the third implementation manner of step S102 in the information processing method according to the first embodiment of the application;
fig. 5a to 5c are schematic diagrams of a first image generated by a fourth implementation manner of step S102 in the information processing method according to the first embodiment of the present application;
fig. 6 is a flowchart of steps included after step S103 of the information processing method according to the first embodiment of the present application;
fig. 7 is a schematic diagram illustrating an icon update in an information processing method according to an embodiment of the present application;
fig. 8 is a structural diagram of an electronic device according to a second embodiment of the present application;
fig. 9 is a structural diagram of an electronic device in a third embodiment of the present application.
Detailed Description
The embodiment of the invention provides an information processing method and electronic equipment, which are used for solving the technical problems that in the prior art, application program icons are single in design and cannot meet user requirements.
To solve the foregoing technical problem, an embodiment of the present invention provides an information processing method, and the general idea is as follows:
obtaining at least one running state parameter of an application program in the electronic equipment at the current moment;
generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
According to the technical scheme in the embodiment of the application, at least one running state parameter of the application program in the electronic equipment at the current moment is obtained; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program. Therefore, the electronic equipment can generate the display icon of the application program according to the operation parameters of the application program, and different operation parameters can correspondingly generate different icons, so that a user can timely know the current operation state of the application program through the generated icons. Therefore, the technical problems that the application program icons are single in design and cannot meet the requirements of users in the prior art are effectively solved. The method and the device have the advantages that the design diversification of the application program icons is realized, and the technical effect of better meeting the requirements of users is achieved.
The main implementation principle, the specific implementation mode and the corresponding beneficial effects of the technical scheme of the embodiment of the present application are explained in detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, an embodiment of the present invention provides an information processing method, including:
s101: obtaining at least one running state parameter of an application program in the electronic equipment at the current moment;
s102: generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
s103: and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
In a specific implementation process, the electronic device may be an electronic device such as a notebook computer, a tablet computer, a mobile phone, or other electronic devices, but not limited thereto, in the embodiment of the present application, the implementation process of the method in the embodiment of the present application will be described in detail by taking the electronic device as a mobile phone as an example.
When the electronic device is a mobile phone, for example, the method in the embodiment of the present application is specifically implemented as follows:
first, step S101 is performed, namely: at least one operating state parameter of an application program in the electronic equipment at the current moment is obtained. Wherein the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment. The specific implementation process is as follows:
the electronic equipment is provided with a plurality of application programs, the electronic equipment monitors the running state of each application program started in the electronic equipment in real time by starting a performance monitoring program, and the started application programs comprise the application programs started in the foreground and the application programs started in the background of the electronic equipment. The method comprises the steps that a performance monitoring program monitors an application program started in the electronic equipment, and the detected running parameters corresponding to the application program are sent to a processor of the electronic equipment, so that the electronic equipment can obtain the running state parameters of the application program in real time, and the running state parameters can comprise parameters such as memory occupancy rate, flow consumption rate and electric quantity consumption rate of the application program at the current moment. And no matter the electronic equipment is in a foreground opening state or a background opening state, the electronic equipment can obtain a graphical interface when the application program runs in real time through the monitoring software. Such as: when the WeChat application program in the electronic equipment runs in the background, parameters such as memory occupancy rate, flow consumption rate, electricity consumption rate and the like of the WeChat application program running at the current moment can be obtained in the electronic equipment through the safety software, and a graphical interface corresponding to the WeChat application program can be obtained when the WeChat application program is switched from the foreground running state to the background running state.
After the above steps are completed, the method in the embodiment of the present application performs step S102, that is: and generating a first image corresponding to the at least one running state parameter based on the at least one running state parameter.
In the embodiment of the present application, the step S102 has at least four specific implementations, but is not limited to the four implementations:
in a first mode, a first color corresponding to at least one running state parameter is determined based on a preset corresponding relationship between the running state parameter and an icon color, the color of an initial icon image of the application program is adjusted to the first color, and the initial icon image after the color is adjusted is used as the first image.
In a second mode, a first mode corresponding to at least one running state parameter is determined based on a preset corresponding relation between the running state parameter and the icon mode, the mode of the initial icon image of the application program is adjusted to the first mode, and the mode-adjusted initial icon image is used as the first image.
In a third mode, when the at least one running state parameter specifically includes a graphical interface corresponding to the running of the application program, an image corresponding to the graphical interface is intercepted, and the intercepted image is used as the first image.
In a fourth mode, obtaining an initial icon image of the application program; and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can obtain information corresponding to the at least one running state from the first image.
Continuing with the example that the electronic device is a mobile phone, the specific implementation of the above four ways of step S102 is described:
in a first manner, after obtaining at least one current operating state parameter of an application program, an electronic device may determine a first color corresponding to the at least one operating state parameter according to a corresponding relationship between the operating state parameter and an icon color, and adjust a color of an initial icon image of the application program to the first color. Due to the fact that the obtained running state parameters are different, the corresponding relation between the preset running state parameters called by the electronic equipment and the colors of the icons is different. Specifically, the corresponding relationship between the application program memory occupancy rate and the icon color pre-stored in the electronic device is shown in table one. When the electronic device obtains that the running state parameter corresponding to the application program is the memory occupancy rate of the application program, determining a first color corresponding to the obtained memory occupancy rate according to the corresponding relation between the memory occupancy rate and the icon color in the first table, and further adjusting the initial icon image of the application program to be the first color. Such as: the electronic equipment obtains that the memory occupancy rate of the WeChat application program at the current moment is 60%, obtains that the color of the icon corresponding to the memory occupancy rate of 60% is red through a first lookup table, adjusts the initial icon image of the WeChat application program to be red, and takes the initial icon image after color adjustment as a first image corresponding to the WeChat application program. For another example: the electronic equipment obtains that the memory occupancy rate of the WeChat application program at the current moment is 20%, obtains that the color of the icon corresponding to the memory occupancy rate of 20% is green through a first lookup table, adjusts the initial icon image of the WeChat application program to be green, and takes the initial icon image after color adjustment as a first image corresponding to the WeChat application program.
Watch 1
Memory occupancy rate Icon color
0~50% Green colour
50%~100% Red colour
Specifically, the correspondence between the application program traffic utilization rate and the icon color pre-stored in the electronic device is shown in table two. When the running state parameter corresponding to the application program is obtained by the electronic equipment and is the flow consumption rate of the application program, determining a first color corresponding to the obtained flow consumption rate according to the corresponding relation between the flow consumption rate and the icon color in the first table, and further adjusting the initial icon image of the application program to be the first color. Such as: when the electronic equipment obtains that the consumed flow of the WeChat application program at the current moment accounts for 40% of the total consumed flow of the electronic equipment, the electronic equipment obtains that the color of the icon corresponding to the flow consumption rate of 40% is red through a second lookup table, then the initial icon image of the WeChat application program is adjusted to be red, and the initial icon image after color adjustment is used as a first image corresponding to the WeChat application program. For another example: the electronic equipment obtains that the flow rate consumption rate of the WeChat application program at the current moment is 20%, obtains that the color of the icon corresponding to the flow rate consumption rate of 20% is green through a second lookup table, adjusts the initial icon image of the WeChat application program to be green, and takes the initial icon image after color adjustment as the first image corresponding to the WeChat application program.
Watch two
Rate of flow consumption Icon color
0~30% Green colour
30%~100% Red colour
Specifically, the corresponding relationship between the power consumption rate of the application program prestored in the electronic device and the color of the icon is shown in table three. When the running state parameter corresponding to the application program is the electricity consumption rate of the application program, the electronic equipment determines a first color corresponding to the obtained electricity consumption rate according to the corresponding relation between the electricity consumption rate and the icon color in the third table, and then adjusts the initial icon image of the application program to the first color. Such as: when the electronic equipment obtains that the electricity consumption of the WeChat application program at the current moment accounts for 30% of the total electricity consumption of the electronic equipment, the electronic equipment obtains that the color of the icon corresponding to the electricity consumption rate of 30% is green through a third look-up table, then the initial icon image of the WeChat application program is adjusted to be green, and the initial icon image after color adjustment is used as a first image corresponding to the WeChat application program. For another example: the electronic equipment obtains that the electricity consumption rate of the WeChat application program is 60% at the current moment, obtains that the color of the icon corresponding to the electricity consumption rate of 60% is red through a third lookup table, adjusts the initial icon image of the WeChat application program to be red, and takes the initial icon image after color adjustment as a first image corresponding to the WeChat application program.
Watch III
Rate of power consumption Icon color
0~40% Green colour
40%~100% Red colour
Of course, the electronic device may also combine multiple parameters of memory occupancy rate, traffic consumption rate, and power consumption rate corresponding to the application program at the current time to design a corresponding relationship between the operation parameters of the application program and the icon color, for example: setting the memory occupancy rate to be 50% -100%, and setting the color of the icon corresponding to the power consumption rate to be 40% -100% as red; or setting the memory occupancy rate to be 50% -100%, and setting the icon color corresponding to the flow rate utilization rate to be 40% -100% to be red. In a specific implementation process, the corresponding relationship between the application program running state parameter and the icon color may be designed according to actual needs, and the application is not limited herein.
Of course, the electronic device may obtain an image different from the initial icon image to generate the first image by adjusting the color of the initial icon image corresponding to the application program, and adjust the color of the image to the color corresponding to the application program running state parameter to generate the first image, which also falls within the scope of the present application, and the present application is not limited thereto. Moreover, the color corresponding to the application program running state parameter can be set according to actual needs, and is not limited to green and red in the above example, and may be other colors, such as: yellow, purple, etc., and the application is not limited thereto.
In a second manner, after obtaining at least one current operating state parameter of an application program, the electronic device may determine a first style corresponding to the at least one operating state parameter according to a corresponding relationship between the operating state parameter and an icon style, and adjust the style of an initial icon image of the application program to the first style. Due to the fact that the obtained running state parameters are different, the corresponding relation between the preset running state parameters called by the electronic equipment and the icon styles is different.
Specifically, the corresponding relationship between the application program memory occupancy rate and the icon style prestored in the electronic device is shown in table four. When the electronic equipment obtains that the running state parameter corresponding to the application program is the memory occupancy rate of the application program, determining a first pattern corresponding to the obtained memory occupancy rate according to the corresponding relation between the memory occupancy rate and the icon pattern in the table four, and further adjusting the pattern of the initial icon image of the application program to be the first pattern. Such as: the electronic equipment obtains that the memory occupancy rate of the QQ application program at the current moment is 60%, obtains the icon pattern corresponding to the memory occupancy rate of 60% as flash through the lookup table IV, further adjusts the pattern of the initial icon image of the QQ application program into flash, and takes the initial icon image after the pattern adjustment as the first image corresponding to the QQ application program. For another example: the electronic equipment obtains that the memory occupancy rate of the QQ application program at the current moment is 20%, obtains that the icon pattern corresponding to the memory occupancy rate of 20% is a static pattern through the lookup table IV, further adjusts the initial icon pattern of the QQ application program to be the static pattern, and takes the initial icon image after the pattern adjustment as the first image corresponding to the QQ application program.
Watch four
Memory occupancy rate Icon style
0~50% Static state
50%~100% Flicking
Specifically, the corresponding relationship between the application program traffic consumption rate and the icon style prestored in the electronic device is shown in table five. When the running state parameter corresponding to the application program is obtained by the electronic equipment and is the flow consumption rate of the application program, determining a first pattern corresponding to the obtained flow consumption rate according to the corresponding relation between the flow consumption rate and the icon pattern in the table five, and further adjusting the initial icon image of the application program to be the first pattern. Such as: when the electronic equipment obtains that the flow consumed by the QQ application program at the current moment accounts for 40% of the total flow consumed by the electronic equipment, the electronic equipment obtains an icon pattern corresponding to the flow consumption rate of 40% as flicker through a lookup table five, further adjusts the pattern of the initial icon image of the QQ application program into flicker, and takes the initial icon image after the pattern adjustment as a first image corresponding to the QQ application program. For another example: the electronic equipment obtains that the flow consumption rate of the QQ application program at the current moment is 20%, obtains that the icon pattern corresponding to the flow consumption rate of 20% is static through a lookup table V, adjusts the initial icon image of the QQ application program to be static, and takes the initial icon image after the pattern adjustment as the first image corresponding to the QQ application program.
Watch five
Rate of flow consumption Icon style
0~30% Static state
30%~100% Flicking
Specifically, the corresponding relationship between the power consumption rate of the application program prestored in the electronic device and the icon style is shown in table six. When the running state parameter corresponding to the application program is obtained by the electronic equipment and is the electricity consumption rate of the application program, determining a first pattern corresponding to the obtained electricity consumption rate according to the corresponding relation between the electricity consumption rate and the icon pattern in the first table, and further adjusting the initial icon image of the application program to be the first pattern. Such as: when the electronic equipment obtains that the electric quantity consumed by the QQ application program at the current moment accounts for 30% of the total electric quantity of the electronic equipment, the electronic equipment obtains that the icon pattern corresponding to the electric quantity consumption rate of 30% is a static pattern through a lookup table six, further adjusts the initial icon image of the QQ application program to be the static pattern, and takes the initial icon image after the pattern adjustment as a first image corresponding to the QQ application program. For another example: the electronic equipment obtains that the power consumption rate of the QQ application program is 60% at the current moment, obtains the icon pattern corresponding to the power consumption rate of 60% as flicker through the lookup table six, adjusts the initial icon image of the QQ application program to flicker, and takes the initial icon image after pattern adjustment as the first image corresponding to the QQ application program.
Watch six
Rate of power consumption Icon style
0~40% Static state
40%~100% Flicking
When the electronic device implements step S102 in the second manner, the static style and the flashing style of the icons in table four to table six are shown in fig. 2, the static style of the icon is 21, and the dynamic style of the icon is 22. Of course, the electronic device may also combine multiple parameters of memory occupancy rate, traffic consumption rate, and power consumption rate corresponding to the application program at the current time to design a corresponding relationship between the operation parameters of the application program and the icon style, for example: setting the icon style corresponding to the memory occupancy rate of 50% -100% and the power consumption rate of 40% -100% as a flicker; or setting the memory occupancy rate to be 50% -100%, and setting the icon style corresponding to the flow rate consumption rate to be 40% -100% as a flash. In a specific implementation process, the corresponding relationship between the application program running state parameter and the icon style may be designed according to actual needs, and the application is not limited herein. Moreover, the style corresponding to the application program running state parameter may be set according to actual needs, and is not limited to the flashing style and the static style in the above example, and may also be other styles, as shown in fig. 3, an outer frame 31 is added to the image corresponding to the initial icon, and the area corresponding to the outer frame 31 may display different colors, such as: red, green, yellow, etc. Or, an application initial icon image is displayed in a style of a blind effect, and the like. In a specific implementation process, the style of the application icon may be designed according to actual needs, and the application is not limited herein.
Of course, the processing manner in which the electronic device can generate the first image only by adjusting the pattern of the initial icon image corresponding to the application program, and can also obtain an image different from the initial icon image, and adjust the pattern of the image to the pattern corresponding to the running state parameter of the application program to generate the first image also falls within the protection scope of the present application, and the present application is not limited thereto.
In a third manner, after the electronic device obtains the current at least one operating state parameter of the application program, when the at least one operating state parameter specifically includes a graphical interface corresponding to the application program during operation, for example: the application program is switched from the foreground running state to the background running state, and the graphical interface corresponds to the moment; or the electronic device closes the corresponding graphical interface immediately before closing. And the electronic equipment intercepts the image corresponding to the graphical interface and takes the intercepted image as the first image. Such as: when a user opens the reading application program, and when the user closes the application program, the electronic equipment captures the image interface corresponding to the current reading page of the reading application program before closing, and takes the captured image as a first image. For another example: after a user starts a photo application program, a main screen is clicked, at this time, the photo application program enters a background running state, when the photo application program is switched from a foreground running state to a background running state, a graphical interface corresponding to the photo application program is shown as a schematic diagram 4, when the photo application program is switched from the foreground running state to the background running state, the graphical interface corresponding to the photo application program is 41, an image corresponding to the graphical interface 41 is intercepted by the electronic device and is subjected to reduction processing, a reduced image 42 is obtained, and the reduced image 42 is used as a first image. In this way, the electronic device uses the image 42 as a display icon corresponding to the photo application program, and when the user clicks the display icon to open the image application program, the effect of opening the application is smooth, and the user obtains better experience of the application.
In a fourth mode, after the electronic device obtains the current at least one operating state parameter of the application program, an initial icon image corresponding to the application program is also obtained, and then the initial icon image and information corresponding to the at least one operating state parameter are combined to generate the first image. Such as: the electronic device superimposes at least one operating state parameter corresponding to the obtained application program on the initial icon image in a defined color and a defined format, as shown in the schematic diagram 5 a. Or, the electronic device obtains at least one operating state parameter corresponding to the obtained application program, generates an image of the parameter from the parameters, and combines the image of the parameter with the initial image to generate the first image, as shown in fig. 5 b. Moreover, the electronic device may also directly convert the operating state parameters corresponding to the application program into an image, and use the image as the first image, as shown in fig. 5 c. In a specific implementation process, a combination form between the application program initial icon image and the running state parameter may be determined according to actual needs, and the application is not limited herein.
After step S102 is executed, the embodiment of the present application executes step S103, that is: and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
Continuing with the example that the electronic device is a mobile phone, the step S103 is implemented as follows: the method comprises the steps that after the electronic equipment generates a first image, a first position of an application program initial icon image displayed in a display screen of the electronic equipment is obtained, then, after the first position is obtained, the first image generated by the electronic equipment based on the running state parameters of the application program is used as an icon of the application program to be displayed at the first position of the display screen, the first image is updated to the icon of the application program, and the corresponding relation between the icon and the application program is established. Such as: when the user clicks the first image, the application program can respond to the clicking operation of the user to start or close.
Referring to fig. 6, after step S103 is executed, the embodiment of the present application further includes the following steps:
s601: at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
s602: generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
s603: updating a display icon of the application from the first image to the second image.
The specific implementation of the above steps is further elaborated by taking the example that the electronic device is a mobile phone. After the electronic device displays the first image on the display screen as an icon of the application program, the running state of the application program may change in real time. Such as: the memory occupancy rate corresponding to the first time is 10%, and the memory occupancy rate corresponding to the second time after the first time is 60%. Therefore, the displayed icon of the application program needs to be updated at preset time intervals. Therefore, the electronic device detects and obtains the running state parameter corresponding to the application program at the first moment after the current moment is away from the first moment by a preset time interval, and generates the corresponding second image based on the running state parameter corresponding to the first moment. And updating the display icon of the application program from the first image to the second image. As shown in diagram 7, the QQ application is 18 at 6 months and 12 days 2015: the memory occupancy rate corresponding to 44:45 is 20%, the icon corresponding to the QQ application is 71, and in 2015, 6, 12, 18: the memory occupancy rate corresponding to 54:45 is 60%. So, the electronic device is programmed according to the rule of 18 at 6 months and 12 days 2015: the memory occupancy rate of 54:45 regenerates the second image 72 and displays the image 72 on the display screen as an icon for the QQ application. Wherein, the preset time interval can be set according to actual needs, such as: 1 minute, 5 minutes, 10 minutes, etc. The application is not limited thereto.
Example two
Referring to fig. 8, an embodiment of the present application further provides an electronic device, including:
a housing 801;
a storage unit 802 provided within the housing for storing at least one program module;
at least one processor 803, disposed in the housing, for obtaining at least one operating state parameter of an application program in the electronic device at a current time by obtaining and operating the at least one program module; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
Optionally, the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment.
Optionally, the at least one processor is further configured to:
determining a first color corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon colors, adjusting the color of an initial icon image of the application program to the first color, and taking the initial icon image after color adjustment as the first image; or
Determining a first style corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon styles, adjusting the style of an initial icon image of the application program to the first style, and taking the initial icon image after the style adjustment as the first image.
Optionally, the at least one processor is further configured to:
and when the at least one running state parameter specifically comprises a graphical interface corresponding to the running of the application program, intercepting an image corresponding to the graphical interface, and taking the intercepted image as the first image.
Optionally, the at least one processor is further configured to:
obtaining an initial icon image of the application program;
and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can obtain information corresponding to the at least one running state from the first image.
Optionally, the at least one processor is further configured to:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
EXAMPLE III
Referring to fig. 9, an embodiment of the present application further provides an electronic device, including:
a first obtaining unit 901, configured to obtain at least one running state parameter of an application program in an electronic device at a current time;
a first generating unit 902, configured to generate a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
a first processing unit 903, configured to display the first image on a display interface of the electronic device as a display icon of the application program.
Optionally, the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment.
Optionally, the first generating unit includes:
the first generation module is used for determining a first color corresponding to the at least one running state parameter based on a preset corresponding relation between the motion state parameter and the icon color, adjusting the color of an initial icon image of the application program to the first color, and taking the initial icon image after the color is adjusted as the first image; or
And the second generation module is used for determining a first pattern corresponding to the at least one running state parameter based on the corresponding relation between the preset motion state parameter and the icon pattern, adjusting the pattern of the initial icon image of the application program to the first pattern, and taking the initial icon image after the pattern adjustment as the first image.
Optionally, the first generating unit includes:
and a third generating module, configured to, when the at least one running state parameter specifically includes a graphical interface corresponding to the application program when running, intercept an image corresponding to the graphical interface, and use the intercepted image as the first image.
Optionally, the first generating unit includes:
the first acquisition module is used for acquiring an initial icon image of the application program;
and the fourth generating module is used for processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can acquire information corresponding to the at least one running state of the original icon image from the first image.
Optionally, the electronic device further includes:
a second obtaining unit, configured to obtain, at a first time that is a preset time interval away from the current time, at least one second running state parameter corresponding to the application program at the first time;
a second generating unit configured to generate a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
and the first updating unit is used for updating the display icon of the application program from the first image to the second image.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
according to the technical scheme in the embodiment of the application, at least one running state parameter of the application program in the electronic equipment at the current moment is obtained; generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program. Therefore, the electronic equipment can generate the display icon of the application program according to the operation parameters of the application program, and different operation parameters can correspondingly generate different icons, so that a user can timely know the current operation state of the application program through the generated icons. Therefore, the technical problems that the application program icons are single in design and cannot meet the requirements of users in the prior art are effectively solved. The method and the device have the advantages that the design diversification of the application program icons is realized, and the technical effect of better meeting the requirements of users is achieved.
According to the technical scheme in the embodiment of the application, the initial icon image of the application program is obtained; and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can know information corresponding to the at least one running state of the original icon image from the first image. In this way, the electronic device may generate a final display icon for the application based on the operating parameters of the application and the initial icon image. The user can simultaneously know the corresponding running state of the application program through the finally displayed icon and can identify the application program through the original icon image information. Therefore, the technical effects that the generated application program icons are diversified in prompt function and better meet the requirements of users are achieved.
According to the technical scheme in the embodiment of the application, at least one second running state parameter corresponding to the application program at a first moment is obtained at the first moment after a preset time interval is obtained from the current moment; generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter; and updating the display icon of the application program from the first image to the second image. Because the corresponding running states of the application program at different moments may be different, the electronic device may update the display icon of the application program at preset time intervals, so that the user knows that the state of the application program is the latest state through the icon of the application program. Therefore, the technical effect that the user can know the accurate running state of the application program by updating the display icon of the application program according to the preset time interval is achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the method for determining the operating mode of the electronic device in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the method for determining the operating mode of the electronic device in the storage medium are read or executed by an electronic device, the method includes the following steps:
obtaining at least one running state parameter of an application program in the electronic equipment at the current moment;
generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter;
and displaying the first image on a display interface of the electronic equipment as a display icon of the application program.
Wherein the operating state parameters include: and one or more combinations of the memory occupancy rate, the flow consumption rate, the electric quantity consumption rate and a corresponding graphical interface when the application program runs at the current moment.
Optionally, the step of storing in the storage medium: generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter, specifically comprising the steps of:
determining a first color corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon colors, adjusting the color of an initial icon image of the application program to the first color, and taking the initial icon image after color adjustment as the first image; or
Determining a first style corresponding to the at least one running state parameter based on a corresponding relation between preset running state parameters and icon styles, adjusting the style of an initial icon image of the application program to the first style, and taking the initial icon image after the style adjustment as the first image.
Optionally, the step of storing in the storage medium: generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter, specifically comprising the steps of:
and when the at least one running state parameter specifically comprises a graphical interface corresponding to the running of the application program, intercepting an image corresponding to the graphical interface, and taking the intercepted image as the first image.
Optionally, the step of storing in the storage medium: generating a first image corresponding to the at least one operating state parameter based on the at least one operating state parameter, specifically comprising the steps of:
obtaining an initial icon image of the application program;
and processing the initial icon image based on the at least one running state parameter to generate a first image, so that a user can obtain information corresponding to the at least one running state from the first image.
Optionally, when the step in the storage medium: after the first image is displayed on a display interface of the electronic equipment as a display icon of the application program, the method further comprises the following steps:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. An information processing method comprising:
obtaining at least one running state parameter of an application program in the electronic equipment at the current moment;
when at least one running state parameter comprises that the application program is closed or switched to background running, intercepting an image corresponding to a graphical interface of the application program, and taking the intercepted image as a first image;
and taking the first image as a display icon of the application program, and displaying the first image on a display interface of the electronic equipment in an updated mode so as to enable a user to smoothly start the application program when starting the application program through the display icon.
2. The method of claim 1, wherein the operating state parameters further comprise: and one or more combinations of the memory occupancy rate, the flow consumption rate and the electric quantity consumption rate of the application program at the current moment.
3. The method of claim 1 or 2, wherein after the displaying the first image as the display icon of the application on the display interface of the electronic device in an updated manner, the method further comprises:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
4. An electronic device, comprising:
a housing;
a storage unit disposed within the housing for storing at least one program module;
the at least one processor is arranged in the shell and used for obtaining at least one running state parameter of the application program in the electronic equipment at the current moment by obtaining and running the at least one program module; when at least one running state parameter comprises a corresponding graphical interface when the application program runs, intercepting an image corresponding to the graphical interface, and taking the intercepted image as a first image; and displaying the first image on a display interface of the electronic equipment as a display icon of the application program in an updating mode.
5. The electronic device of claim 4, wherein the operating state parameters further comprise: and one or more combinations of the memory occupancy rate, the flow consumption rate and the electric quantity consumption rate of the application program at the current moment.
6. The electronic device of claim 4 or 5, wherein the at least one processor is further configured to:
at a first moment which is a preset time interval away from the current moment, obtaining at least one second running state parameter corresponding to the application program at the first moment;
generating a second image corresponding to the at least one second operating state parameter based on the at least one second operating state parameter;
updating a display icon of the application from the first image to the second image.
7. An electronic device, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring at least one running state parameter of an application program in the electronic equipment at the current moment;
the first generation unit is used for intercepting an image corresponding to a graphical interface of the application program when at least one running state parameter comprises that the application program is closed or switched to background running, and taking the intercepted image as a first image;
and the first processing unit is used for displaying the first image as a display icon of the application program, and displaying the first image on a display interface of the electronic equipment in an updated mode so as to enable a user to smoothly start the application program when the user starts the application program through the display icon.
CN201510330779.8A 2015-06-15 2015-06-15 Information processing method and electronic equipment Active CN104991767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510330779.8A CN104991767B (en) 2015-06-15 2015-06-15 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510330779.8A CN104991767B (en) 2015-06-15 2015-06-15 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104991767A CN104991767A (en) 2015-10-21
CN104991767B true CN104991767B (en) 2021-11-16

Family

ID=54303583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510330779.8A Active CN104991767B (en) 2015-06-15 2015-06-15 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104991767B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106855797A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 The method to set up and device of a kind of interface element color
CN105553772B (en) * 2015-12-18 2020-03-17 小米科技有限责任公司 Flow monitoring method and device
CN106095405B (en) * 2016-05-31 2020-02-07 北京小米移动软件有限公司 Icon updating method and device
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device
CN106383627A (en) * 2016-08-26 2017-02-08 北京小米移动软件有限公司 Information displaying method and apparatus
CN108132735B (en) * 2016-11-30 2023-04-07 中兴通讯股份有限公司 Terminal and application control method
CN107168634A (en) * 2017-04-27 2017-09-15 北京小米移动软件有限公司 The method and device that securities information is shown

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521034A (en) * 2011-12-27 2012-06-27 惠州Tcl移动通信有限公司 Multitask management method and multitask management system based on android system
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103176700A (en) * 2013-03-22 2013-06-26 广东欧珀移动通信有限公司 Method and terminal for quickly displaying status information of application program
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4408456B2 (en) * 1997-02-14 2010-02-03 株式会社ニコン Information processing device
CN103019841B (en) * 2012-11-23 2016-06-29 广东欧珀移动通信有限公司 Quickly switch method and the terminal thereof of application program
CN104199646A (en) * 2014-08-15 2014-12-10 小米科技有限责任公司 Application program displaying method, device and equipment
CN104572407A (en) * 2014-12-29 2015-04-29 联想(北京)有限公司 Display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521034A (en) * 2011-12-27 2012-06-27 惠州Tcl移动通信有限公司 Multitask management method and multitask management system based on android system
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof
CN103176700A (en) * 2013-03-22 2013-06-26 广东欧珀移动通信有限公司 Method and terminal for quickly displaying status information of application program

Also Published As

Publication number Publication date
CN104991767A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104991767B (en) Information processing method and electronic equipment
CN109191410B (en) Face image fusion method and device and storage medium
CN104123113B (en) The multi-screen display method and device of a kind of mobile terminal and its multisystem
KR102454196B1 (en) Method for controlling display and electronic device supporting the same
CN107454344B (en) A kind of acquisition parameters setting method and user terminal
CN104424432B (en) A kind of information processing method and electronic equipment
CN104144297A (en) System and method for automatically adding watermarks to shot pictures
CN105955869A (en) Electronic device abnormal application monitoring and processing system and method
CN105224162A (en) The matching process of terminal demonstration style and system
CN103076954B (en) The method of adjustment display effect and device
CN104516644A (en) Method for free screen capture and terminal
CN107085508A (en) A kind of information processing method and electronic equipment
CN103092551A (en) Method and device for adjusting display effect
CN103914231A (en) Method for quickly entering application program and mobile terminal
CN105895050B (en) A kind of information processing method and electronic equipment
CN105808035A (en) Icon display method and apparatus
CN109600515A (en) A kind of information processing method and electronic equipment
CN105373373B (en) Method and device for quickly generating icon
CN106453965B (en) The adaptive regulation method and device of terminal backlight
WO2019010925A1 (en) Method and apparatus for customizing status bar on terminal, and electronic device
CN106911937A (en) The collocation method and system of a kind of live middle present banner background colour
CN104915168A (en) Information processing method and electronic device
CN108289191A (en) Image-recognizing method and device
CN105334956A (en) Information processing method and electronic device
TW201508605A (en) A device and a system with a interface displaying information of internet and a interface generation method

Legal Events

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