CN105824496A - Method for setting icon brightness based on use of users and mobile terminal - Google Patents

Method for setting icon brightness based on use of users and mobile terminal Download PDF

Info

Publication number
CN105824496A
CN105824496A CN201610045041.1A CN201610045041A CN105824496A CN 105824496 A CN105824496 A CN 105824496A CN 201610045041 A CN201610045041 A CN 201610045041A CN 105824496 A CN105824496 A CN 105824496A
Authority
CN
China
Prior art keywords
icon
application program
threshold value
brightness
background area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610045041.1A
Other languages
Chinese (zh)
Inventor
朱音
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610045041.1A priority Critical patent/CN105824496A/en
Publication of CN105824496A publication Critical patent/CN105824496A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

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

Abstract

The invention provides a method for setting icon brightness based on use of users and belongs to the technical field of display. The method comprises the following steps: setting the contrast level of an icon according to use frequency of an application program; calculating the grey scale value of the background area of the icon, setting the brightness of the icon according to the grey scale value and the contrast level, and setting the color of an icon word according to the color of the background area of the icon word. As for icons of application programs frequently used by the users, the contrast between the icons and the backgrounds is enhanced to highlight the icons, so that convenience is brought for the users to quickly find the frequently-used application programs from numerous applications, and meanwhile, the user experience is improved.

Description

