CN103164519A - Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar - Google Patents

Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar Download PDF

Info

Publication number
CN103164519A
CN103164519A CN2013100749345A CN201310074934A CN103164519A CN 103164519 A CN103164519 A CN 103164519A CN 2013100749345 A CN2013100749345 A CN 2013100749345A CN 201310074934 A CN201310074934 A CN 201310074934A CN 103164519 A CN103164519 A CN 103164519A
Authority
CN
China
Prior art keywords
toolbar
picture
tone
hue
adjustment value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100749345A
Other languages
Chinese (zh)
Other versions
CN103164519B (en
Inventor
梁捷
俞永福
何小鹏
朱顺炎
陆文元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN201310074934.5A priority Critical patent/CN103164519B/en
Publication of CN103164519A publication Critical patent/CN103164519A/en
Application granted granted Critical
Publication of CN103164519B publication Critical patent/CN103164519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method capable of adjusting the tone of a tool bar and a device capable of adjusting the tone of the tool bar. The method capable of adjusting the tone of the tool bar includes the following steps. After a website of a browser opened on a display is loaded, a first tone adjusting value of a tool bar of the browser is obtained. The tone of the tool bar is adjusted according to the first tone adjusting value. When the contrast of the tone of the website and the tone of the tool bar is large, the tone of the tool bar can be adjusted so that the tone of the tool bar is in line with the tone of the website. Thus, experience of viewing a website of a user can be improved.

Description

Adjust method and the device of toolbar tone
Technical field
The present invention relates to the mobile communication technology field, particularly relate to method and the device of adjusting the toolbar tone.
Background technology
In prior art, when the browser access different web sites that the user installs on by terminal and webpage, be provided with toolbar bottom each browser, various function buttons are arranged on this toolbar, so that the user can realize various feature operations in the browsing page process, for example, return to the webpage of previous access, get back to main browser page, open a new window etc.
The inventor finds in the research process to prior art, and the toolbar of browser bottom is set to constant hue usually, and is for example light blue, light grey etc.But when passing through browser access different web sites or webpage due to the user, webpage is along with the difference of its displaying contents, can present different patterns and tone, when the tone that presents when webpage and toolbar tone contrast were larger, easily the notice during the dispersion user browsing page, reduced the user and experience.
Summary of the invention
Method and the device of adjusting the toolbar tone are provided in the embodiment of the present invention, have fixed with toolbar tone in the solution prior art, caused the user to experience not high problem.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect provides a kind of method of adjusting the toolbar tone, and described method comprises:
After the browser Web page loading of opening on display screen is completed, obtain the first hue adjustment value of toolbar on described browser;
Adjust the tone of described toolbar according to described the first hue adjustment value.
In conjunction with first aspect, in the possible implementation of the first of first aspect, describedly obtain that on described browser, the first hue adjustment value of toolbar comprises:
Intercept the picture of shown webpage on described display screen;
Analyze the dominant hue of described picture, with the value of described dominant hue the first hue adjustment value as described toolbar;
Perhaps,
Receive the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, the dominant hue of the described picture of described analysis comprises:
With the picture of described image cache for default form;
The color that forms each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color;
The number that calculating belongs to the pixel of same color accounts for the ratio of the sum of all pixels of described picture;
The highest color of ratio that the number of pixel is accounted for the sum of all pixels of described picture is defined as the dominant hue of described picture.
In conjunction with the possible implementation of the first of first aspect, or the possible implementation of the second of first aspect, in the third possible implementation of first aspect, after adjusting the tone of described toolbar according to described the first hue adjustment value, also comprise:
When not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value;
Analyze the dominant hue of described bottom picture, with the value of the dominant hue of described bottom picture the second hue adjustment value as described toolbar;
During greater than default form and aspect threshold value, adjust the tone of described toolbar when the hue difference between described the second hue adjustment value and described the first hue adjustment value according to described the second hue adjustment value.
In conjunction with first aspect, or the possible implementation of the first of first aspect, or the possible implementation of the second of first aspect, or the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described method also comprises: after the tone of adjusting described toolbar, the tone transparency that described toolbar is set is default transparency threshold value.
Second aspect provides a kind of device of adjusting the toolbar tone, and described device comprises:
Acquiring unit is used for obtaining the first hue adjustment value of toolbar on described browser after the browser Web page loading of opening on display screen is completed;
Adjustment unit is for the tone of described the first described toolbar of hue adjustment value adjustment that obtains according to described acquiring unit.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described acquiring unit comprises:
Interception unit is for the picture that intercepts shown webpage on described display screen;
Analytic unit is used for analyzing the dominant hue of the picture that described interception unit intercepts, with the value of described dominant hue the first hue adjustment value as described toolbar; Perhaps,
Receiving element is used for receiving the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described analytic unit comprises:
The buffer memory subelement, the image cache that is used for described interception unit intercepting is the picture of default form;
The statistics subelement, for form the color of each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color;
Computation subunit, number that be used for to calculate the pixel that belongs to same color accounts for the ratio of the sum of all pixels of described picture;
Determine subelement, be used for the dominant hue that the highest color of ratio that number with pixel accounts for the sum of all pixels of described picture is defined as described picture.
In conjunction with the possible implementation of the first of second aspect, or the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described interception unit, also be used for when not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value;
Described analytic unit also is used for analyzing the dominant hue of the bottom picture of described interception unit intercepting, with the value of the dominant hue of described bottom picture the second hue adjustment value as described toolbar;
Described adjustment unit also is used for when the hue difference between described the second hue adjustment value and described the first hue adjustment value during greater than default form and aspect threshold value, according to the tone of described the second described toolbar of hue adjustment value adjustment.
In conjunction with second aspect, or the possible implementation of the first of second aspect, or the possible implementation of the second of second aspect, or the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Setting unit is used for after described adjustment unit is adjusted the tone of described toolbar, and the tone transparency that described toolbar is set is default transparency threshold value.
In the embodiment of the present invention, after the browser Web page loading of opening on display screen is completed, obtain the first hue adjustment value of toolbar on described browser, adjust the tone of described toolbar according to this first hue adjustment value.In the embodiment of the present invention, when the tone that presents when webpage and toolbar tone contrast are larger, owing to can the tone of toolbar being adjusted, make the tone of toolbar consistent with the tone that webpage presents, the experience in the time of therefore can improving user's browsing page.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is an embodiment process flow diagram of the present invention's method of adjusting the toolbar tone;
Fig. 2 is another embodiment process flow diagram of the present invention's method of adjusting the toolbar tone;
Fig. 3 is another embodiment process flow diagram of the present invention's method of adjusting the toolbar tone;
Fig. 4 is an embodiment block diagram of the present invention's device of adjusting the toolbar tone;
Fig. 5 is another embodiment block diagram of the present invention's device of adjusting the toolbar tone;
Fig. 6 is another embodiment block diagram of the present invention's device of adjusting the toolbar tone;
Fig. 7 is the embodiment block diagram of terminal of the present invention.
Embodiment
The following embodiment of the present invention provides the embodiment that adjusts method, device and the terminal of toolbar tone.
In order to make those skilled in the art person understand better technical scheme in the embodiment of the present invention, and the above-mentioned purpose of the embodiment of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Referring to Fig. 1, adjust an embodiment process flow diagram of the method for toolbar tone for the present invention:
Step 101: after the browser Web page loading of opening on display screen is completed, obtain the first hue adjustment value of toolbar on this browser.
This method embodiment can be applied on the terminal that browser is installed, usually after user's click browser, can access interested webpage on browser, in access process, can obtain according to the embodiment of the present invention hue adjustment value of toolbar on browser, so that the tone of toolbar is consistent with the tone that webpage presents, the experience when improving user's browsing page.
During the first hue adjustment value of toolbar, in a kind of optional implementation, can intercept the picture of shown webpage on display screen on obtaining this browser, analyze the dominant hue of this picture, with the value of this dominant hue the first hue adjustment value as toolbar; Perhaps, in the optional implementation of another kind, can receive the first hue adjustment value of toolbar on this browser that the server of this webpage affiliated web site issues.
Step 102: the tone of adjusting toolbar according to the first hue adjustment value.
As seen from the above-described embodiment, when the tone that presents when webpage and toolbar tone contrast are larger, owing to can the tone of toolbar being adjusted, make the tone of toolbar consistent with the tone that webpage presents, the experience in the time of therefore can improving user's browsing page.
Referring to Fig. 2, adjust another embodiment process flow diagram of the method for toolbar tone for the present invention:
Step 201: after the browser Web page loading of opening on display screen is completed, the picture of shown webpage on the intercepting display screen.
This method embodiment can be applied on the terminal that browser is installed, usually after user's click browser, can access interested webpage on browser, in access process, can obtain according to the embodiment of the present invention hue adjustment value of toolbar on browser, so that the tone of toolbar is consistent with the tone that webpage presents, the experience when improving user's browsing page.
In the present embodiment, loaded the webpage of user's selection at browser after, can intercept the picture of shown webpage on display screen, the picture intercepting function that the intercepting picture can adopt existing browser to carry does not limit this embodiment of the present invention.
Step 202: analyze the dominant hue of picture, with the value of this dominant hue the first hue adjustment value as toolbar.
In the present embodiment, when analyzing the dominant hue of picture, can be first with the picture of image cache for default form, for example, this default form can be PNG form or extended formatting, such as being jpeg format etc.Optionally, in order to improve analysis efficiency, can further adjust the color figure place of buffer memory picture, for example, the color figure place of picture is reduced to 24, perhaps 16, the number of pixels that the lower expression of color figure place forms this picture is fewer, and corresponding, number of pixels is fewer, when the pixel of every kind of color of follow-up statistics accounted for the ratio of sum of all pixels of picture, Statistical Speed was faster.Secondly, can form by judgement the color of each pixel of this picture, statistics belongs to the number of the pixel of same color.When judging the color of each pixel that forms picture, can adopt from top to bottom picture, order from left to right scans each pixel successively, color to each pixel judges, and can a counter be set for every kind of color, be used for the number that statistics belongs to the pixel of same color.Again, can be according to aforementioned statistics, the number of calculating the pixel that belongs to same color accounts for the ratio of the sum of all pixels of picture.At last, can account for to the number of the pixel of the different colours that calculates the ratio of the sum of all pixels of picture, sort according to from high to low order, therefrom select the number of pixel to account for the highest color of the ratio of sum of all pixels of picture as the dominant hue of this picture.
Step 203: the tone of adjusting toolbar according to the first hue adjustment value.
Step 204: the tone transparency that toolbar is set is default transparency threshold value.
This step is optional step, after adjusting the tone of toolbar on browser by the first hue adjustment value, the tone transparency of toolbar can further be set, for example, the tone transparency that can reduce after adjustment is 85%, with this fusion of shown webpage tone on implementation tool hurdle tone and browser better, further improve the user and experience.It should be noted that, transparency also can adopt other ratio values.
As seen from the above-described embodiment, when the tone that presents when webpage and toolbar tone contrast are larger, can adjust the tone of toolbar in conjunction with the dominant hue of the webpage capture of analyzing, make the tone of toolbar consistent with the tone that webpage presents, the experience in the time of therefore can improving user's browsing page.
Referring to Fig. 3, adjust another embodiment process flow diagram of the method for toolbar tone for the present invention:
Step 301: the browser Web page loading of opening on display screen is completed.
This method embodiment can be applied on the terminal that browser is installed, usually after user's click browser, can access interested webpage on browser, in access process, can obtain according to the embodiment of the present invention hue adjustment value of toolbar on browser, so that the tone of toolbar is consistent with the tone that webpage presents, the experience when improving user's browsing page.
Step 302: the picture of shown webpage on the intercepting display screen.
In the present embodiment, loaded the webpage of user's selection at browser after, can intercept the picture of shown webpage on display screen, the picture intercepting function that the intercepting picture can adopt existing browser to carry does not limit this embodiment of the present invention.
Step 303: analyze the dominant hue of picture, with the value of this dominant hue the first hue adjustment value as toolbar.
In the present embodiment, when analyzing the dominant hue of picture, can be first with the picture of image cache for default form, for example, this default form can be the PNG form.Optionally, in order to improve analysis efficiency, can further adjust the color figure place of buffer memory picture, for example, the color figure place of picture is reduced to 24, perhaps 16, the number of pixels that the lower expression of color figure place forms this picture is fewer, and corresponding, number of pixels is fewer, when the pixel of every kind of color of follow-up statistics accounted for the ratio of sum of all pixels of picture, Statistical Speed was faster.Secondly, can form by judgement the color of each pixel of this picture, statistics belongs to the number of the pixel of same color.When judging the color of each pixel that forms picture, can adopt from top to bottom picture, order from left to right scans each pixel successively, color to each pixel judges, and can a counter be set for every kind of color, be used for the number that statistics belongs to the pixel of same color.Again, can be according to aforementioned statistics, the number of calculating the pixel that belongs to same color accounts for the ratio of the sum of all pixels of picture.At last, can account for to the number of the pixel of the different colours that calculates the ratio of the sum of all pixels of picture, sort according to from high to low order, therefrom select the number of pixel to account for the highest color of the ratio of sum of all pixels of picture as the dominant hue of this picture.
Step 304: the tone of adjusting toolbar according to the first hue adjustment value.
Optionally, after execution of step 304, the tone transparency that toolbar can further be set is default transparency threshold value.
Step 305: judge whether receive the user in Preset Time to the operational order of webpage, if, return to step 302, otherwise, execution in step 306.
The present embodiment is compared with the embodiment shown in Fig. 2, consider that the user still browses current web page after after a while, but webpage is not carried out rolling operation, this moment, the user may browse to the bottom of webpage, and the dominant hue of webpage bottom may have with the dominant hue of webpage integral body difference, therefore can further judge the dominant hue of webpage bottom sectional drawing, in order to determine whether to readjust the tone of toolbar according to judged result.
Wherein, Preset Time can arrange according to the universal experience that the user browses, and for example, can be set to 2 seconds.
Step 306: the bottom picture of shown webpage on the intercepting display screen, the ratio that the area of this bottom picture accounts for whole picture area is no more than the preset ratio threshold value.
Do not receive the user to the operational order of webpage in Preset Time, illustrate that the user may browse to the webpage bottom, intercept the bottom picture of the shown page on display screen this moment, the ratio that the area of this bottom picture accounts for whole picture area is no more than the preset ratio threshold value, for example, this preset ratio threshold value can be set to 50%.
Wherein, when the picture of the bottom of intercepting page, can intercept this bottom picture by the Web page picture of buffer memory from step 303, perhaps also can directly intercept the bottom picture of shown webpage on display screen, this embodiment of the present invention is not limited.
Step 307: analyze the dominant hue of bottom picture, with the value of this dominant hue the second hue adjustment value as toolbar.
In this step, the process of dominant hue of analyzing the bottom picture is consistent with description in step 302, does not repeat them here.
Step 308: judge that whether hue difference between the second hue adjustment value and the first hue adjustment value is greater than default form and aspect threshold value, if execution in step 309; Otherwise, finish current flow process.
Form and aspect refer to the looks of the matter that color presents, it is the sign that color is distinguished each other mutually, in the present embodiment, by judging that whether hue difference between the second hue adjustment value and the first hue adjustment value is greater than default form and aspect threshold value, thereby determine whether to need to adjust the tone of toolbar, for example, the form and aspect threshold value can be set is 10.
Step 309: adjust the tone of toolbar according to the second hue adjustment value, finish current flow process.
When the hue difference between the second hue adjustment value and the first hue adjustment value during greater than default form and aspect threshold value, it is larger that the bottom picture tone that webpage is described and whole picture tone are compared variation, therefore adjusts the tone of toolbar according to the second hue adjustment value.
Optionally, after execution of step 309, the tone transparency that toolbar can further be set is default transparency threshold value.
As seen from the above-described embodiment, when the tone that presents when webpage and toolbar tone contrast are larger, can adjust the tone of toolbar in conjunction with the dominant hue of the webpage capture of analyzing, make the tone of toolbar consistent with the tone that webpage presents; Especially, the present embodiment can also be browsed the progress of same webpage according to the user, adjust flexibly the tone of toolbar, the experience in the time of therefore can improving user's browsing page.
The embodiment of method that adjusts the toolbar tone with the present invention is corresponding, and the present invention also provides and adjusted the device of toolbar tone and the embodiment of terminal.
Referring to Fig. 4, adjust an embodiment block diagram of the device of toolbar tone for the present invention:
This device comprises: acquiring unit 410 and adjustment unit 420.
Wherein, acquiring unit 410 is used for obtaining the first hue adjustment value of toolbar on described browser after the browser Web page loading of opening on display screen is completed;
Adjustment unit 420 is for the tone of described the first described toolbar of hue adjustment value adjustment that obtains according to described acquiring unit 410.
Referring to Fig. 5, adjust another embodiment block diagram of the device of toolbar tone for the present invention:
This device comprises: acquiring unit 510, adjustment unit 520 and setting unit 530.
Wherein, acquiring unit 510 is used for obtaining the first hue adjustment value of toolbar on described browser after the browser Web page loading of opening on display screen is completed;
Concrete, acquiring unit 510 can comprise: interception unit 511, for the picture that intercepts shown webpage on described display screen; Analytic unit 512 is used for analyzing the dominant hue of the picture that described interception unit 511 intercepts, with the value of described dominant hue the first hue adjustment value as described toolbar.
Optionally, analytic unit 512 can comprise (not shown in Fig. 5): the buffer memory subelement, and the image cache that is used for described interception unit intercepting is the picture of default form; The statistics subelement, for form the color of each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color; Computation subunit, number that be used for to calculate the pixel that belongs to same color accounts for the ratio of the sum of all pixels of described picture; Determine subelement, be used for the dominant hue that the highest color of ratio that number with pixel accounts for the sum of all pixels of described picture is defined as described picture.
Further, acquiring unit 510 can also comprise: reduce unit 513, the color figure place that is used for presetting the picture of form is reduced to default figure place threshold value.
Adjustment unit 520 is for the tone of described the first described toolbar of hue adjustment value adjustment that obtains according to described acquiring unit 510.
Setting unit 530 is used for after described adjustment unit 520 is adjusted the tone of described toolbar, and the tone transparency that described toolbar is set is default transparency threshold value.
In a preferred implementation:
Described interception unit 511, can also be used for when not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value;
Described analytic unit 512 can also be used for analyzing the dominant hue of the bottom picture of described interception unit 511 interceptings, with the value of described dominant hue the second hue adjustment value as described toolbar;
Described adjustment unit 520 can also be used for when the hue difference between described the second hue adjustment value and described the first hue adjustment value during greater than default form and aspect threshold value, according to the tone of described the second described toolbar of hue adjustment value adjustment.
Referring to Fig. 6, adjust another embodiment block diagram of the device of toolbar tone for the present invention:
This device comprises: acquiring unit 610, adjustment unit 620 and setting unit 630.
Wherein, acquiring unit 610 is used for obtaining the first hue adjustment value of toolbar on described browser after the browser Web page loading of opening on display screen is completed;
Concrete, this acquiring unit 610 can comprise: receiving element 611 is used for receiving the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
Adjustment unit 620 is for the tone of described the first described toolbar of hue adjustment value adjustment that obtains according to described acquiring unit 610;
Setting unit 630 is used for after described adjustment unit 620 is adjusted the tone of described toolbar, and the tone transparency that described toolbar is set is default transparency threshold value.
Referring to Fig. 7, be the embodiment block diagram of terminal of the present invention:
This terminal comprises: bus 710, and by storer 720, display screen 730 and the processor 740 of described bus 710 connections.
Wherein, described storer 720, the application program that is used for storing browser;
Described display screen 730 is used for exporting the webpage that loads after described browser is opened;
Described processor 740 is used for obtaining the first hue adjustment value of toolbar on described browser after described browser Web page loading is completed, and adjusts the tone of described toolbar according to described the first hue adjustment value.
Optionally, described processor 740, can specifically be used for intercepting the picture of shown webpage on described display screen, analyze the dominant hue of described picture, with the value of described dominant hue the first hue adjustment value as described toolbar, perhaps receive the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
Optionally, described processor 740, can specifically be used for the picture of described image cache for default form, the color that forms each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color, the number that calculating belongs to the pixel of same color accounts for the ratio of the sum of all pixels of described picture, and the highest color of ratio that the number of pixel is accounted for the sum of all pixels of described picture is defined as the dominant hue of described picture.
Optionally, described processor 740, the color figure place that can also be used for picture that will described default form is reduced to presets the figure place threshold value.
optionally, described processor 740, can also be used for when not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value, analyze the dominant hue of described bottom picture, with the value of described dominant hue the second hue adjustment value as described toolbar, when the hue difference between described the second hue adjustment value and described the first hue adjustment value during greater than default form and aspect threshold value, adjust the tone of described toolbar according to described the second hue adjustment value.
Optionally, described processor 740 can also be used for after the tone of adjusting described toolbar, and the tone transparency that described toolbar is set is default transparency threshold value.
As seen from the above-described embodiment, after the browser Web page loading of opening on display screen is completed, obtain the first hue adjustment value of toolbar on described browser, adjust the tone of described toolbar according to this first hue adjustment value.In the embodiment of the present invention, when the tone that presents when webpage and toolbar tone contrast are larger, owing to can the tone of toolbar being adjusted, make the tone of toolbar consistent with the tone that webpage presents, the experience in the time of therefore can improving user's browsing page.
The technology that those skilled in the art can be well understood in the embodiment of the present invention can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme in the embodiment of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and between each embodiment, identical similar part is mutually referring to getting final product, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, substantially similar in appearance to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method due to it.
Above-described embodiment of the present invention does not consist of the restriction to protection domain of the present invention.Any modification of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method of adjusting the toolbar tone, is characterized in that, described method comprises:
After the browser Web page loading of opening on display screen is completed, obtain the first hue adjustment value of toolbar on described browser;
Adjust the tone of described toolbar according to described the first hue adjustment value.
2. method according to claim 1, is characterized in that, describedly obtains that on described browser, the first hue adjustment value of toolbar comprises:
Intercept the picture of shown webpage on described display screen;
Analyze the dominant hue of described picture, with the value of described dominant hue the first hue adjustment value as described toolbar;
Perhaps,
Receive the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
3. method according to claim 2, is characterized in that, the dominant hue of the described picture of described analysis comprises:
With the picture of described image cache for default form;
The color that forms each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color;
The number that calculating belongs to the pixel of same color accounts for the ratio of the sum of all pixels of described picture;
The highest color of ratio that the number of pixel is accounted for the sum of all pixels of described picture is defined as the dominant hue of described picture.
4. according to claim 2 or 3 described methods, is characterized in that, after adjusting the tone of described toolbar according to described the first hue adjustment value, also comprises:
When not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value;
Analyze the dominant hue of described bottom picture, with the value of the dominant hue of described bottom picture the second hue adjustment value as described toolbar;
During greater than default form and aspect threshold value, adjust the tone of described toolbar when the hue difference between described the second hue adjustment value and described the first hue adjustment value according to described the second hue adjustment value.
5. the described method of according to claim 1 to 3 any one, is characterized in that, described method also comprises: after the tone of adjusting described toolbar, the tone transparency that described toolbar is set is default transparency threshold value.
6. a device of adjusting the toolbar tone, is characterized in that, described device comprises:
Acquiring unit is used for obtaining the first hue adjustment value of toolbar on described browser after the browser Web page loading of opening on display screen is completed;
Adjustment unit is for the tone of described the first described toolbar of hue adjustment value adjustment that obtains according to described acquiring unit.
7. device according to claim 6, is characterized in that, described acquiring unit comprises:
Interception unit is for the picture that intercepts shown webpage on described display screen;
Analytic unit is used for analyzing the dominant hue of the picture that described interception unit intercepts, with the value of described dominant hue the first hue adjustment value as described toolbar; Perhaps,
Receiving element is used for receiving the first hue adjustment value of toolbar on the described browser that the server of described webpage affiliated web site issues.
8. device according to claim 7, is characterized in that, described analytic unit comprises:
The buffer memory subelement, the image cache that is used for described interception unit intercepting is the picture of default form;
The statistics subelement, for form the color of each pixel of described picture by judgement, statistics belongs to the number of the pixel of same color;
Computation subunit, number that be used for to calculate the pixel that belongs to same color accounts for the ratio of the sum of all pixels of described picture;
Determine subelement, be used for the dominant hue that the highest color of ratio that number with pixel accounts for the sum of all pixels of described picture is defined as described picture.
9. according to claim 7 or 8 described devices, is characterized in that,
Described interception unit, also be used for when not receiving the user to the operational order of described webpage in Preset Time, intercept the bottom picture of shown webpage on described display screen, the ratio that the area of described bottom picture accounts for described picture area is no more than the preset ratio threshold value;
Described analytic unit also is used for analyzing the dominant hue of the bottom picture of described interception unit intercepting, with the value of the dominant hue of described bottom picture the second hue adjustment value as described toolbar;
Described adjustment unit also is used for when the hue difference between described the second hue adjustment value and described the first hue adjustment value during greater than default form and aspect threshold value, according to the tone of described the second described toolbar of hue adjustment value adjustment.
10. the described device of according to claim 6 to 8 any one, is characterized in that, described device also comprises:
Setting unit is used for after described adjustment unit is adjusted the tone of described toolbar, and the tone transparency that described toolbar is set is default transparency threshold value.
CN201310074934.5A 2013-03-08 2013-03-08 Adjust the method and device of toolbar tone Active CN103164519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310074934.5A CN103164519B (en) 2013-03-08 2013-03-08 Adjust the method and device of toolbar tone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310074934.5A CN103164519B (en) 2013-03-08 2013-03-08 Adjust the method and device of toolbar tone

Publications (2)

Publication Number Publication Date
CN103164519A true CN103164519A (en) 2013-06-19
CN103164519B CN103164519B (en) 2016-08-03

Family

ID=48587607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310074934.5A Active CN103164519B (en) 2013-03-08 2013-03-08 Adjust the method and device of toolbar tone

Country Status (1)

Country Link
CN (1) CN103164519B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278795A (en) * 2014-06-06 2016-01-27 腾讯科技(北京)有限公司 Method and device for displaying function bars
CN105389403A (en) * 2015-12-29 2016-03-09 东软集团股份有限公司 Automatic matching method and system of page style
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone
CN105786896A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Color rendering method and device of page sidebar
CN106202549A (en) * 2016-07-26 2016-12-07 珠海市魅族科技有限公司 The method and device that a kind of picture loads
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106648305A (en) * 2016-10-26 2017-05-10 天脉聚源(北京)传媒科技有限公司 Status bar processing method and device
WO2017084452A1 (en) * 2015-11-18 2017-05-26 腾讯科技(深圳)有限公司 Method and apparatus for processing tag page in graphical interface
CN107729100A (en) * 2017-09-26 2018-02-23 维沃移动通信有限公司 A kind of interface display control method and mobile terminal
CN105741327B (en) * 2014-12-10 2019-06-11 阿里巴巴集团控股有限公司 The method and apparatus for extracting the mass-tone and assertive colours of picture
CN113626129A (en) * 2021-10-09 2021-11-09 北京世纪好未来教育科技有限公司 Page color determination method and device and electronic equipment
CN108257221B (en) * 2018-02-24 2022-02-01 网易(杭州)网络有限公司 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636228B2 (en) * 2001-06-07 2003-10-21 Microsoft Corporation Method of ensuring adequate contrast of graphical user interface elements
CN1487413A (en) * 2002-09-30 2004-04-07 联想(北京)有限公司 Method of automatically regulating interface style based on background image
CN101308445A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Method for effectively relieving menu icon under picture background
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6636228B2 (en) * 2001-06-07 2003-10-21 Microsoft Corporation Method of ensuring adequate contrast of graphical user interface elements
CN1487413A (en) * 2002-09-30 2004-04-07 联想(北京)有限公司 Method of automatically regulating interface style based on background image
CN101308445A (en) * 2008-06-26 2008-11-19 无敌科技(西安)有限公司 Method for effectively relieving menu icon under picture background
CN101916168A (en) * 2010-08-31 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and system for displaying application icon and mobile terminal
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278795A (en) * 2014-06-06 2016-01-27 腾讯科技(北京)有限公司 Method and device for displaying function bars
CN105278795B (en) * 2014-06-06 2019-12-03 腾讯科技(北京)有限公司 A kind of method and apparatus on display function column
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone
CN105551011B (en) * 2014-10-29 2019-01-29 阿里巴巴集团控股有限公司 A kind of setting method and device of dominant hue
CN105741327B (en) * 2014-12-10 2019-06-11 阿里巴巴集团控股有限公司 The method and apparatus for extracting the mass-tone and assertive colours of picture
CN105786896A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Color rendering method and device of page sidebar
WO2017084452A1 (en) * 2015-11-18 2017-05-26 腾讯科技(深圳)有限公司 Method and apparatus for processing tag page in graphical interface
CN105389403A (en) * 2015-12-29 2016-03-09 东软集团股份有限公司 Automatic matching method and system of page style
CN105389403B (en) * 2015-12-29 2019-01-25 东软集团股份有限公司 Style sheet automatic matching method and system
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
RU2693303C2 (en) * 2016-07-14 2019-07-02 Гуанчжоу Шэньма Мобайл Информэйшн Текнолоджи Ко., Лтд. Method and device for changing background colour of tool panel according to dominant colour of image
US10304408B2 (en) 2016-07-14 2019-05-28 Guangzhou Shenma Mobile Information Technology Co., Ltd. Method and apparatus for changing background color of toolbar with dominant color of picture
CN106202549A (en) * 2016-07-26 2016-12-07 珠海市魅族科技有限公司 The method and device that a kind of picture loads
CN106648305A (en) * 2016-10-26 2017-05-10 天脉聚源(北京)传媒科技有限公司 Status bar processing method and device
CN107729100A (en) * 2017-09-26 2018-02-23 维沃移动通信有限公司 A kind of interface display control method and mobile terminal
CN107729100B (en) * 2017-09-26 2020-04-28 维沃移动通信有限公司 Interface display control method and mobile terminal
CN108257221B (en) * 2018-02-24 2022-02-01 网易(杭州)网络有限公司 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus
CN113626129A (en) * 2021-10-09 2021-11-09 北京世纪好未来教育科技有限公司 Page color determination method and device and electronic equipment
CN113626129B (en) * 2021-10-09 2022-02-18 北京世纪好未来教育科技有限公司 Page color determination method and device and electronic equipment

Also Published As

Publication number Publication date
CN103164519B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN103164519A (en) Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
CN102123195B (en) Apparatus and method for providing bookmark service in communication terminal
US20080079750A1 (en) Perceptually adaptive graphical user interface
CN103744659A (en) Method and device for card type management of application entries
CN102831209B (en) Rendering method and rendering device for webpage browsing and mobile terminal
CN105843516B (en) It is a kind of for showing the method and device of information in original list rolling process
JP6255495B2 (en) Method and apparatus for displaying browser resource, and computer readable storage medium
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN106911943A (en) A kind of video display method and its device
CN103577176A (en) Method for realizing independent video play and mobile terminal device for realizing the method
WO2014190717A1 (en) Method and device of displaying images in text information
CN104683998A (en) Method and device for processing business quality
CN112114928A (en) Display page processing method and device
CN105337891A (en) Traffic control method and traffic control device for distributed cache system
CN108268578A (en) The method and system of Web page picture loading
US20140359405A1 (en) Method and device of displaying images in text information
CN108984070B (en) Method, apparatus, electronic device and readable medium for thermodynamic diagram imaging
CN110084871A (en) Image typesetting process and device, electric terminal
CN110069764A (en) List configuration method, device, computer equipment and storage medium
CN104331219A (en) Icon displaying method, device and system
CN110019037A (en) A kind of pdf document methods of exhibiting, device, equipment and storage medium
CN106936727A (en) A kind of Webpage display process and device
CN111125592B (en) Thermodynamic diagram rendering method and device for application program
CN111090384A (en) Soft keyboard display method and device
WO2011052678A1 (en) Image processing device, image processing method, and image processing program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200421

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080, room 16, building 10-20, Building 29, Haidian District, Suzhou Street, Beijing

Patentee before: UC MOBILE Ltd.