CN102004784A - Electricity-saving method of handheld terminal browser - Google Patents

Electricity-saving method of handheld terminal browser Download PDF

Info

Publication number
CN102004784A
CN102004784A CN2010105665696A CN201010566569A CN102004784A CN 102004784 A CN102004784 A CN 102004784A CN 2010105665696 A CN2010105665696 A CN 2010105665696A CN 201010566569 A CN201010566569 A CN 201010566569A CN 102004784 A CN102004784 A CN 102004784A
Authority
CN
China
Prior art keywords
webpage
handheld terminal
terminal browser
color
saving method
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
CN2010105665696A
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.)
Beijing Borqs Software Technology Co Ltd
Original Assignee
Beijing Borqs Software Technology 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 Beijing Borqs Software Technology Co Ltd filed Critical Beijing Borqs Software Technology Co Ltd
Priority to CN2010105665696A priority Critical patent/CN102004784A/en
Publication of CN102004784A publication Critical patent/CN102004784A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an electricity-saving method of a handheld terminal browser, which comprises the following steps: receiving a user webpage request and acquiring webpage source data, setting a background color and the colors of webpage elements, and gradually rendering the webpage and displaying, wherein the background color of the webpage is changed to black, the colors of the characters and links among the webpage elements are changed into deep green or dark golden, the background colors of controls such as buttons, dropdown lists and input lists are changed to a color similar to the background color but greatly different from that of characters. When the electricity-saving method of the handheld terminal browser is used, the power consumption of the handheld terminal browser is reduced effectively, and the problem of eye fatigue in long-term reading of a white background webpage in a dark environment is solved.

Description

