CN104765600A - Page processing method - Google Patents

Page processing method Download PDF

Info

Publication number
CN104765600A
CN104765600A CN201510111422.0A CN201510111422A CN104765600A CN 104765600 A CN104765600 A CN 104765600A CN 201510111422 A CN201510111422 A CN 201510111422A CN 104765600 A CN104765600 A CN 104765600A
Authority
CN
China
Prior art keywords
page
color
background color
adjusted
font
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
CN201510111422.0A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510111422.0A priority Critical patent/CN104765600A/en
Publication of CN104765600A publication Critical patent/CN104765600A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page processing method. The method comprises the steps of obtaining display attribute information corresponding to a first page, adjusting and processing the display attribute information by use of a preset attribute modification rule, and setting the first page according to the adjusted and processed display attribute information to generate a second page, and outputting the second page. The page processing method is capable of realizing the diversity of page display and enriching the display contents of the pages.

Description

A kind of page processing method
Technical field
The present invention relates to user interface techniques field, particularly relate to a kind of page processing method.
Background technology
Along with the continuous exploitation of electronics technology and perfect, the terminal such as mobile phone and panel computer has become a part indispensable in people's life, people not only can utilize these terminals to carry out communication, can also carry out file transfer, shooting, text reading etc.
User is when browsing page of text, the display properties of its page is fixedly installed in advance by the browse application exporting this page often, or given tacit consent to by terminal, limit the display framework to the page, cause the display of the page too single, and then reduce the intelligent of terminal.
Summary of the invention
The embodiment of the present invention provides a kind of page processing method, can realize the variation of page display, enrich page display content.
Embodiments provide a kind of page processing method, can comprise:
Obtain the display attribute information that first page is corresponding;
Adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, and described first page is arranged, to generate second page according to the display attribute information after described adjustment process;
Described second page is exported.
In embodiments of the present invention, by adopting preset attribute alteration ruler to carry out adjustment process to the display attribute information of first page, arranging to generate second page to first page according to the display attribute information after adjustment process, and finally exporting second page.Based on the automatic adjustment replacement process to the page, achieve the variation of page display, enriched page display content, and then improved the intelligent of terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of page processing method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of page processing method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of page setup unit that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of page setup unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another page setup unit that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The page processing method that the embodiment of the present invention provides can be applied to the scene of in terminal, the display pages such as page of text, the master routine page being carried out to processes and displays, such as: when first page being detected, terminal obtains display attribute information corresponding to first page, described terminal adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, to generate second page, described terminal exports described second page.Based on the automatic adjustment replacement process to the page, achieve the variation of page display, enriched page display content, and then improved the intelligent of terminal.
The terminal that the embodiment of the present invention relates to can comprise: computing machine, panel computer, smart mobile phone, notebook computer, palm PC and mobile internet device (MID) etc. can carry out to the page terminal device that arranges Yu export.
Below in conjunction with accompanying drawing 1 and accompanying drawing 2, the page processing method that the embodiment of the present invention provides is described in detail.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of page processing method.As shown in Figure 1, the described method of the embodiment of the present invention can comprise the following steps S101-step S103.
S101, obtains the display attribute information that first page is corresponding;
Concrete, when first page being detected, such as: when terminal detects that the master routine page in present terminal is unlocked, or when detecting that the text application page (such as: the application of web browser applications, text file reader, the instant messaging text display page etc.) is unlocked, described terminal can obtain display attribute information corresponding to first page, at least one information in color value that described display attribute information is specifically as follows size value corresponding to color value corresponding to font color in described first page, font, page layout background Color pair is answered etc.
S102, adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and arranges described first page according to the display attribute information after described adjustment process, to generate second page;
Concrete, described terminal can adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, described preset attribute alteration ruler can be the rule carrying out adjusting process to described display attribute information that user is undertaken by terminal pre-setting, and also can be the rule carrying out adjusting process to described display attribute information of default setting when terminal is dispatched from the factory.Described preset attribute alteration ruler includes but not limited to following three kinds of modes:
1, automatic switchover page layout background color: if described display attribute information is the color value that page layout background Color pair is answered, then obtain color value corresponding to a kind of default background color and replace the color value that described page layout background Color pair answers in default background color group;
2, the changing of page layout background color and font color: if the color value that described display attribute information is answered into color value corresponding to font color and page layout background Color pair, then color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted;
3, automatically font size size is regulated: if the described display attribute information size value that to be font corresponding, then according to current detected adjustment parameter acquiring size value to be adjusted, and adopt described size value to be adjusted to replace size value corresponding to described font, etc.
Described terminal is arranged described first page according to the display attribute information after described adjustment, namely by obtaining the page layout background color value after replacing, or the color value that background extraction and font color are respective after changing, or obtain the size value etc. of the font after replacing, background in first page and at least one in font are arranged, to generate second page.
By adopting described preset attribute alteration ruler to arrange described first page, based on the automatic adjustment replacement process to the page, the variation to page setup can be achieved, the personal settings demand of user can be met simultaneously, promote user's stickiness.
S103, exports described second page;
Concrete, described terminal can carry out output display to described second page.
In embodiments of the present invention, by adopting preset attribute alteration ruler to carry out adjustment process to the display attribute information of first page, arranging to generate second page to first page according to the display attribute information after adjustment process, and finally exporting second page.Based on the automatic adjustment replacement process to the page, achieve the variation of page display, enriched page display content, and then improved the intelligent of terminal.
Refer to Fig. 2, for embodiments providing the schematic flow sheet of another kind of page processing method.As shown in Figure 2, the described method of the embodiment of the present invention can comprise the following steps S201-step S208.
S201, obtains the display attribute information that first page is corresponding;
Concrete, when first page being detected, such as: when terminal detects that the master routine page in present terminal is unlocked, or when detecting that the text application page (such as: the application of web browser applications, text file reader, the instant messaging text display page etc.) is unlocked, described terminal can obtain display attribute information corresponding to first page, at least one information in color value that described display attribute information is specifically as follows size value corresponding to color value corresponding to font color in described first page, font, page layout background Color pair is answered etc.
In embodiments of the present invention, described terminal can adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, described preset attribute alteration ruler can be the rule carrying out adjusting process to described display attribute information that user is undertaken by terminal pre-setting, and also can be the rule carrying out adjusting process to described display attribute information of default setting when terminal is dispatched from the factory.Described preset attribute alteration ruler includes but not limited to following three kinds of modes: the conversion of automatic switchover page layout background color, page layout background color and font color and automatically regulate font size size.
In the first optional embodiment of the embodiment of the present invention, for automatic switchover page layout background color, even described display attribute information is the color value that page layout background Color pair is answered, and refers to the specific descriptions of S202-S203 below;
S202, obtains color value corresponding to a kind of default background color and replaces the color value that described page layout background Color pair answers in default background color group;
Concrete, default background color group is previously stored with in described terminal, store at least one pre-set in described default background color group and preset the color value that in background color, often kind of default background color is corresponding, described default background color group can be pre-set by described terminal by user, also default setting can be carried out by described terminal when dispatching from the factory, after can certainly carrying out default setting by described terminal when dispatching from the factory, then carry out further self-defined setting by user by described terminal.The color value that the default background color that user can arrange by described terminal is corresponding stores.
Described terminal can obtain color value corresponding to a kind of default background color and replace the color value that described page layout background Color pair answers in described default background color group, preferably, described terminal can preset putting in order of color value corresponding to background color according at least one in described default background color group, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers, further, described terminal can put in order according to described, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers performing every the first preset time period.Described color value is such as: carmine (240,207,196), green grass green (199,237,204), sea sky blue (159,159,251) etc., wherein, three numerals in bracket represent the proportioning of RGB respectively.
S203, the page layout background color of replacing described first page is described default background color, to generate second page;
Concrete, described terminal can be corresponding according to described default background color color value, the page layout background color of described first page is replaced with described default background color, to generate second page, further, when described terminal is after described first preset time period obtains once color value corresponding to default background color, described terminal just performs the color value corresponding according to the described default background color of this acquisition, the page layout background color of described first page is replaced with described default background color, to generate second page.
It should be noted that, because current page layout background color is white, and white lightness is higher, easily causes eye strain when therefore user browses for a long time, so described default background color preferably can alleviate the eyeshield look of eye strain, such as: green system, blue series etc.Certainly, whether the color value that the page layout background Color pair that described terminal can prejudge described first page is answered has been eyeshield look, if not eyeshield look, then performs step S202-S203 again, or described terminal also can be preset with color Substitution Rules, described color Substitution Rules are used to indicate described terminal when carrying out the selection of default background color at every turn, the default background color that the difference of the color value that the page layout background Color pair obtaining color value and described first page is answered is less, such as: be the first color with the page layout background color of current first page, described terminal have selected the second color when replacing color, difference between the color value of the color value that described second Color pair is answered and described first color is less, namely the contrast of described second color and described first color is less, when selecting color next time, the 3rd color can be selected, the contrast of described 3rd color and described second color is also less, but described 3rd color is not identical with described first color, by that analogy, adopt this kind of mode, equally also can protect the eyes of user.
In the optional embodiment of the second of the embodiment of the present invention, for the conversion of page layout background color and font color, even described display attribute information is the color value that color value that font color is corresponding and page layout background Color pair are answered, and refers to the specific descriptions of S204-S205 below;
S204, is set to the color value that page layout background Color pair to be adjusted is answered, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted by color value corresponding for described font color;
Concrete, described terminal is after the color value that color value corresponding to the font color obtaining described first page and page layout background Color pair are answered, the color value that color value corresponding for font color and page layout background Color pair are answered can be exchanged, namely color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered by described terminal, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted, according to above-mentioned citing, if the color value that described font color is corresponding is carmine (240, 207, 196), described page layout background color is green grass green (199, 237, 204), the color value that page layout background Color pair to be adjusted after then arranging is answered is carmine (240, 207, 196), the color value that described font color to be adjusted is corresponding is green grass green (199, 237, 204).Further, described terminal each second preset time period can just carry out the conversion of a color value.Adopt this mode can regulate the contraction of eyes ciliary muscle, help to reduce eye strain, promote Consumer's Experience.
S205, the color value adopting described page layout background Color pair to be adjusted to answer adjusts the page layout background color of described first page, and adopts color value corresponding to described font color to be adjusted to adjust the font color of described first page, to generate second page;
Concrete, the color value that described terminal can be answered according to described page layout background Color pair to be adjusted, the page layout background color of described first page is replaced with described page layout background color to be adjusted, and the color value corresponding according to described font color to be adjusted, the font color of described first page is replaced with described font color to be adjusted, to generate second page, further, when described terminal is after described second preset time period carries out the conversion of a color value, described terminal just performs the color value of answering according to page layout background Color pair to be adjusted described in this and page layout background color of described first page is replaced with described page layout background color to be adjusted, and the font color of described first page is replaced with described font color to be adjusted by the color value corresponding according to font color to be adjusted described in this, to generate second page.
In the third optional embodiment of the embodiment of the present invention, for automatically regulating font size size, even described display attribute information is size value corresponding to font, refers to the specific descriptions of S206-S207 below;
S206, according to current detected adjustment parameter acquiring size value to be adjusted, and adopts described size value to be adjusted to replace size value corresponding to described font;
Concrete, described terminal can according to current detected adjustment parameter acquiring the size value to be adjusted of font, described adjustment parameter is distance values or preset time period, when described adjustment parameter is distance values, described terminal is according to current detected adjustment parameter acquiring size value to be adjusted, and adopt before described size value to be adjusted replaces size value corresponding to described font, distance values between the user needing first Real-time Obtaining range sensor to detect and described terminal display screen, after the described distance values of acquisition, described terminal can determine the distance range belonging to described distance values, and obtain size value to be adjusted corresponding to described distance range, be understandable that, pre-defined in described terminal have different distance ranges and size value to be adjusted corresponding to each distance range, also definition has the font size that often kind of size value to be adjusted is corresponding simultaneously.Described terminal can adopt described size value to be adjusted to replace size value corresponding to described font.Such as: in described terminal, definition has three kinds of size values to be adjusted, it is respectively 1 (OS OVER SIZE), 2 (large sizes), 3 (medium), and distance range corresponding is respectively " being greater than 30 centimetres ", " be less than or equal to 30 centimetres and be greater than 20 centimetres ", " being less than or equal to 20 centimetres ", then when getting described distance values and being 28 centimetres, determine that its distance range is for " be less than or equal to 30 centimetres and be greater than 20 centimetres ", obtain size value to be adjusted corresponding to described distance range for " 2 (large size) ", by that analogy.Adopt this kind of mode that terminal adaptive user can be made by the distance of display screen browsing pages, realize automatically adjusting font size, can ensure that eyes ciliary muscle can not be in tension simultaneously.
When described adjustment parameter is preset time period, described terminal can preset an acquisition size value to be adjusted in size value set to be adjusted every described preset time period, one or more predefined size value to be adjusted is included in described size value set to be adjusted, be understandable that, in described terminal, definition has the font size that often kind of size value to be adjusted is corresponding simultaneously, such as: in described terminal, definition has the size value set to be adjusted of three kinds of size values to be adjusted, it is respectively 1 (OS OVER SIZE), 2 (large sizes), 3 (medium), if detect, the font in described first page is that " 3 (medium) " was more than 30 minutes, then described terminal can obtain a size value to be adjusted " 2 (large size) " in described size value set to be adjusted, by that analogy.Adopt this kind of mode can regulate the contraction of eyes ciliary muscle, help to reduce eye strain, promote Consumer's Experience.
S207, adopts described size value to be adjusted to adjust the font of described first page, to generate second page;
Concrete, described terminal according to described size value to be adjusted, can adjust the font of described first page, to generate second page.
It should be noted that; above-mentioned three kinds of embodiments be only that the embodiment of the present invention provides three kinds preferred embodiment; for the embodiment that other are different; such as: only change font color; or change page layout background color and font color etc. also can realize the variation that the page shows, and all belongs to the protection domain of the embodiment of the present invention simultaneously.Be understandable that, above-mentioned three kinds of embodiments can perform separately, also execution can be coordinated, such as: for the first embodiment and the second embodiment, page layout background color can be switched every 30 minutes, every 15 minutes, page layout background color and font color can be changed etc. simultaneously, better can realize the variation of page display, enrich terminal page displaying contents.The first above-mentioned preset time period, the second preset time period and preset time period can be the identical time period, also can combine according to different embodiments the time period arranged respectively.
S208, exports described second page.
Concrete, described terminal can carry out output display to described second page.
In embodiments of the present invention, by adopting preset attribute alteration ruler to carry out adjustment process to the display attribute information of first page, arranging to generate second page to first page according to the display attribute information after adjustment process, and finally exporting second page.Based on the automatic adjustment replacement process to the page, and by providing the preset attribute alteration ruler of various ways, achieve the variation of page display, enrich page display content, simultaneously can by arranging different page layout background color, font color, font size etc., can alleviate eye strain, improve Consumer's Experience, and then improve the intelligent of terminal.
Below in conjunction with accompanying drawing 3-accompanying drawing 6, the terminal that the embodiment of the present invention provides is described in detail.It should be noted that, the terminal shown in accompanying drawing 3-accompanying drawing 6, for performing Fig. 1 of the present invention and method embodiment illustrated in fig. 2, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1 and Fig. 2 of the present invention.
Refer to Fig. 3, for embodiments providing a kind of structural representation of terminal.As shown in Figure 3, the described terminal 1 of the embodiment of the present invention can comprise:
Information acquisition unit 11, for obtaining display attribute information corresponding to first page;
In specific implementation, when first page being detected, such as: when described terminal 1 detects that the master routine page in present terminal 1 is unlocked, or detect that the text application page is (such as: web browser applications, text file reader is applied, the instant messaging text display page etc.) when being unlocked, described information acquisition unit 11 can obtain display attribute information corresponding to first page, described display attribute information is specifically as follows color value corresponding to font color in described first page, the size value that font is corresponding, at least one information in color value that page layout background Color pair is answered etc.
Page setup unit 12, for adopting preset attribute alteration ruler to carry out adjustment process to described display attribute information, and is arranged described first page according to the display attribute information after described adjustment process;
In specific implementation, described page setup unit 12 can adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, the rule carrying out adjusting process to described display attribute information that described preset attribute alteration ruler can be undertaken pre-setting by terminal 1 for user, also can carry out to described display attribute information the rule adjusting process for default setting when terminal 1 is dispatched from the factory.Described preset attribute alteration ruler includes but not limited to following three kinds of modes:
1, automatic switchover page layout background color: if described display attribute information is the color value that page layout background Color pair is answered, then obtain color value corresponding to a kind of default background color and replace the color value that described page layout background Color pair answers in default background color group;
2, the changing of page layout background color and font color: if the color value that described display attribute information is answered into color value corresponding to font color and page layout background Color pair, then color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted;
3, automatically font size size is regulated: if the described display attribute information size value that to be font corresponding, then according to current detected adjustment parameter acquiring size value to be adjusted, and adopt described size value to be adjusted to replace size value corresponding to described font, etc.
Described page setup unit 12 is arranged described first page according to the display attribute information after described adjustment, namely by obtaining the page layout background color value after replacing, or the color value that background extraction and font color are respective after changing, or obtain the size value etc. of the font after replacing, background in first page and at least one in font are arranged, to generate second page.
By adopting described preset attribute alteration ruler to arrange described first page, based on the automatic adjustment replacement process to the page, the variation to page setup can be achieved, the personal settings demand of user can be met simultaneously, promote user's stickiness.
In the first optional embodiment of the embodiment of the present invention, for automatic switchover page layout background color, even described display attribute information is the color value that page layout background Color pair is answered, please also refer to Fig. 4, for embodiments providing a kind of structural representation of page setup unit.As shown in Figure 4, described page setup unit 12 can comprise:
Color value replacement unit 121, replaces for obtaining color value corresponding to a kind of default background color in default background color group the color value that described page layout background Color pair answers;
In specific implementation, default background color group is previously stored with in described terminal 1, store at least one pre-set in described default background color group and preset the color value that in background color, often kind of default background color is corresponding, described default background color group can be pre-set by described terminal 1 by user, also default setting can be carried out by described terminal 1 when dispatching from the factory, after can certainly carrying out default setting by described terminal 1 when dispatching from the factory, then carry out further self-defined setting by user by described terminal 1.The color value that the default background color that user can arrange by described terminal 1 is corresponding stores.
Described color value replacement unit 121 can obtain color value corresponding to a kind of default background color and replace the color value that described page layout background Color pair answers in described default background color group, preferably, described color value replacement unit 121 can preset putting in order of color value corresponding to background color according at least one in described default background color group, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers, further, described color value replacement unit 121 can put in order according to described, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers performing every the first preset time period.Described color value is such as: carmine (240,207,196), green grass green (199,237,204), sea sky blue (159,159,251) etc., wherein, three numerals in bracket represent the proportioning of RGB respectively.
First page generation unit 122 is described default background color for replacing the page layout background color of described first page, to generate second page;
In specific implementation, described first page generation unit 122 can be corresponding according to described default background color color value, the page layout background color of described first page is replaced with described default background color, to generate second page, further, when described color value replacement unit 121 is after described first preset time period obtains once color value corresponding to default background color, described first page generation unit 122 just performs the color value corresponding according to the described default background color of this acquisition, the page layout background color of described first page is replaced with described default background color, to generate second page.
It should be noted that, because current page layout background color is white, and white lightness is higher, easily causes eye strain when therefore user browses for a long time, so described default background color preferably can alleviate the eyeshield look of eye strain, such as: green system, blue series etc.Certainly, whether the color value that the page layout background Color pair that described terminal 1 can prejudge described first page is answered has been eyeshield look, if not eyeshield look, then notify that described color value replacement unit 121 performs and obtain the step that color value corresponding to a kind of default background color replaces the color value that described page layout background Color pair is answered in default background color group, or described terminal 1 also can be preset with color Substitution Rules, described color Substitution Rules are used to indicate described color value replacement unit 121 when carrying out the selection of default background color at every turn, the default background color that the difference of the color value that the page layout background Color pair obtaining color value and described first page is answered is less, such as: be the first color with the page layout background color of current first page, described color value replacement unit 121 have selected the second color when replacing color, difference between the color value of the color value that described second Color pair is answered and described first color is less, namely the contrast of described second color and described first color is less, when selecting color next time, the 3rd color can be selected, the contrast of described 3rd color and described second color is also less, but described 3rd color is not identical with described first color, by that analogy, adopt this kind of mode, equally also can protect the eyes of user.
In the optional embodiment of the second of the embodiment of the present invention, the conversion of pin page layout background color and font color, even described display attribute information is the color value that color value that font color is corresponding and page layout background Color pair are answered, please also refer to Fig. 5, for embodiments providing the structural representation of another kind of page setup unit.As shown in Figure 5, described page setup unit 12 can comprise:
Color value setting unit 123, for color value corresponding for described font color being set to the color value that page layout background Color pair to be adjusted is answered, and is set to color value corresponding to font color to be adjusted by the color value that described page layout background Color pair is answered;
In specific implementation, described color value setting unit 123 is after the color value that color value corresponding to the font color obtaining described first page and page layout background Color pair are answered, the color value that color value corresponding for font color and page layout background Color pair are answered can be exchanged, namely color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered by described color value setting unit 123, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted, according to above-mentioned citing, if the color value that described font color is corresponding is carmine (240, 207, 196), described page layout background color is green grass green (199, 237, 204), the color value that page layout background Color pair to be adjusted after then arranging is answered is carmine (240, 207, 196), the color value that described font color to be adjusted is corresponding is green grass green (199, 237, 204).Further, described color value setting unit 123 each second preset time period can just carry out the conversion of a color value.Adopt this mode can regulate the contraction of eyes ciliary muscle, help to reduce eye strain, promote Consumer's Experience.
Second page generating unit 124, color value for adopting described page layout background Color pair to be adjusted to answer adjusts the page layout background color of described first page, and adopt color value corresponding to described font color to be adjusted to adjust the font color of described first page, to generate second page;
In specific implementation, the color value that described second page generating unit 124 can be answered according to described page layout background Color pair to be adjusted, the page layout background color of described first page is replaced with described page layout background color to be adjusted, and the color value corresponding according to described font color to be adjusted, the font color of described first page is replaced with described font color to be adjusted, to generate second page, further, when described color value setting unit 123 is after described second preset time period carries out the conversion of a color value, described second page generating unit 124 just performs the color value of answering according to page layout background Color pair to be adjusted described in this and page layout background color of described first page is replaced with described page layout background color to be adjusted, and the font color of described first page is replaced with described font color to be adjusted by the color value corresponding according to font color to be adjusted described in this, to generate second page.
In the third optional embodiment of the embodiment of the present invention, for automatically regulating font size size, even described display attribute information is size value corresponding to font, please also refer to Fig. 6, for embodiments providing the structural representation of another page setup unit.As shown in Figure 6, described page setup unit 12 can comprise:
Size value replacement unit 125, for according to current detected adjustment parameter acquiring size value to be adjusted, and adopts described size value to be adjusted to replace size value corresponding to described font;
In specific implementation, described size value replacement unit 125 can according to current detected adjustment parameter acquiring the size value to be adjusted of font, described adjustment parameter is distance values or preset time period, when described adjustment parameter is distance values, described terminal 1 can also comprise numerical value acquiring unit, described numerical value acquiring unit is according to current detected adjustment parameter acquiring size value to be adjusted, and adopt before described size value to be adjusted replaces size value corresponding to described font, distance values between the user needing first Real-time Obtaining range sensor to detect and the display screen of described terminal 1, after described numerical value acquiring unit obtains described distance values, described size value replacement unit 125 can determine the distance range belonging to described distance values, and obtain size value to be adjusted corresponding to described distance range, be understandable that, pre-defined in described terminal 1 have different distance ranges and size value to be adjusted corresponding to each distance range, also definition has the font size that often kind of size value to be adjusted is corresponding simultaneously.Described size value replacement unit 125 can adopt described size value to be adjusted to replace size value corresponding to described font.Such as: in described terminal 1, definition has three kinds of size values to be adjusted, it is respectively 1 (OS OVER SIZE), 2 (large sizes), 3 (medium), and distance range corresponding is respectively " being greater than 30 centimetres ", " be less than or equal to 30 centimetres and be greater than 20 centimetres ", " being less than or equal to 20 centimetres ", then when getting described distance values and being 28 centimetres, determine that its distance range is for " be less than or equal to 30 centimetres and be greater than 20 centimetres ", obtain size value to be adjusted corresponding to described distance range for " 2 (large size) ", by that analogy.Adopt this kind of mode that terminal adaptive user can be made by the distance of display screen browsing pages, realize automatically adjusting font size, can ensure that eyes ciliary muscle can not be in tension simultaneously.
When described adjustment parameter is preset time period, described size value replacement unit 125 can preset an acquisition size value to be adjusted in size value set to be adjusted every described preset time period, one or more predefined size value to be adjusted is included in described size value set to be adjusted, be understandable that, in described terminal 1, definition has the font size that often kind of size value to be adjusted is corresponding simultaneously, such as: in described terminal 1, definition has the size value set to be adjusted of three kinds of size values to be adjusted, it is respectively 1 (OS OVER SIZE), 2 (large sizes), 3 (medium), if detect, the font in described first page is that " 3 (medium) " was more than 30 minutes, then described size value replacement unit 125 can obtain a size value to be adjusted " 2 (large size) " in described size value set to be adjusted, by that analogy.Adopt this kind of mode can regulate the contraction of eyes ciliary muscle, help to reduce eye strain, promote Consumer's Experience.
Font adjustment unit 126, for adopting described size value to be adjusted to adjust the font of described first page, to generate second page;
In specific implementation, described font adjustment unit 126 according to described size value to be adjusted, can adjust the font of described first page, to generate second page.
It should be noted that; above-mentioned three kinds of embodiments be only that the embodiment of the present invention provides three kinds preferred embodiment; for the embodiment that other are different; such as: only change font color; or change page layout background color and font color etc. also can realize the variation that the page shows, and all belongs to the protection domain of the embodiment of the present invention simultaneously.Be understandable that, above-mentioned three kinds of embodiments can perform separately, also execution can be coordinated, such as: for the first embodiment and the second embodiment, page layout background color can be switched every 30 minutes, every 15 minutes, page layout background color and font color can be changed etc. simultaneously, better can realize the variation of page display, enrich terminal 1 page display content.The first above-mentioned preset time period, the second preset time period and preset time period can be the identical time period, also can combine according to different embodiments the time period arranged respectively.
Page output unit 13, for exporting described second page;
In specific implementation, described page output unit 13 can carry out output display to described second page.
In embodiments of the present invention, by adopting preset attribute alteration ruler to carry out adjustment process to the display attribute information of first page, arranging to generate second page to first page according to the display attribute information after adjustment process, and finally exporting second page.Based on the automatic adjustment replacement process to the page, and by providing the preset attribute alteration ruler of various ways, achieve the variation of page display, enrich page display content, simultaneously can by arranging different page layout background color, font color, font size etc., can alleviate eye strain, improve Consumer's Experience, and then improve the intelligent of terminal.
Refer to Fig. 7, for embodiments providing the structural representation of another kind of terminal.As shown in Figure 7, this terminal comprises: at least one processor 701, such as CPU, input equipment 703, output device 704, storer 705, at least one communication bus 702.Wherein, communication bus 702 is for realizing the connection communication between these assemblies.Wherein, storer 705 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as at least one magnetic disk memory.Storer 705 can also be optionally that at least one is positioned at the memory storage away from aforementioned processor 701.Wherein processor 701 can terminal described by composition graphs 3-Fig. 6, store batch processing code, and processor 701 calls the program code stored in storer 705, for performing following operation in storer 705:
Obtain the display attribute information that first page is corresponding;
Adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, and described first page is arranged, to generate second page according to the display attribute information after described adjustment process;
Control described output device 704 to export described second page.
In an alternate embodiment of the invention, described display attribute information be color value that font color is corresponding, at least one information in size value corresponding to font, the page layout background Color pair color value of answering.
In an alternate embodiment of the invention, if described display attribute information is the color value that page layout background Color pair is answered; Processor 701 calls the program code execution stored in storer 705 and adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, during to generate second page, specifically perform following steps:
In default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers;
The page layout background color of replacing described first page is described default background color, to generate second page.
In an alternate embodiment of the invention, processor 701 calls the program code stored in storer 705 and performs and in default background color group, obtain color value corresponding to a kind of default background color when replacing the color value that described page layout background Color pair answers, and specifically performs following steps:
Preset putting in order of color value corresponding to background color according at least one in default background color group, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers.
In an alternate embodiment of the invention, if described display attribute information is the color value that color value that font color is corresponding and page layout background Color pair are answered; Processor 701 calls the program code execution stored in storer 705 and adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, during to generate second page, specifically perform following steps:
Color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted;
The color value adopting described page layout background Color pair to be adjusted to answer adjusts the page layout background color of described first page, and adopts color value corresponding to described font color to be adjusted to adjust the font color of described first page, to generate second page.
In an alternate embodiment of the invention, if the described display attribute information size value that to be font corresponding; Processor 701 calls the program code execution stored in storer 705 and adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, during to generate second page, specifically perform following steps:
According to current detected adjustment parameter acquiring size value to be adjusted, and described size value to be adjusted is adopted to replace size value corresponding to described font;
Described size value to be adjusted is adopted to adjust the font of described first page, to generate second page.
In an alternate embodiment of the invention, described adjustment parameter is distance values or preset time period.
In an alternate embodiment of the invention, when described adjustment parameter is distance values, processor 701 calls the program code execution stored in storer 705 and adopts preset attribute alteration ruler to carry out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, before generating second page, also perform following steps:
Control described input equipment 703 and obtain the distance values between user and local terminal display screen that range sensor detects.
In an alternate embodiment of the invention, when processor 701 calls the program code execution size value to be adjusted according to current detected adjustment parameter acquiring stored in storer 705, specifically following steps are performed:
Determine distance range belonging to described distance values, and obtain size value to be adjusted corresponding to described distance range.
In an alternate embodiment of the invention, when described adjustment parameter is preset time period, when processor 701 calls the program code execution size value to be adjusted according to current detected adjustment parameter acquiring stored in storer 705, specifically perform following steps:
An acquisition size value to be adjusted in size value set to be adjusted is being preset every described preset time period.
In embodiments of the present invention, by adopting preset attribute alteration ruler to carry out adjustment process to the display attribute information of first page, arranging to generate second page to first page according to the display attribute information after adjustment process, and finally exporting second page.Based on the automatic adjustment replacement process to the page, and by providing the preset attribute alteration ruler of various ways, achieve the variation of page display, enrich page display content, simultaneously can by arranging different page layout background color, font color, font size etc., can alleviate eye strain, improve Consumer's Experience, and then improve the intelligent of terminal.
Module described in the embodiment of the present invention or unit, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention terminal or unit can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a page processing method, is characterized in that, comprising:
Obtain the display attribute information that first page is corresponding;
Adopt preset attribute alteration ruler to carry out adjustment process to described display attribute information, and described first page is arranged, to generate second page according to the display attribute information after described adjustment process;
Described second page is exported.
2. method according to claim 1, is characterized in that, at least one information in the color value that the size value that described display attribute information is color value that font color is corresponding, font is corresponding, page layout background Color pair are answered.
3. method according to claim 2, is characterized in that, if described display attribute information is the color value that page layout background Color pair is answered;
Described employing preset attribute alteration ruler carries out adjustment process to described display attribute information, and arranges described first page according to the display attribute information after described adjustment process, to generate second page, comprising:
In default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers;
The page layout background color of replacing described first page is described default background color, to generate second page.
4. method according to claim 3, is characterized in that, described color value corresponding to a kind of default background color that obtain in default background color group replaces the color value that described page layout background Color pair answers, and comprising:
Preset putting in order of color value corresponding to background color according at least one in default background color group, in described default background color group, obtain color value corresponding to a kind of default background color replace the color value that described page layout background Color pair answers.
5. method according to claim 2, is characterized in that, if described display attribute information is the color value that color value that font color is corresponding and page layout background Color pair are answered;
Described employing preset attribute alteration ruler carries out adjustment process to described display attribute information, and arranges described first page according to the display attribute information after described adjustment process, to generate second page, comprising:
Color value corresponding for described font color is set to the color value that page layout background Color pair to be adjusted is answered, and the color value that described page layout background Color pair is answered is set to color value corresponding to font color to be adjusted;
The color value adopting described page layout background Color pair to be adjusted to answer adjusts the page layout background color of described first page, and adopts color value corresponding to described font color to be adjusted to adjust the font color of described first page, to generate second page.
6. method according to claim 2, is characterized in that, if the described display attribute information size value that to be font corresponding;
Described employing preset attribute alteration ruler carries out adjustment process to described display attribute information, and arranges described first page according to the display attribute information after described adjustment process, to generate second page, comprising:
According to current detected adjustment parameter acquiring size value to be adjusted, and described size value to be adjusted is adopted to replace size value corresponding to described font;
Described size value to be adjusted is adopted to adjust the font of described first page, to generate second page.
7. method according to claim 6, is characterized in that, described adjustment parameter is distance values or preset time period.
8. method according to claim 7, it is characterized in that, when described adjustment parameter is distance values, described employing preset attribute alteration ruler carries out adjustment process to described display attribute information, and according to the display attribute information after described adjustment process, described first page is arranged, before generating second page, also comprise:
Distance values between the user that acquisition range sensor detects and local terminal display screen.
9. method according to claim 8, is characterized in that, described according to current detected adjustment parameter acquiring size value to be adjusted, comprising:
Determine distance range belonging to described distance values, and obtain size value to be adjusted corresponding to described distance range.
10. method according to claim 7, is characterized in that, when described adjustment parameter is preset time period, described according to current detected adjustment parameter acquiring size value to be adjusted, comprising:
An acquisition size value to be adjusted in size value set to be adjusted is being preset every described preset time period.
CN201510111422.0A 2015-03-13 2015-03-13 Page processing method Pending CN104765600A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510111422.0A CN104765600A (en) 2015-03-13 2015-03-13 Page processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510111422.0A CN104765600A (en) 2015-03-13 2015-03-13 Page processing method