A kind of method and mobile terminal that icon brightness is set based on user's service condition
Technical field
The present invention relates to Display Technique field, particularly relate to a kind of method and mobile terminal that icon brightness is set based on user's service condition.
Background technology
Along with popularizing of intelligent terminal, increasing application program (APP, Application) brings facility to the life of people, and the desktop of user intelligent terminal is then that we remove to use the most direct entrance of these APP.But being as increasing of the APP that intelligent terminal loads above, how user is quickly found certain APP becomes a problem demanding prompt solution.
Current most intelligent terminal has following two for the processing method of similar problem: the first, set up classification folder or specification area, common application is carried out Classification Management;The second, required application is searched by background application.For first method, user finds and wants to need when opening certain APP first to find the file at this APP place or place region, then, then the APP opened required for lookup from numerous similar APP.This method opening APP of the prior art, user is needed still to remember file corresponding for each APP or position, Consumer's Experience bad and for second method, user wants that the application opened must be to use before and retained in the buffer, if user performed to clear up internal memory, power-off or the operation of shutdown, then cannot find this APP by background application.
Further, since current APP is large number of, the similarity of the icon of application program the most constantly increases.When the icon similarity of two application programs is higher, the icon word that the icon of user's application program to be passed through is illustrated below just can accurately distinguish icon.And icon word is often affected by icon and background, cause the problem that resolution is relatively low.
Visible, in prior art, the icon-based programming degree of APP is the highest and icon word is easily disturbed the reason being all to cause user cannot be quickly found out the icon required to look up.
Summary of the invention
The present invention provides a kind of method and mobile terminal arranging icon brightness based on user's service condition, solves in prior art owing to the icon-based programming degree of APP is the highest and icon word is easily disturbed the problem causing user cannot be quickly found out the icon required to look up.
In order to solve the problems referred to above, embodiments provide a kind of method that icon brightness is set based on user's service condition, including: according to the contrast level using its icon of frequency configuration of application program;Calculate the gray value of the background area of described icon, according to described gray value and described contrast level arrange described icon brightness and, according to the color of the background area of described icon word, the color of described icon word is set.
Accordingly, in order to solve the problems referred to above, the embodiment of the present invention additionally provides a kind of mobile terminal arranging icon brightness based on user's service condition, including: contrast arranges unit, for the contrast level using its icon of frequency configuration according to application program;Brightness and color arrange unit, for calculating the gray value of described icon background area, the contrast level of icon that unit arranges is set according to described gray value and described contrast the brightness of described icon is set, and, the color of the background area according to described icon word, arranges the color of described icon word.
Embodiments of the invention are by the contrast level of the icon of application program described in the use frequency configuration according to application program, then, calculate the gray value of described icon background area, and, the color of the background area according to described icon word, the color of described icon word is set, the brightness of described icon is set according to described gray value and described contrast level, icon for the commonly used application program of user, by strengthening this icon and icon word and the contrast of background area brightness, highlight this icon, it is easy to user in the various application of a multitude of names, is quickly found out conventional application program, simultaneously, improve Consumer's Experience.Compared with prior art, it is not necessary to create file, and enter file and search, do not removed by internal memory and bring and affected starting APP, it is possible to the most quickly but also present the APP icon that user is commonly used efficiently.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of one embodiment of method arranging icon brightness based on user's service condition of the present invention;
Fig. 2 is the flow chart of a kind of another embodiment of method arranging icon brightness based on user's service condition of the present invention;
Fig. 3 is the schematic diagram of the background area of icon in one embodiment of the invention;
Fig. 4 is the flow chart of a kind of method further embodiment arranging icon brightness based on user's service condition of the present invention;
Fig. 5 is the structure chart of one embodiment of mobile terminal of the present invention;
Fig. 6 is the structure chart of another embodiment of mobile terminal of the present invention;
Fig. 7 is the structure chart of another embodiment of mobile terminal of the present invention;
Fig. 8 is the structure chart of the mobile terminal further embodiment of the present invention;
Fig. 9 is the structure chart of another embodiment of mobile terminal of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
Present embodiments provide and a kind of the method for icon brightness be set based on user's service condition as it is shown in figure 1, the method includes:
Step 140, uses its contrast level of icon of frequency configuration according to application program;
Step 160, calculates the gray value of described icon background area, arranges the brightness of described icon according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
When being embodied as, the threshold value sampling period can be set, and record user within N continuous the threshold value sampling period, use the number of times of each application program, and calculate the use frequency of this application program in an average threshold value sampling period, thus realize gathering user's use frequency to application program;The icon of the application program high to use frequency, arranges higher contrast level, and contrast level is the highest, and the luminance contrast of the brightness of icon and the background area of described icon is the strongest;Finally, by calculating the gray value of described icon background area, as reference gray level value, and the contrast level of connected applications program arranges the brightness of icon and the color of icon word of described application program.N is the positive integer more than 1.
In another specific embodiment of the present invention, as in figure 2 it is shown, before the step according to the contrast level using its icon of frequency configuration of application program, described method also includes: the step 120 of the use frequency of described calculating application program,
Described step 120 farther includes: the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtain the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
The present invention is by gathering user's access times to application program, and calculate user's use frequency to each application program within a period of time, the contrast level of the icon of application program described in use frequency configuration according to described application program, then, calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, the color of the background area according to described icon word, arranges the color of described icon word.Icon for the commonly used application program of user, by strengthening this icon and the contrast of surrounding brightness, highlight this icon, it is simple to user is quickly found out conventional application program in the various application of a multitude of names, the service efficiency of raising equipment, further improves Consumer's Experience.
In a preferred embodiment of the invention, preset the threshold value sampling period, N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, and in described N continuous the threshold value sampling period, each threshold value sampling period includes again many sub-threshold value sampling periods.Mobile terminal can record user and use the number of times of arbitrary application program in N continuous the threshold value sampling period.Such as, the icon that user clicks on this application program by desktop starts this application program, and the access times of this application program add 1.
Farther including of the step of the use frequency of described calculating application program: according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;Wherein,
Within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;
Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
Being 1 week with the sub-threshold value sampling period below, in 1 month threshold value sampling period, monthly comprise 4 weeks, continuous acquisition is discussed in detail the technical scheme of the present embodiment as a example by 12 weeks.In the present embodiment, N is equal to 3, and M is equal to 2 or 3.
From the time that each application program uses for the first time, record the number of times clicking on weekly the application icon each application program of entrance from desktop, continuously record 12 weeks respectively.Following table is the access times data of 12 weeks of an application program of record, within 01 week, represents distance current time nearest one week, within 12 weeks, represents distance current time farthest one week:
All numbers 01 02 03 04 05 06 07 08 09 10 11 12
Number of times 20 20 30 20 30 40 30 40 30 40 40 50
The access times data of continuous 12 weeks obtained being divided into 3 months according to time order and function order, the time is nearest at last distance current point in time of sub-threshold value sampling period, it may be assumed that within the 01st, 02,03,04 week, be the distance immediate first month of current time;It within 05th, 06,07,08 week, it is the second month of distance current time;It within 09th, 10,11,12 weeks, it is three month of distance current time.The access times data of every month are provided with corresponding cycle weight, and the cycle weight in time in posterior month is gradually increased, and such as, the cycle weight of first month is 60%, and the cycle weight of second month is 30%, and trimestral cycle weight is 10%.The frequency of the access times in second month and the 3rd each week in the middle of the month calculates the weight cycle weight equal to this month, it may be assumed that it is 10% that the frequency of the access times of the 09th, 10,11,12 weeks calculates weight;It is 30% that the frequency of the access times of the 05th, 06,07,08 week calculates weight.For first month, the sequencing further according to the time arranges sub sampling cycle weight from low to high to the access times in week each in this month.Such as, the sub sampling cycle weight 40% of the sub sampling cycle weight access times of the 30%, the 01st week of the sub sampling cycle weight access times of the 20%, the 02nd week of the sub sampling cycle weight access times of the 10%, the 03rd week of the access times of the 04th week.
Then, according to using the number of times of arbitrary application program in above-mentioned continuous 12 weeks, calculate the application program access times of every month, more averagely use frequency by what weighted sum calculated this application program every month in continuous 12 weeks (i.e. 3 months).First, the application program access times of first month are calculated.First month i.e. lights first threshold value sampling period forward from current time, and within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period.Number of times weekly in first month is weighted summation, obtains current time and light average weekly access times: the W1=20 × 40%+20 × 30%+30 × 20%+20 of this application program in first threshold value sampling period forward × 10%=22 time;Then, then with in first month weekly average time take advantage of 4 as the access times T of first month3, i.e. T3=W1 × 4=22 × 4=88, the i.e. access times of application program within first threshold value sampling period that current time is lighted forward.After again, calculate current time and light the access times of application program, i.e. the application program access times T of the second month in the present embodiment in the m-th threshold value sampling period forward2With trimestral application program access times T1.Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward.Wherein, M is the positive integer more than 1 and less than or equal to N, i.e. M does not include the first month that distance current time is nearest.I.e. T2=30+40+30+40=140, T1=30+40+40+50=160.Finally, the access times of every month are weighted summation, and the average access times of every month in obtaining three months, such as below equation: M1=T3× 60%+T2× 30%+T1× 10%=110.8.
Each application program can be calculated within continuous print N number of threshold value sampling period according to said method, the average access times in each threshold value sampling period, the use frequency of the most each application program.When being embodied as, above-mentioned threshold value sampling period, sub-threshold value sampling period can arrange other values, access times weekly in first month can not be arranged frequency further and calculate weight, or each threshold value sampling period, every sub-threshold value sampling period are arranged other weight, can solve to gather the problem that user uses application program frequency.Embodiments of the invention are only preferred embodiments, calculate weight by most recently used data are arranged higher frequency, it is possible to analyze the service condition of user more accurately, thus arrange the brightness of application program more accurately, improve Consumer's Experience.
The color of the background area according to described icon word, arranges the average gray value that the color of described icon word comprises determining that the background area of icon word;According to default average gray value and the corresponding relation of icon text color, determine the color of icon word;The color of described icon word is set.Can set a reference gray level value, when the average gray value of background area is less than reference gray level value, illustrate that background is lighter, the color of icon word can use dark color;When the average gray value of background area is higher than reference gray level value, illustrating that background is dark, the color of icon word can use light color.This reference gray level value can be set to 180, when the average gray value of background area is 30, then the gray value of icon word can use the random color more than 180;When the average gray value of background area is 200, then the gray value of icon word can use the random color less than 180.Such as, background area is black, and this icon word can use the light color words such as light yellow, light blue.Arranging a light color list, light color list includes the multiple gray value color more than 180, such as yellow, blueness, green etc.;Arranging a dark list, dark list includes the multiple gray value color less than 180, such as black, purple, redness etc..Color in light color list or dark list can randomly choose, as long as icon word and wallpaper can be allowed effectively to be distinguished by human eye.Effectively when icon similarity is big, user determines the application icon of required lookup quickly through icon word.In another specific embodiment of the present invention, the above-mentioned contrast level using its icon of frequency configuration according to described application program farther includes: according to the uses frequency order from high to low of application program, all application programs are divided into number of thresholds contrast level, the contrast level being directly proportional the icon setting of application program to the use frequency of described application program.Can pre-set number of thresholds contrast level, such as number of thresholds when being 4, according to using frequency order from high to low that all application programs are divided into 4 contrast level, be 1~4 grade respectively, 4 grades is high-contrast rank.Contrast level is the highest, and the brightness of icon and the luminance difference of background area are the biggest.To all of application program, after the use frequency gathered order arrangement from high to low, it is divided into the packet identical with contrast level quantity, i.e. 4 groups, often organizes the corresponding contrast level of application program.For using the packet that frequency is the highest, corresponding contrast level is the highest.Above-mentioned number of thresholds can set according to the quantity of the application program on mobile terminal and Consumer's Experience, if such as mobile terminal has 20 application programs, for more prominent display application icon, number of thresholds can be set to 4, each contrast level comprises 5 application programs;If mobile terminal has 10 application programs, number of thresholds can be set to 3.The contrast level of identification application is carried out by increasing a label in the attribute of application program.
By arranging the contrast level of number of thresholds, the brightness classification of the icon of application program is not shown, it is simple to user is according to use habit classification searching application program, it can also be ensured that the concordance of icon display brightness.
The gray value of the background area of the described icon of described calculating, arranges the including of brightness of described icon: calculate the gray value of described icon background area according to described gray value and described contrast level;When described gray value is higher than threshold grayscale, reduce the brightness of described icon according to described contrast level;When described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level.Threshold grayscale is set, according to gray value and the contrast of threshold grayscale of icon background area, and according to the brightness of contrast level adjustment icon, user can be allowed preferably to identify conventional application icon.
When being embodied as, the background area of described icon is: using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.Below in conjunction with Fig. 3 to determining that the scheme specifying region around icon is described in detail.As a example by icon 6 in Fig. 3, by the inner boundary 301 of icon 6 respectively along upper and lower, left and right four direction outward expansion one apart from formed external boundary 302, described inner boundary 301 and described external boundary 302 hatched example areas 303 enclosed is as the background area of icon 6.Described distance can determine according to specific needs, such as, can be the center difference to the length of side half of half and the icon 6 of the spacing at the center of icon 7 of icon 6;It can also be the center difference to the length of side of spacing and the icon 6 at the center of icon 8 of icon 6.
When determining the background area of described icon, if described background area is beyond desktop scope, then reduce this background area to this background area and the overlapping region of desktop.
The operating system of mobile terminal (such as mobile phone) can store the data base of desktop, the display position of the icon of each application program can be obtained by the data base of the standby desktop of the interface polls of call operation system.The data base of standby desktop also can record the quantity of desktop application icon, and the size of icon.After obtaining arbitrary application program image target positions and dimensions by the interface of operating system, use prior art can be easy to the screen coordinate specifying region calculating around the described icon that preceding embodiment determines.
The concrete grammar of the gray value of the background area of the described icon of described calculating is as follows: in embodiments of the invention, and the background of icon refers to desktop wallpaper, and the background area of icon refers to the corresponding region on wallpaper.The data base of standby desktop can record the information of desktop wallpaper.Calculate described icon background area gray value, first calculate the average of the color value of the wallpaper of described icon background area, obtain the color value of 16 systems of a similar #FF080808;Then, the gray value of this color value is calculated for colored wallpaper.If the color of certain point is RGB (R, G, B) originally, formula R × 0.3+G × 0.59+B × 0.11 of floating-point arithmetic can be used to calculate the gray value of certain point on wallpaper.
The concrete grammar of gray value of the wallpaper calculating background area can use prior art to fall into a trap the method for gray value of nomogram sheet, and this is not limited by the present invention, also repeats no more in embodiments of the invention.The gray value of the background area of calculated described icon is the numerical value between 0~255, then, calculated gray value and threshold grayscale are compared, when described gray value is higher than threshold grayscale, reduces the brightness of described icon according to described contrast level;When described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level.
When being embodied as, when described gray value is less than threshold grayscale, determine that the background area of described icon is dark color;When described gray value is more than threshold grayscale, determine that the background area of described icon is light color.Described threshold grayscale is arranged according to actual needs, and usually 180.When the background area of described icon is dark, determining and contrast level ladder brightness value one to one, each ladder brightness value is all higher than threshold luminance, and the brightness value arranging described icon is the ladder brightness value corresponding with the contrast level of this icon.When the background area of described icon is light color, determining and contrast level ladder brightness value one to one, each ladder brightness value is respectively less than threshold luminance, and the brightness value arranging described icon is the ladder brightness value corresponding with the contrast level of this icon.Difference between each ladder brightness value is more than ladder threshold value.With human eye, described ladder threshold value can feel that notable difference is as the criterion, such as, could be arranged to 20.Wherein, described threshold luminance determines according to practical situation, and this is not limited by the present invention.
In another kind of detailed description of the invention, preset a brightness value, when the background area of described icon is dark, reads current icon brightness value, and increase the brightness value of the corresponding multiple of contrast level;When the background area of described icon is light color, reads current icon brightness value, and reduce the brightness value of the corresponding multiple of contrast level.Wherein, described brightness value determines according to practical situation, and this is not limited by the present invention.By the interface drawing desktop icons of call operation system, it is intended that the luminance parameter of icon, drawing mark of laying equal stress on, thus it is possible to vary the display brightness of described icon.
In the still another embodiment of the present invention, it is also possible to cover a view that can change printing opacity degree, the bitmap that this view mates with icon size for display on each icon.When the background area of described icon is dark, determine and contrast level ladder brightness value one to one, each ladder brightness value is all higher than threshold luminance, and the brightness value arranging the bitmap on described bitmap is the ladder brightness value corresponding with the contrast level of this icon.When the background area of described icon is light color, icon dark color is just easily discernible.Now, determining and contrast level ladder brightness value one to one, each ladder brightness value is respectively less than threshold luminance, and the brightness value arranging the bitmap on described icon is the ladder brightness value corresponding with the contrast level of this icon.By changing the translucent bitmap light transmittance on icon, thus it is possible to vary the display brightness of described icon, allow user be easier to from the contrast of background and quickly find conventional application program.
The color of the above-mentioned background area according to described icon word, the color arranging described icon word is consistent with aforesaid content, and here is omitted.
The operating system of mobile terminal (such as mobile phone) can store the data base of desktop, display position and the length of icon word of the icon word of each application program can be obtained by the data base of the standby desktop of the interface polls of call operation system.When being embodied as, obtained the position of the icon word of arbitrary application program by the interface of operating system, then determine the background area of icon word according to the length of icon word.
Prior art nomogram of falling into a trap can be used as the average gray value of the background area of the method calculation icon word of average gray value, and the application does not repeats them here.Owing to the background area of icon word is generally in the background area of above-mentioned icon, the gray value of background area of icon therefore can also be used as the average gray value of the background area of icon word.The method of the average gray value of the background area of calculation icon word is not limited and floating-point arithmetic by the application.May determine that the shade of the background area of icon word according to average gray value, when being embodied as, multiple grey level threshold can be set, represent different colour darkness, pre-build different grey level threshold and the corresponding relation of icon text color.Such as, pre-setting 1 grey level threshold 180, when described average gray value is less than grey level threshold, determine that the background area of described icon word is dark color, the color of corresponding icon word can be yellow;When described average gray value is more than grey level threshold, determining that the background area of described icon word is light color, the color of corresponding icon word can be purple.Mate with grey level threshold with the average gray value of calculated background area, determine the icon text color that the grey level threshold that the match is successful is corresponding.Then, it is intended that the color parameter of icon word, thus it is possible to vary the color of described icon word.
The color of the above-mentioned background area according to described icon word, arranges the color of described icon word, comprises determining that the color value of the background area of icon word;According to default color value and the corresponding relation of icon text color, determine the color of icon word;The color of described icon word is set.
Determining that the concrete grammar of the background area of icon word sees the description of preceding embodiment, here is omitted.Be may determine that the average RGB component of each pixel in background area of icon word by image-recognizing method of the prior art, further determine that the color value of background area.Corresponding relation according to the background color pre-build and icon text color determines the color of chart word.Such as: the corresponding relation of background color and icon text color can be: background color is purple, and corresponding icon text color is yellow;Background color is black, and corresponding icon text color is white.Then, the interface drawing desktop icons of call operation system, it is intended that the color parameter of icon word, drawing mark of laying equal stress on, thus it is possible to vary the color of described icon word.
In embodiments of the invention, first, the gray value in the background area of the icon calculating described application program, described background is wallpaper.And using the background area gray value of the icon of described application program as reference, according to the contrast level of this icon, the brightness of icon is set accordingly.When the gray value of the background area of the icon of described application program is higher than threshold grayscale, determines that the background area of the icon of described application program is light color, then, reduce the brightness of described icon according to described contrast level.Described contrast level is the highest, and the luminance-reduction of described icon is the most.When the gray value in the background area of the icon of described application program is less than threshold grayscale, determines that the background area of the icon of described application program is dark color, then, increase the brightness of described icon according to described contrast level.Described contrast level is the highest, and the brightness increase of described icon is the most.Icon after resetting brightness forms sharp contrast with the background of this icon, plays the effect highlighted.
In another preferred embodiment of the present invention, as shown in Figure 4, gray value in the background area of the described icon of described calculating, the brightness of described icon is set according to described gray value and described contrast level, and, the color of the background area according to described icon word, after the step of the color arranging described icon word, also includes:
Step 180, detection updates the trigger event of the brightness of icon.
When described trigger event being detected, jump to step 120, other steps after repeated execution of steps 120.Repeat the step of the use frequency calculating application program, update and use frequency;The contrast level using its icon of frequency configuration according to application program;Calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
The present invention in the specific implementation, can arrange the trigger event of the brightness of multiple renewal icon, such as: user performs predetermined touch control gesture, user resets wallpaper, the time arrive the update cycle after automatically update etc. in one or more.
In one specific embodiment of the present invention, detect user's preset touch control gesture on the touchscreen, when described touch control gesture being detected, determine the trigger event having the brightness updating icon.Described default touch control gesture can be not have the position etc. of icon on double finger slip, long-time touch desktop the most to the right.
In another specific embodiment of the present invention, detection user changes the operation of wallpaper in real time, when user changes wallpaper, determines the trigger event having the brightness updating icon.
In another specific embodiment of the present invention, the update cycle of one icon brightness is set, updates icon brightness to last or first enter into desktop and rise, starting timing, when the update cycle of the full icon brightness of timing, determine the trigger event having the brightness updating icon.
When being embodied as, three of the above trigger event can be detected successively, it is also possible to according to setting, only detect one or both trigger events therein.
When after the trigger event brightness updating icon being detected, reset application program image target brightness.Repeat the step of the use frequency calculating application program, update and use frequency;Contrast level according to the icon of application program described in the use frequency configuration of application program;Calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
After trigger event being detected, all of icon is recalculated respectively to use frequency and contrast level, and update icon brightness and the color of icon word of all application programs.Because the gray value of the background area of each icon is different, so when arranging brightness and during the color of icon word, being respectively provided with for each icon.
Update the trigger event of brightness of icon by detection can upgrade in time icon brightness, and the brightness updating icon can be triggered according to the active of user, further improve Consumer's Experience.
Correspondingly, the embodiment of the invention also discloses a kind of mobile terminal that icon brightness is set based on user's service condition, as it is shown in figure 5, include:
Contrast arranges unit 530, for the contrast level using its icon of frequency configuration according to application program;
Brightness and color arrange unit 540, for calculating the gray value of described icon background area, according to described gray value and the described brightness arranging described icon than degree rank that contrast is arranged the icon that unit 530 is arranged, and, the color of the background area according to described icon word, arranges the color of described icon word.
The present invention is by gathering user's access times to application program, and calculate user's use frequency to each application program within a period of time, the contrast level of the icon according to application program described in described use frequency configuration, then, calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, the color of the background area according to described icon word, the color of described icon word is set, icon for the commonly used application program of user, by strengthening this icon and the contrast of surrounding brightness, highlight this icon, it is easy to user in the various application of a multitude of names, is quickly found out conventional application program, the service efficiency of raising equipment, further improve Consumer's Experience.
In another specific embodiment of the present invention, as shown in Figure 6, described mobile terminal also includes: application program uses frequency computing unit 520, for the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtain the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
In another preferred embodiment of the present invention, as shown in Figure 7, described mobile terminal also includes: update detector unit 550, for detecting the trigger event of the brightness updating icon, when described trigger event being detected, call successively described application program use frequency computing unit 520, contrast arranges unit 530 and brightness and color arranges unit 540 and updates icon brightness and the color of icon word.
In one embodiment of the invention, described renewal detector unit 550 farther includes: at least one in detection sub-unit 5502 or timing detection sub-unit 5503 changed by gestures detection subelement 5501, wallpaper.Wherein, gestures detection subelement 5501, for detecting user's preset touch control gesture on the touchscreen;Detection sub-unit 5502 changed by wallpaper, changes the operation of wallpaper for detecting user;Regularly detection sub-unit 5503, for detecting the update cycle that the time reaches default.
When after the trigger event brightness updating icon being detected, reset application program image target brightness and icon text color.The use frequency of double counting application program, updates and uses frequency;Contrast level according to the icon of application program described in the use frequency configuration of application program;Calculate the gray value of described icon background area, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set, and refreshes display.
Update the trigger event of brightness of icon by detection can upgrade in time icon brightness, and the brightness updating icon can be triggered according to the active of user, further improve Consumer's Experience.
In previously described embodiments of the present invention, the background area of described icon is: using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.
Described contrast arranges unit 530 and is further used for: according to the use frequency order from high to low of application program, all application programs are divided into number of thresholds contrast level, and the icon of application program is arranged the contrast level being directly proportional to the use frequency of described application program.By arranging the contrast level of number of thresholds, the brightness classification of the icon of application program is not shown, it is simple to user is according to use habit classification searching application program, it can also be ensured that the concordance of icon display brightness.
As shown in Figure 6, described brightness and color arrange unit 530 and farther include: gray value computation subunit 5401, for calculating the gray value of the background area of described icon;Brightness arranges subelement 5402, for when described gray value is higher than threshold grayscale, reducing the brightness of described icon according to described contrast level;Or when described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level;Color arranges subelement 5403, for the color of the background area according to described icon word, arranges the color of described icon word.
In embodiments of the invention, first, calculating the gray value of the background area of the icon of described application program, wherein, background is wallpaper.And using the gray value of the background area of the icon of described application program as reference, according to the contrast level of this icon, the brightness of icon is set accordingly.When the gray value of the background area of the icon of described application program is higher than threshold grayscale, determines that the background area of the icon of described application program is light color, then, reduce the brightness of described icon according to described contrast level.Described contrast level is the highest, and the luminance-reduction of described icon is the most.When the gray value of the background area of the icon of described application program is less than threshold grayscale, determines that the background area of the icon of described application program is dark color, then, increase the brightness of described icon according to described contrast level.Described contrast level is the highest, and the brightness increase of described icon is the most.Icon after resetting brightness forms sharp contrast with the background of this icon, plays the effect highlighted.
When being embodied as, described application program uses frequency computing unit to be further used for: described N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;
Each threshold value sampling period includes many sub-threshold value sampling periods, wherein,
Within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;
Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
Weight is calculated, it is possible to analyze the service condition of user more accurately, thus the brightness of application program is set more accurately, improve Consumer's Experience by most recently used data are arranged higher frequency.
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 800 shown in Fig. 8 includes: at least one processor 801, memorizer 802, at least one network interface 804 and other user interfaces 803.Each assembly in mobile terminal 800 is coupled by bus system 805.It is understood that bus system 805 is for realizing the connection communication between these assemblies.Bus system 805, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But for the sake of understanding explanation, in fig. 8 various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate, touch screen or Trackpad etc..The present embodiment is used for updating the preset touch control gesture of icon brightness by touch screen detection user.
The memorizer 802 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or flash memory.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as External Cache.nullBy exemplary but be not restricted explanation,The RAM of many forms can use,Such as static RAM (StaticRAM,SRAM)、Dynamic random access memory (DynamicRAM,DRAM)、Synchronous Dynamic Random Access Memory (SynchronousDRAM,SDRAM)、Double data speed synchronous dynamic RAM (DoubleDataRateSDRAM,DDRSDRAM)、Enhancement mode Synchronous Dynamic Random Access Memory (EnhancedSDRAM,ESDRAM)、Synchronized links dynamic random access memory (SynchlinkDRAM,And direct rambus random access memory (DirectRambusRAM SLDRAM),DRRAM).The memorizer 802 of system and method described herein is intended to include but not limited to these and the memorizer of other applicable type any.
In some embodiments, memorizer 802 stores following element, executable module or data structure, or their subset, or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for realizing various basic business and processing hardware based task.Application program 8022, comprises various application program, and such as media player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.The program realizing embodiment of the present invention method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of memorizer 802 storage, concrete, can be program or the instruction of storage in application program 8022.Detect user by touch screen in user interface 803 and use the operation of application program, and detect user and update the preset touch control gesture of icon brightness and change the operation of wallpaper.Processor 801 is for the contrast level using its icon of frequency configuration according to application program;Calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
The method part that the invention described above embodiment discloses can apply in processor 801, or is realized by processor 801.Processor 801 is probably a kind of IC chip, has the disposal ability of signal.During realizing, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor 801 or software form.Above-mentioned processor 801 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. that general processor can be microprocessor or this processor can also be any routine.Hardware decoding processor can be embodied directly in conjunction with the step of the method disclosed in the embodiment of the present invention to have performed, or combine execution by the hardware in decoding processor and software module and complete.Software module may be located at random access memory, flash memory, read only memory, in the storage medium that this area such as programmable read only memory or electrically erasable programmable memorizer, depositor is ripe.This storage medium is positioned at memorizer 802, and processor 801 reads the access times to application program of the user in memorizer 802, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can realize by hardware, software, firmware, middleware, microcode or a combination thereof.nullHardware is realized,Processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits,ASIC)、Digital signal processor (DigitalSignalProcessing,DSP)、Digital signal processing appts (DSPDevice,DSPD)、Programmable logic device (ProgrammableLogicDevice,PLD)、Field programmable gate array (Field-ProgrammableGateArray,FPGA)、General processor、Controller、Microcontroller、Microprocessor、In other electronic unit performing herein described function or a combination thereof.
Software is realized, the techniques described herein can be realized by the module (such as process, function etc.) performing function described herein.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or realize outside processor.
Alternatively, before the step according to the contrast level using its icon of frequency configuration of application program, processor 801 also user calculates the use frequency of application program.Processor 801 is weighted average computation to the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward, it is thus achieved that the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
Alternatively, gray value in the background area calculating described icon, according to described gray value and described contrast level arrange described icon brightness and, the color of the background area according to described icon word, after arranging the color of described icon word, processor 801 is additionally operable to the trigger event that detection updates the brightness of icon;When described trigger event being detected, repeat the use frequency calculating application program, update and use frequency;The contrast level using its icon of frequency configuration according to application program;Calculate the gray value of the background area of described icon, and the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
Processor 801 detects user's preset touch control gesture on the touchscreen by user interface 803, or detection user changes the operation of wallpaper, or the detection time reaches at least one trigger event in default update cycle.When any of which trigger event occurs, update and use frequency.
Wherein, the background area of described icon includes: using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.
Alternatively, processor 801 is additionally operable to use frequency order from high to low that all application programs are divided into number of thresholds contrast level according to application program, and the icon of application program is arranged the contrast level being directly proportional to the use frequency of described application program.
Alternatively, processor 801 is additionally operable to calculate the gray value of the background area of described icon;And when described gray value is higher than threshold grayscale, reduce the brightness of described icon according to described contrast level;When described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level.
Optionally, described N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, described processor 801 is according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;Each threshold value sampling period includes many sub-threshold value sampling periods, wherein, within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
Mobile terminal 800 is capable of each process that in previous embodiment, mobile terminal realizes, and for avoiding repeating, repeats no more here.Pass through the present embodiment, icon for the commonly used application program of user, by strengthening this icon and the contrast of surrounding brightness, highlight this icon, it is easy to user in the various application of a multitude of names, is quickly found out conventional application program, the service efficiency of raising equipment, meanwhile, improves Consumer's Experience.
Fig. 9 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 9 can be mobile phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 9 includes radio frequency (RadioFrequency, RF) circuit 910, memorizer 920, input block 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980 and power supply 990.
Wherein, input block 930 can be used for receiving numeral or the character information of user's input, and produces the signal input relevant with the user setup of mobile terminal and function control.Specifically, in the embodiment of the present invention, this input block 930 can include contact panel 931.Contact panel 931, also referred to as touch screen, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 931), and drive corresponding attachment means according to formula set in advance.Optionally, contact panel 931 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives this processor 960, and can receive order that processor 960 sends and be performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 931.Except contact panel 931, input block 930 can also include other input equipments 932, and other input equipments 932 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 940 can be used for showing the information inputted by user or the information being supplied to user and the various menu interfaces of mobile terminal 900.Display unit 940 can include display floater 941, optionally, the form such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be used to configure display floater 941.
It should be noted that, contact panel 931 can cover display floater 941, formed and touch display screen, when this touch display screen detects thereon or after neighbouring touch operation, send processor 960 to determine the type of touch event, display screen on provide corresponding visual output according to the type of touch event touching with preprocessor 960.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.The arrangement mode of this Application Program Interface viewing area and this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish the arrangement mode of two viewing areas.This Application Program Interface viewing area is displayed for the interface of application program.Each interface can comprise the interface elements such as icon and/or the widget desktop control of at least one application program.This Application Program Interface viewing area can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, and the application icon etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 960 is the control centre of mobile terminal 900, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in first memory 921 and/or module by running or performing, and call the data being stored in second memory 922, perform the various functions of mobile terminal 900 and process data, thus mobile terminal 900 is carried out integral monitoring.Optionally, processor 960 can include one or more processing unit.
In embodiments of the present invention, by calling the data in the software program and/or module and/or this second memory 922 stored in this first memory 921, processor 960 is for the contrast level using its icon of frequency configuration according to application program;Calculate the gray value of described icon background area, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
Alternatively, before according to the contrast level using its icon of frequency configuration of application program,, processor 960 access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtain the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
Alternatively, the brightness of described icon is being set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, after arranging the color of described icon word, processor 960 detection updates the trigger event of the brightness of icon;When detection user is to preset touch control gesture on the touchscreen, or detect that user changes the operation of wallpaper, or the time that detects reach in default update cycle at least one trigger event time, repeat the step of the uses frequency calculating application program, update use frequency;The contrast level using its icon of frequency configuration according to application program;Calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
Wherein, the region, background area of described icon is: using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.
Alternatively, processor 960 is additionally operable to the order from high to low of the use frequency according to application program and all application programs is divided into number of thresholds contrast level, and the icon of application program is arranged the contrast level being directly proportional to the use frequency of described application program.
Alternatively, processor 960 calculates the gray value of background area of described icon;And when described gray value is higher than threshold grayscale, reduce the brightness of described icon according to described contrast level;When described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level.
Optionally, described N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, processor 970 is according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;Each threshold value sampling period includes many sub-threshold value sampling periods, wherein, within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
Visible, pass through the present embodiment, icon for the commonly used application program of user, by strengthening this icon and the contrast of background area brightness, highlight this icon, it is simple to user is quickly found out conventional application program in the various application of a multitude of names, improve the service efficiency of equipment, meanwhile, Consumer's Experience is improved again.
Those of ordinary skill in the art are it is to be appreciated that combine the unit of each example and the algorithm steps that the embodiments described herein describes, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use different methods to realize described function to each specifically should being used for, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the specific works process of the mobile terminal of foregoing description, it is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematically, such as, the division of described unit, be only a kind of logic function to divide, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, part or the part of this technical scheme that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes: the various media that can store program code such as USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CDs.
The above; being only the detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, and between each embodiment, identical similar part sees mutually.For mobile terminal embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees the part of embodiment of the method and illustrates.