A kind of power-saving method of handheld terminal browser
Technical field
The present invention relates to a kind of handheld terminal, relate in particular to a kind of power-saving method of handheld terminal browser.
Background technology
Along with the continuous development of mobile Internet, the handheld terminal with function of surfing the Net also more and more is subjected to user's favor.The browser that is used for the handheld terminal online at present mainly contains WEB browser and wap protocol, can run on the various wireless networks, as GSM, GPRS, CDMA etc.
By WEB browser and WAP, just the bulk information of Internet and various business can be incorporated among the handheld terminals such as mobile phone, PALM.As long as no matter when, where need information, open handheld terminal, the user just can enjoy inexhaustible network information or internet resource.As: roundup news, weather forecast, dynamic, the commercial report in stock market, the current exchange rate etc.Ecommerce, Web bank also will realize one by one.Can also obtain sports results, amusement circles anecdote etc. whenever and wherever possible by the WAP cellphone subscriber, for life increases temperament and interest, also can utilize the online reservation function, without any confusion living arrangement.
The browser of existing handheld terminal is default all to be to show a webpage with white background and black font, have only the webpage development personnel could pass through the color of CSS specific context and font, large-area white background can increase the power consumption of handheld terminal, and the webpage of reading white background in this external low-light level environment for a long time in (for example evening) also can cause eye fatigue easily.
Summary of the invention
In order to solve the deficiency that prior art exists, the object of the present invention is to provide a kind of power-saving method of handheld terminal browser, the browser of handheld terminal can be according to user's request, change the color of background and web page element, reduced the power consumption of handheld terminal when user's browsing page, also avoided because the user reads the problem that webpage causes eye fatigue easily for a long time simultaneously.
In order to finish above-mentioned purpose, the power-saving method of a kind of handheld terminal browser of the present invention may further comprise the steps:
1) receives user's web-page requests, obtain the webpage source data;
2) change webpage background color and web page element color, the background color of selection control;
3) webpage is carried out gradually playing up and showing.
Wherein, described step 1) reception user web-page requests is that the handheld terminal browser receives the web page address of user's input by using the interface.
Wherein, to obtain the webpage source data be the handheld terminal browser obtains webpage from in-out box source data to described step 1).
Wherein, the webpage source data in the described step 1) is HTML or WML source data.
Wherein, described step 2) further may further comprise the steps:
A) background color of webpage is set to black background;
B) webpage is resolved, generate and play up tree;
C) color with web page element Chinese words and link changes to user specified color;
D) be that control in the webpage is selected background color.
Wherein, described step c) is that color with the web page element Chinese words is revised as bottle green or dark golden.
Wherein, the control in the webpage comprises button in the webpage, combobox, singly selects multiselect frame and input frame in the described step d).
Wherein, described step d) is that the control selection background color in the webpage is to select close with background but bigger with text color contrast inverse.
The present invention has tangible advantage and good effect, the method that adopts a kind of text message of the present invention and multimedia file to send simultaneously, webpage or the local fileinfo of choosing are classified, and then share content of multimedia in the mode of What You See Is What You Get, realized in time sharing of content of multimedia in the webpage.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the power-saving method process flow diagram according to handheld terminal browser of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 1 is the power-saving method process flow diagram according to handheld terminal browser of the present invention, below with reference to Fig. 1, is described in detail as follows to the power-saving method of handheld terminal browser of the present invention:
At first, in step 101, the user imports web page address (URL) or local file name, sends web-page requests to browser, and the handheld terminal browser receives user's web-page requests by using interface (shell);
In step 102, the use interface (shell) of handheld terminal browser sends to input and output (I/O) assembly with user's web-page requests, and obtains the source data of webpage from in-out box, will obtain the source data of webpage then and submit to the HTML analyzer.The source data of preferred this webpage is the HTML source data.
In step 103, browser renders engine (Web Kit) is unified to be provided with to the color of webpage, ignores any color of webpage appointment, comprises default white, and the background color of unified webpage is set to black background.
In step 104, webpage typesetting engine (web core) is resolved webpage, generates to play up tree (RenderTree).
In step 105, webpage typesetting engine (web core) changes to user specified color with the color attribute of web page elements such as the literal of webpage, link, and the picture background color in the webpage is not made an amendment, preferably, font color dark green for selecting (Lime Green/0xFF32CD32), dark gold (Dark Goldenrod/0xFFB8860B) etc.
In step 106, for the button in the webpage, combobox, singly select the background color of controls such as check box and input frame,, select close with background but bigger inverse with the text color contrast according to the background colour of the text color and the page.
In step 107, when page elements when the runtime is dynamically changed by scripts such as JavaScript, according to above step dynamic refresh coherent element, webpage is carried out gradually playing up and showing.
The present invention is directed to the browser on the handheld mobile device, by browser renders engine Web Kit, the selection of black background and multiple classical font color is provided when browsing page, the power consumption of handheld terminal can be effectively reduced, the eye fatigue problem that long-time reading white background webpage causes in dark surrounds can be solved again.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although the present invention is had been described in detail with reference to previous embodiment, for a person skilled in the art, it still can be made amendment to the technical scheme of being put down in writing among aforementioned each embodiment, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the power-saving method of a handheld terminal browser, this method may further comprise the steps:
1) receives user's web-page requests, obtain the webpage source data;
2) change webpage background color and web page element color, the background color of selection control;
3) webpage is carried out gradually playing up and showing.
2. the power-saving method of handheld terminal browser according to claim 1 is characterized in that, it is that the handheld terminal browser receives the web page address of user's input by using the interface that described step 1) receives user's web-page requests.
3. the power-saving method of handheld terminal browser according to claim 1 is characterized in that, it is the handheld terminal browser obtains webpage from in-out box source data that described step 1) is obtained the webpage source data.
4. the power-saving method of handheld terminal browser according to claim 1 is characterized in that, the webpage source data in the described step 1) is the source data of HTML or WML SGML.
5. the power-saving method of handheld terminal browser according to claim 1 is characterized in that, described step 2) further may further comprise the steps:
A) background color of webpage is set to black background;
B) webpage is resolved, generate and play up tree;
C) color with web page element Chinese words and link changes to user specified color;
D) be that control in the webpage is selected background color.
6. the power-saving method of handheld terminal browser according to claim 5 is characterized in that, described step c) is that the color with the web page element Chinese words is revised as bottle green or dark golden.
7. the power-saving method of handheld terminal browser according to claim 5 is characterized in that, the control in the described step d) in the webpage comprises button, combobox, singly selects multiselect frame and input frame.
8. the power-saving method of handheld terminal browser according to claim 5 is characterized in that, described step d) is that the control selection background color in the webpage is to select close with background but bigger with text color contrast inverse.
9. the power-saving method of handheld terminal browser according to claim 1 is characterized in that, described step 3) is when a certain element runtime of the page is changed, and this element is changed to user specified color again.
CN2010105665696A 2010-11-25 2010-11-25 Electricity-saving method of handheld terminal browser Pending CN102004784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105665696A CN102004784A (en) 2010-11-25 2010-11-25 Electricity-saving method of handheld terminal browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105665696A CN102004784A (en) 2010-11-25 2010-11-25 Electricity-saving method of handheld terminal browser