Publications (1)

Publication Number Publication Date
CN104765600A true CN104765600A (en) 2015-07-08

Family

ID=53647452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510111422.0A Pending CN104765600A (en) 2015-03-13 2015-03-13 Page processing method

Country Status (1)

Country Link
CN (1) CN104765600A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912511A (en) * 2016-03-31 2016-08-31 宇龙计算机通信科技(深圳)有限公司 E-book page display method and e-book page display device
CN106126725A (en) * 2016-06-30 2016-11-16 北京小米移动软件有限公司 Page display method and device
CN107025086A (en) * 2016-01-29 2017-08-08 三星电子株式会社 Electronic installation and its control method
CN107133235A (en) * 2016-02-29 2017-09-05 广州市动景计算机科技有限公司 The page composition method, again composing device, browser and electronic equipment again
CN107643910A (en) * 2017-07-31 2018-01-30 海南智媒云图科技股份有限公司 A kind of method and device of navigation bar color replacement
CN109074220A (en) * 2016-04-11 2018-12-21 华为技术有限公司 The method that dynamic changes user interface element
CN109062641A (en) * 2018-06-28 2018-12-21 财付通支付科技有限公司 A kind of interface information processing method, device, equipment and storage medium
CN111008052A (en) * 2019-10-21 2020-04-14 爱钱进(北京)信息科技有限公司 Method, device and storage medium for providing interface image
CN111191424A (en) * 2019-12-31 2020-05-22 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip
CN113360820A (en) * 2021-05-29 2021-09-07 北京网聘咨询有限公司 Page display method, system, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246477A (en) * 2007-12-03 2008-08-20 深圳市茁壮网络技术有限公司 Method and system for modifying and indicating attribute of interface constituent
US20080222551A1 (en) * 2007-03-09 2008-09-11 Kabushiki Kaisha Toshiba Information processing apparatus
CN101815127A (en) * 2010-04-12 2010-08-25 中兴通讯股份有限公司 Mobile terminal and method for adjusting visual effect of screen thereof
CN102004784A (en) * 2010-11-25 2011-04-06 北京播思软件技术有限公司 Electricity-saving method of handheld terminal browser
CN103309578A (en) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 Web page display method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222551A1 (en) * 2007-03-09 2008-09-11 Kabushiki Kaisha Toshiba Information processing apparatus
CN101246477A (en) * 2007-12-03 2008-08-20 深圳市茁壮网络技术有限公司 Method and system for modifying and indicating attribute of interface constituent
CN101815127A (en) * 2010-04-12 2010-08-25 中兴通讯股份有限公司 Mobile terminal and method for adjusting visual effect of screen thereof
CN102004784A (en) * 2010-11-25 2011-04-06 北京播思软件技术有限公司 Electricity-saving method of handheld terminal browser
CN103309578A (en) * 2013-06-25 2013-09-18 北京小米科技有限责任公司 Web page display method and terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025086A (en) * 2016-01-29 2017-08-08 三星电子株式会社 Electronic installation and its control method
CN107133235A (en) * 2016-02-29 2017-09-05 广州市动景计算机科技有限公司 The page composition method, again composing device, browser and electronic equipment again
CN105912511A (en) * 2016-03-31 2016-08-31 宇龙计算机通信科技(深圳)有限公司 E-book page display method and e-book page display device
CN109074220A (en) * 2016-04-11 2018-12-21 华为技术有限公司 The method that dynamic changes user interface element
CN106126725A (en) * 2016-06-30 2016-11-16 北京小米移动软件有限公司 Page display method and device
CN107643910A (en) * 2017-07-31 2018-01-30 海南智媒云图科技股份有限公司 A kind of method and device of navigation bar color replacement
CN109062641A (en) * 2018-06-28 2018-12-21 财付通支付科技有限公司 A kind of interface information processing method, device, equipment and storage medium
CN111008052A (en) * 2019-10-21 2020-04-14 爱钱进(北京)信息科技有限公司 Method, device and storage medium for providing interface image
CN111191424A (en) * 2019-12-31 2020-05-22 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip
CN111191424B (en) * 2019-12-31 2023-03-03 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip
CN113360820A (en) * 2021-05-29 2021-09-07 北京网聘咨询有限公司 Page display method, system, equipment and storage medium
CN113360820B (en) * 2021-05-29 2024-03-08 北京网聘信息技术有限公司 Page display method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104765600A (en) Page processing method
US8890886B2 (en) User interface with color themes based on input image data
CN104618588A (en) Method for regulating terminal screen brightness
CN106503004B (en) Information processing method and device, and terminal
CN103092551B (en) The method of adjustment display effect and device
EP3201879A1 (en) Optimizing the legibility of displayed text
CN108628656A (en) Interface adaptation method, device, computer equipment and storage medium on ios device
CN102831209B (en) Rendering method and rendering device for webpage browsing and mobile terminal
CN104765599A (en) Terminal
CN103164231A (en) Input method virtual keyboard skin management method and device
CN104967784B (en) Mobile terminal calls the method and mobile terminal of the substrate features pattern of camera function
CN103425452A (en) Multi-layer overlapping display method and device for mobile terminal
CN106128371A (en) A kind of device, display device and the method that picture brightness strengthens
CN109614192A (en) Page brightness display methods and device
CN102402367A (en) Method for implementing dynamic theme in mobile phone terminal
CN111090384B (en) Soft keyboard display method and device
CN103914213A (en) Method and device for eliminating page dithering
CN104281995A (en) Method and device for adding watermark to picture
CN104462516A (en) Information prompt method and mobile terminal
CN105468617A (en) Method and device for regulating webpage content color
CN106128369A (en) A kind of interface processing method reducing electronic ink screen ghost
KR20160027760A (en) Display apparatus, system and controlling method thereof
CN105739936A (en) User terminal control method and user terminal
CN111199565B (en) Data processing method, device, system, electronic equipment and storage medium
CN105678688A (en) Picture processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150708

WD01 Invention patent application deemed withdrawn after publication