Claims (16)

1. the method that icon brightness is set based on user's service condition, it is characterised in that including:
The contrast level using its icon of frequency configuration according to application program;
Calculate the gray value of the background area of described icon, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
2. the method for claim 1, it is characterised in that before the step according to the contrast level using its icon of frequency configuration of application program, described method also includes the step calculating the use frequency of application program,
The step of the use frequency of described calculating application program includes: the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtain the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
3. method as claimed in claim 2, it is characterized in that, the gray value of the background area of the described icon of described calculating, the brightness of described icon is set according to described gray value and described contrast level, and, the color of the background area according to described icon word, after the step of the color arranging described icon word, also includes:
Detection updates the trigger event of the brightness of icon;
When described trigger event being detected, repeat the step of the use frequency calculating application program, update and use frequency;
The contrast level using its icon of frequency configuration according to application program;
Calculate the gray value of described icon background area, the brightness of described icon is set according to described gray value and described contrast level, and, according to the color of the background area of described icon word, the color of described icon word is set.
4. method as claimed in claim 3, it is characterised in that the step of the trigger event that described detection updates the brightness of icon includes:
Detection user's preset touch control gesture on the touchscreen, or detection user changes the operation of wallpaper, or the detection time reach at least one trigger event in default update cycle.
5. the method as described in Claims 1-4 any one claim, it is characterised in that the background area of described icon is:
Using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.
6. method as claimed in claim 5, it is characterised in that described include according to the step of the contrast level using its icon of frequency configuration of application program:
According to the use frequency order from high to low of application program, all application programs are divided into number of thresholds contrast level, the icon of application program is arranged the contrast level being directly proportional to the use frequency of described application program.
7. method as claimed in claim 6, it is characterised in that the gray value of the background area of the described icon of described calculating, the brightness arranging described icon according to described gray value and described contrast level includes:
Calculate the gray value of the background area of described icon;
When described gray value is higher than threshold grayscale, reduce the brightness of described icon according to described contrast level;
When described reference gray level value is less than threshold grayscale, increase the brightness of described icon according to described contrast level.
8. method as claimed in claim 2, it is characterised in that farther including of the step of the use frequency of described calculating application program:
Described N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;
Each threshold value sampling period includes many sub-threshold value sampling periods, wherein,
Within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;
Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
9. the mobile terminal that icon brightness is set based on user's service condition, it is characterised in that including:
Contrast arranges unit, for the contrast level using its icon of frequency configuration according to application program;
Brightness and color arrange unit, for calculating the gray value of described icon background area, the contrast level of icon that unit arranges is set according to described gray value and described contrast the brightness of described icon is set, and, the color of the background area according to described icon word, arranges the color of described icon word.
10. mobile terminal as claimed in claim 9, it is characterized in that, also include: application program uses frequency computing unit, for the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtain the use frequency in the described application program average threshold value sampling period, wherein, N is the positive integer more than 1.
11. mobile terminals as claimed in claim 10, it is characterized in that, also include: update detector unit, for detecting the trigger event of the brightness updating icon, when described trigger event being detected, call described application program successively and use frequency computing unit, contrast that unit and brightness are set and color arranges unit and updates icon brightness and the color of icon word.
12. mobile terminals as claimed in claim 11, it is characterised in that described renewal detector unit farther includes: at least one in gestures detection subelement or wallpaper replacing detection sub-unit or regularly detection sub-unit, wherein,
Gestures detection subelement, for detecting user's preset touch control gesture on the touchscreen;
Detection sub-unit changed by wallpaper, changes the operation of wallpaper for detecting user;
Regularly detection sub-unit, for detecting the update cycle that the time reaches default.
13. mobile terminals as described in claim 9 to 12 any one claim, it is characterised in that the background area of described icon is:
Using the frame of described icon as inner boundary, by described inner boundary outward expansion one respectively apart from forming external boundary, described inner boundary and described the external boundary background area enclosed.
14. mobile terminals as claimed in claim 13, it is characterized in that, described contrast arranges unit and is further used for: according to the use frequency order from high to low of application program, all application programs are divided into number of thresholds contrast level, and the icon of application program is arranged the contrast level being directly proportional to the use frequency of described application program.
15. mobile terminals as claimed in claim 14, it is characterised in that described brightness and color arrange unit and include:
Gray value computation subunit, for calculating the gray value of the background area of described icon;
Brightness arranges subelement, for when described gray value is higher than threshold grayscale, reducing the brightness of described icon according to described contrast level;Or when described gray value is less than threshold grayscale, increase the brightness of described icon according to described contrast level;
Color arranges subelement, for the color of the background area according to described icon word, arranges the color of described icon word.
16. mobile terminals as claimed in claim 10, it is characterised in that described application program uses frequency computing unit to be further used for:
Described N continuous the threshold value sampling period is sequentially set with cycle weight from low to high according to time order and function, according to the cycle weight arranged, the access times of the application program within N continuous the threshold value sampling period that current time is lighted forward are weighted average computation, obtaining the use frequency in the described application program average threshold value sampling period, N is the positive integer more than 1;
Each threshold value sampling period includes many sub-threshold value sampling periods, wherein,
Within first threshold value sampling period that current time is lighted forward, the access times of application program are sued for peace after the access times weighted average of application program in all sub-threshold value sampling periods in being this threshold value sampling period, and many sub-threshold value sampling periods within first threshold value sampling period that current time is lighted forward are according to the sub sampling cycle weight being sequentially set with from low to high of time order and function;
Current time lights the access times summation of application program in all sub-threshold value sampling periods in the access times of application program are this threshold value sampling period in the m-th threshold value sampling period forward, and M is the positive integer more than 1 and less than or equal to N.
CN201610045041.1A 2016-01-22 2016-01-22 Method for setting icon brightness based on use of users and mobile terminal Pending CN105824496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610045041.1A CN105824496A (en) 2016-01-22 2016-01-22 Method for setting icon brightness based on use of users and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610045041.1A CN105824496A (en) 2016-01-22 2016-01-22 Method for setting icon brightness based on use of users and mobile terminal