Publications (1)

Publication Number Publication Date
CN102004784A true CN102004784A (en) 2011-04-06

Family

ID=43812146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105665696A Pending CN102004784A (en) 2010-11-25 2010-11-25 Electricity-saving method of handheld terminal browser

Country Status (1)

Country Link
CN (1) CN102004784A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server
CN102955803A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Website display method and browser
CN103176602A (en) * 2011-12-23 2013-06-26 Qnx软件系统有限公司 Method of presenting digital data on an electronic device operating under different environmental conditions
WO2013185565A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Method and device for browsing web under weak light with mobile terminal browser
CN103577171A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Webpage content displaying method and mobile terminal
CN103970252A (en) * 2013-01-31 2014-08-06 腾讯科技(深圳)有限公司 Method and system for saving power of terminal equipment through browser
CN104268152A (en) * 2014-09-01 2015-01-07 可牛网络技术(北京)有限公司 Method and device for displaying webpage
WO2015070676A1 (en) * 2013-11-12 2015-05-21 中兴通讯股份有限公司 Terminal display control method and terminal
CN104765599A (en) * 2015-03-13 2015-07-08 深圳市金立通信设备有限公司 Terminal
CN104765600A (en) * 2015-03-13 2015-07-08 深圳市金立通信设备有限公司 Page processing method
CN105760374A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Online page color matching method and device
CN105786329A (en) * 2015-12-25 2016-07-20 深圳市万普拉斯科技有限公司 Webpage button rendering method and device
CN103761079B (en) * 2013-12-12 2017-01-18 北京奇虎科技有限公司 Method and device for automatically graying page
CN106774782A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 Interface display method, device and terminal
WO2017152762A1 (en) * 2016-03-09 2017-09-14 阿里巴巴集团控股有限公司 Interface color adjustment method and apparatus, and webpage color adjustment method and apparatus
CN108292258A (en) * 2015-11-25 2018-07-17 高通股份有限公司 The power estim ation of individual website
CN110837289A (en) * 2019-10-18 2020-02-25 北京三快在线科技有限公司 Power saving method and device applied to OLED screen equipment and electronic equipment
US11217205B2 (en) 2018-07-12 2022-01-04 Samsung Electronics Co., Ltd. Method and apparatus for rendering contents for vision accessibility

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640096A (en) * 2001-04-27 2005-07-13 松下电器产业株式会社 Mobile radio device
CN1694139A (en) * 2005-03-18 2005-11-09 杨帅兵 Plate lighting display technology using cold-cathode tube-luminous LED
CN1985233A (en) * 2005-06-20 2007-06-20 日立公共系统工程株式会社 Client terminal
CN101853162A (en) * 2010-06-01 2010-10-06 电子科技大学 Method for rendering editable webpage three-dimensional (Web3D) geometric modeling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1640096A (en) * 2001-04-27 2005-07-13 松下电器产业株式会社 Mobile radio device
CN1694139A (en) * 2005-03-18 2005-11-09 杨帅兵 Plate lighting display technology using cold-cathode tube-luminous LED
CN1985233A (en) * 2005-06-20 2007-06-20 日立公共系统工程株式会社 Client terminal
CN101853162A (en) * 2010-06-01 2010-10-06 电子科技大学 Method for rendering editable webpage three-dimensional (Web3D) geometric modeling

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955803A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Website display method and browser
CN102955803B (en) * 2011-08-26 2016-04-20 腾讯科技(深圳)有限公司 A kind of website display method and browser
CN102508861B (en) * 2011-09-30 2015-09-09 华为技术有限公司 A kind of webpage color setting method, web browser and web page server
WO2012149855A1 (en) * 2011-09-30 2012-11-08 华为技术有限公司 Webpage colour setting method, web browser and webpage server
CN102508861A (en) * 2011-09-30 2012-06-20 华为技术有限公司 Webpage color setting method, webpage browser and webpage server
CN103176602A (en) * 2011-12-23 2013-06-26 Qnx软件系统有限公司 Method of presenting digital data on an electronic device operating under different environmental conditions
WO2013185565A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Method and device for browsing web under weak light with mobile terminal browser
CN103488646A (en) * 2012-06-13 2014-01-01 腾讯科技(深圳)有限公司 Method and device for browsing webpages with mobile terminal browser under weak light source
CN103488646B (en) * 2012-06-13 2017-11-14 腾讯科技(深圳)有限公司 The method and device of webpage is browsed under a kind of browser of mobile terminal weak light source
RU2597468C2 (en) * 2012-06-13 2016-09-10 Тенсент Текнолоджи (Шеньчжень) Компани Лимитед Method and device for browsing web pages at weak illumination by browser for mobile terminal
CN103577171A (en) * 2012-07-30 2014-02-12 腾讯科技(深圳)有限公司 Webpage content displaying method and mobile terminal
CN103577171B (en) * 2012-07-30 2018-11-13 腾讯科技(深圳)有限公司 A kind of method and mobile terminal of display web page contents
CN103970252A (en) * 2013-01-31 2014-08-06 腾讯科技(深圳)有限公司 Method and system for saving power of terminal equipment through browser
WO2015070676A1 (en) * 2013-11-12 2015-05-21 中兴通讯股份有限公司 Terminal display control method and terminal
CN103761079B (en) * 2013-12-12 2017-01-18 北京奇虎科技有限公司 Method and device for automatically graying page
CN104268152A (en) * 2014-09-01 2015-01-07 可牛网络技术(北京)有限公司 Method and device for displaying webpage
CN105760374A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Online page color matching method and device
CN104765599A (en) * 2015-03-13 2015-07-08 深圳市金立通信设备有限公司 Terminal
CN104765600A (en) * 2015-03-13 2015-07-08 深圳市金立通信设备有限公司 Page processing method
CN106774782A (en) * 2015-11-24 2017-05-31 中兴通讯股份有限公司 Interface display method, device and terminal
CN108292258A (en) * 2015-11-25 2018-07-17 高通股份有限公司 The power estim ation of individual website
CN105786329A (en) * 2015-12-25 2016-07-20 深圳市万普拉斯科技有限公司 Webpage button rendering method and device
CN107179889A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 Interface color conditioning method, webpage color conditioning method and device
WO2017152762A1 (en) * 2016-03-09 2017-09-14 阿里巴巴集团控股有限公司 Interface color adjustment method and apparatus, and webpage color adjustment method and apparatus
CN107179889B (en) * 2016-03-09 2020-06-16 阿里巴巴集团控股有限公司 Interface color adjusting method, webpage color adjusting method and webpage color adjusting device
US11217205B2 (en) 2018-07-12 2022-01-04 Samsung Electronics Co., Ltd. Method and apparatus for rendering contents for vision accessibility
CN110837289A (en) * 2019-10-18 2020-02-25 北京三快在线科技有限公司 Power saving method and device applied to OLED screen equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN102004784A (en) Electricity-saving method of handheld terminal browser
CN105808056B (en) A kind of Media method and system based on two dimensional code
CN105760546B (en) The automatic generation method and device of internet news abstract
US8745180B2 (en) Method for dynamically adjusting network parameters of a mobile terminal browser and mobile terminal
US20160077814A1 (en) Method and apparatus for generating a web-based user interface
US20140101539A1 (en) Website presenting method and browser
CN106776761A (en) A kind of mobile browser renders the method and device of webpage
CN102662766B (en) Microblog and social networking information synchronizing system and synchronizing method based on Web Element mechanism
CN108322807A (en) A kind of barrage methods of exhibiting and device
CN106933839A (en) A kind of method for page jump and device
CN103067423A (en) Browser kernel adaption method and browser
CN103533038A (en) Remote control system based on HTML(hypertext markup language)5 and remote control method of remote control system
CN102685169B (en) Method and system for preloading large pictures of thumbnails
CN107343099A (en) A kind of mobile terminal data loading method and device
CN103678317B (en) The automatic adaptation method and system of page layout
CN109032496A (en) A kind of change intelligent keyboard key is shown and the method and system of keypad tone
CN101620621A (en) Method and system for segmenting web page
CN102681996B (en) Pre-head method and device
CN105373565B (en) web page processing method and device
CN104113569B (en) A kind of method and open platform server of Dynamic Matching information source
CN103902713A (en) Method and system for automatically adjusting browser color scheme of intelligent mobile terminal
CN106095874A (en) A kind of method and apparatus showing the page
CN103200251A (en) Method, system and device for picture transmission
CN103634376A (en) Embedded thin web server system module based on AJAX (asynchronous JavaScript and XML) and CGI (common gateway interface)
Maddison Evidence submitted to the Select Committee on Economic Affairs, House of Lords, London, for the inquiry into “Aspects of the Economics of Climate Change”

Legal Events

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

Application publication date: 20110406