Publications (1)

Publication Number Publication Date
CN105824496A true CN105824496A (en) 2016-08-03

Family

ID=56987238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610045041.1A Pending CN105824496A (en) 2016-01-22 2016-01-22 Method for setting icon brightness based on use of users and mobile terminal

Country Status (1)

Country Link
CN (1) CN105824496A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN107527374A (en) * 2017-08-18 2017-12-29 珠海市君天电子科技有限公司 A kind of method and apparatus of text importing
CN108073433A (en) * 2016-11-10 2018-05-25 中国移动通信有限公司研究院 The application icon management method and device of a kind of terminal
CN109272681A (en) * 2018-07-12 2019-01-25 山东亚华电子股份有限公司 A kind of methods of exhibiting and medical care host of bed call state
CN109558104A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 Manipulate display methods, device, storage medium and the electronic equipment of object
CN110113485A (en) * 2019-04-26 2019-08-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of information
CN110286985A (en) * 2019-06-27 2019-09-27 深圳市元征科技股份有限公司 A kind of method for displaying user interface, system and associated component
CN110827785A (en) * 2019-11-27 2020-02-21 Oppo广东移动通信有限公司 Brightness adjusting method and related product
WO2020259517A1 (en) * 2019-06-27 2020-12-30 华为技术有限公司 Display attribute adjusting method and related device
CN112379810A (en) * 2020-12-08 2021-02-19 四川酷赛科技有限公司 Method for dynamically adjusting size of desktop icon and mobile terminal
CN114201085A (en) * 2021-11-30 2022-03-18 北京城市网邻信息技术有限公司 Information display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090058821A1 (en) * 2007-09-04 2009-03-05 Apple Inc. Editing interface
CN102662590A (en) * 2012-04-12 2012-09-12 中兴通讯股份有限公司南京分公司 Icon processing method and icon processing device
CN105094525A (en) * 2015-06-25 2015-11-25 小米科技有限责任公司 Method and device for adjusting icons of application programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090058821A1 (en) * 2007-09-04 2009-03-05 Apple Inc. Editing interface
CN102662590A (en) * 2012-04-12 2012-09-12 中兴通讯股份有限公司南京分公司 Icon processing method and icon processing device
CN105094525A (en) * 2015-06-25 2015-11-25 小米科技有限责任公司 Method and device for adjusting icons of application programs

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073433A (en) * 2016-11-10 2018-05-25 中国移动通信有限公司研究院 The application icon management method and device of a kind of terminal
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN107527374A (en) * 2017-08-18 2017-12-29 珠海市君天电子科技有限公司 A kind of method and apparatus of text importing
CN109272681A (en) * 2018-07-12 2019-01-25 山东亚华电子股份有限公司 A kind of methods of exhibiting and medical care host of bed call state
CN109558104A (en) * 2018-12-10 2019-04-02 网易(杭州)网络有限公司 Manipulate display methods, device, storage medium and the electronic equipment of object
CN109558104B (en) * 2018-12-10 2022-02-18 网易(杭州)网络有限公司 Display method and device of control object, storage medium and electronic equipment
CN110113485B (en) * 2019-04-26 2020-09-11 维沃移动通信有限公司 Information processing method and mobile terminal
CN110113485A (en) * 2019-04-26 2019-08-09 维沃移动通信有限公司 A kind of processing method and mobile terminal of information
CN110286985A (en) * 2019-06-27 2019-09-27 深圳市元征科技股份有限公司 A kind of method for displaying user interface, system and associated component
WO2020259517A1 (en) * 2019-06-27 2020-12-30 华为技术有限公司 Display attribute adjusting method and related device
CN110827785B (en) * 2019-11-27 2021-04-02 Oppo广东移动通信有限公司 Brightness adjusting method and related product
CN110827785A (en) * 2019-11-27 2020-02-21 Oppo广东移动通信有限公司 Brightness adjusting method and related product
CN112379810A (en) * 2020-12-08 2021-02-19 四川酷赛科技有限公司 Method for dynamically adjusting size of desktop icon and mobile terminal
CN114201085A (en) * 2021-11-30 2022-03-18 北京城市网邻信息技术有限公司 Information display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105824496A (en) Method for setting icon brightness based on use of users and mobile terminal
CN106909289B (en) A kind of operating method and mobile terminal of application controls
CN106502605A (en) A kind of brightness of mobile terminal and color temperature adjusting method and device
CN106126013A (en) A kind of application management method and mobile terminal
CN105320417B (en) Page switching method and client
CN106572349A (en) Camera cleanliness detection method and mobile terminal
CN106101569A (en) A kind of method of light filling of taking pictures and mobile terminal
CN105976760A (en) Brightness adjusting method for terminal screen and mobile terminal
CN104238897A (en) Menu item displaying method and device
CN107562473B (en) Application program display method and mobile terminal
CN106506401A (en) A kind of flow managing method and mobile terminal
JP2015521775A (en) Intelligent terminal text input display method and apparatus
CN108064369A (en) The exchange method and device of flexible display screen
CN107678667B (en) virtual keyboard display method and mobile terminal
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN105955646A (en) Content processing method and intelligent terminal
CN105955600B (en) A kind of method and mobile terminal adjusting mobile terminal display interface
CN106325753A (en) Payment interface display method and mobile terminal
CN106354373A (en) Icon moving method and mobile terminal
CN103365541A (en) Window display method and terminal
CN106354411A (en) Interface startup method and mobile terminal
CN106599246B (en) Display content interception method, mobile terminal and control server
CN105824390A (en) Terminal electricity-saving display method and mobile terminal
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
CN106503501A (en) A kind of startup method of user model and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160803

RJ01 Rejection of invention patent application after publication