CN103092977A - Web page browsing method of mobile terminal and mobile terminal - Google Patents

Web page browsing method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN103092977A
CN103092977A CN2013100355466A CN201310035546A CN103092977A CN 103092977 A CN103092977 A CN 103092977A CN 2013100355466 A CN2013100355466 A CN 2013100355466A CN 201310035546 A CN201310035546 A CN 201310035546A CN 103092977 A CN103092977 A CN 103092977A
Authority
CN
China
Prior art keywords
mobile terminal
plug
webpage
unit
web page
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
CN2013100355466A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN2013100355466A priority Critical patent/CN103092977A/en
Publication of CN103092977A publication Critical patent/CN103092977A/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

Abstract

The invention relates to the relative technical field of mobile terminals, in particular to a web page browsing method of a mobile terminal and the mobile terminal. The method comprises the following steps: operational motions to a web page displayed by a screen of the mobile terminal is responded so as to conduct identification to the web page, and the operational motions trigger redrawing operations to the web page; when the web page is identified that a plug-in exists in the web page, the plug-in is hidden, and the redrawing operations are conducted to the web page according to the operational motions; and when redrawing to the web page is finished, the plug-in is displayed. According to the web page browsing method of the mobile terminal and the mobile terminal, the plug-in which consumes the biggest energy is hidden in the process of redrawing of the web page, when the redrawing of the web page is finished, the plug-in is displayed again, and therefore web page drawing speed is accelerated, efficiency of a user-interface thread is improved, and meanwhile experience of the user is improved.

Description

A kind of Web browser method of mobile terminal and mobile terminal
Technical field
The present invention relates to the mobile terminal correlative technology field, particularly relate to a kind of Web browser method and mobile terminal of mobile terminal.
Background technology
Browser on current mobile terminal adopts the webkit kernel mostly, and webpage is resolved typesetting efficient and loading velocity has a distinct increment.Webpage on mobile terminal is usually all more succinct, and typesetting is clear, slip, convergent-divergent that can be very smooth on most of mobile phones.Yet for the webpage of many complexity, such as webpages such as excellent cruel, the Sinas that shows on computers, especially also comprised the webpage of flash, at mobile terminal, for example used just very so tragic that one cannot bear to look at it on mobile phone.No matter be common drag, or fling, no matter be the multiple point touching convergent-divergent, still double-click convergent-divergent, all not fully up to expectations.And the reason of searching to the bottom is oversize the causing of time that Web page rendering one screen once spends, even configuration double-core or four core processors, expressive force is still general.
Summary of the invention
Based on this, be necessary to repaint long technical matters of webpage time for the prior art mobile terminal, a kind of Web browser method and mobile terminal of mobile terminal is provided.
A kind of Web browser method of mobile terminal comprises:
The operational motion of response to the webpage that shows on the screen of described mobile terminal identified webpage, and described operational motion triggers the operation that redraws to webpage;
There is plug-in unit in identifying webpage, hides described plug-in unit, and according to described operational motion, webpage is redrawn operation;
When webpage redraws end, show described plug-in unit.
Further: described operational motion comprises slip webpage or convergent-divergent webpage.
Further: described plug-in unit is the Flash plug-in unit.
Further, described Flash plug-in unit is the video playback plug-in unit.
Further, described mobile terminal adopts Android operating system.
A kind of mobile terminal comprises:
The operational motion respond module is used for responding the operational motion to the webpage that shows on the screen of described mobile terminal, webpage is identified, and described operational motion triggers the operation that redraws to webpage;
Plug-in unit is hidden module, is used for having plug-in unit when identifying webpage, hides described plug-in unit, and according to described operational motion, webpage is redrawn operation;
The plug-in unit display module is used for redrawing end when webpage, shows described plug-in unit.
Further: described operational motion comprises slip webpage or convergent-divergent webpage.
Further: described plug-in unit is the Flash plug-in unit.
Further, described Flash plug-in unit is the video playback plug-in unit.
Further, described mobile terminal adopts Android operating system.
Existing restriction webpage redraws speed, is mainly the drafting of plug-in unit, and particularly the drafting of Flash plug-in unit needs the long time.And the Web browser method of mobile terminal of the present invention and mobile terminal, when redrawing webpage, the plug-in unit of consumption of natural resource maximum is stashed, and after redrawing end, again show again plug-in unit, thereby improved Web page rendering speed, promoted the efficient of user-interface thread, also promoted simultaneously user's experience.
Description of drawings
Fig. 1 is the workflow diagram of the Web browser method of a kind of mobile terminal of the present invention;
Fig. 2 is the construction module figure of a kind of mobile terminal of the present invention.
Embodiment
The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
Be illustrated in figure 1 as the workflow diagram of the Web browser method of a kind of mobile terminal of the present invention, comprise:
Step S101 responds the operational motion to the webpage that shows on the screen of described mobile terminal, webpage is identified, and described operational motion triggers the operation that redraws to webpage;
There is plug-in unit in step S102 in identifying webpage, hide described plug-in unit, and according to described operational motion, webpage is redrawn operation;
Step S103 when webpage redraws end, shows described plug-in unit.
In step S101, described operational motion can have multiple, and those of ordinary skills can test the operational motion that redraws operation of determining to trigger to webpage by limited number of time after reading this patent.Therein in embodiment: described operational motion comprises slip webpage or convergent-divergent webpage.
Slip webpage or convergent-divergent webpage, the capital causes the operation that redraws to webpage, and these two actions are user's actions comparatively commonly used, reduces the web displaying hydraulic performance decline that redraws plug-in unit in these two operations and cause, can well improve the performance of mobile terminal, greatly promote the user and experience.
In step S102, those of ordinary skills can determine the concrete more plug-in unit of consumption processor performance, such as ActiveX plug-in unit, java plug-in etc. after reading this patent.Therein in embodiment: described plug-in unit is the Flash plug-in unit.Preferably, described Flash plug-in unit is the video playback plug-in unit.
The Flash plug-in unit is plug-in unit comparatively commonly used in webpage, and its consumption processor performance is more, and especially for the Flash plug-in unit of displaying video, its consumption is more obvious.Therefore, hide the Flash plug-in unit in webpage redraws, just can well improve the performance of mobile terminal, improve Web page rendering speed, greatly promote the user and experience.
In embodiment, described mobile terminal adopts Android operating system therein.
Be illustrated in figure 2 as the construction module figure of a kind of mobile terminal of the present invention, comprise:
Operational motion respond module 210 is used for responding the operational motion to the webpage that shows on the screen of described mobile terminal, webpage is identified, and described operational motion triggers the operation that redraws to webpage;
Plug-in unit is hidden module 220, is used for having plug-in unit when identifying webpage, hides described plug-in unit, and according to described operational motion, webpage is redrawn operation;
Plug-in unit display module 230 is used for redrawing end when webpage, shows described plug-in unit.
Therein in embodiment: described operational motion comprises slip webpage or convergent-divergent webpage.
Therein in embodiment: described plug-in unit is the Flash plug-in unit.Preferably, described Flash plug-in unit is the video playback plug-in unit.
In embodiment, described mobile terminal adopts Android operating system therein.
As an example, mobile terminal is for adopting the smart mobile phone of Android 2.3 systems.Primary webview has just done the priority that reduces the webcore thread, the processing that the time-out web page contents refreshes in startDrag.Even but processing like this, floating flash can have a strong impact on Web page rendering speed.Therefore, and on this basis:
When system call startDrag, onScaleBegin, doFling or doDoubleTap function being detected, be judged as and need to trigger the operational motion that redraws operation to webpage to webpage, identify webpage this moment;
Have the Flash plug-in unit in identifying webpage, call the hiding function of plug-in unit and hide the Flash plug-in unit, it can be nativeHidePluginsDuringSmoothRotate(that plug-in unit is hidden function), then according to operational motion, webpage is redrawn operation;
When webpage redraws end, call the plug-in unit explicit function and show described plug-in unit, the plug-in unit explicit function can be nativeShowPluginsDuringSmoothRotate().
Primary webview has just done the priority that reduces the webcore thread, the processing that the time-out web page contents refreshes in startDrag.And on this basis, we can also further process the flash plug-in unit, and floating flash can have a strong impact on Web page rendering speed after all.How to accomplish this point, Google provides this function in the code of android2.3 fortunately.Two function nativeShowPluginsDuringSmoothRotate(are arranged) inside webviewCore
And nativeHidePluginsDuringSmoothRotate(), their effect is respectively to show and hiding flash.We can control flash by calling these two methods, and as startDrag or onScaleBegin, perhaps doFling perhaps when doDoubleTap, just hides flash, and in these releases, then show.Can promote greatly like this user and experience, just adopted these means in the project of my department.
Above-described is only some embodiments of the present invention.For the person of ordinary skill of the art, can also make some distortion and improve the protection domain that these all belong to invention under the prerequisite that does not break away from the invention design.

Claims (10)

1. the Web browser method of a mobile terminal, is characterized in that, comprising:
The operational motion of response to the webpage that shows on the screen of described mobile terminal identified webpage, and described operational motion triggers the operation that redraws to webpage;
There is plug-in unit in identifying webpage, hides described plug-in unit, and according to described operational motion, webpage is redrawn operation;
When webpage redraws end, show described plug-in unit.
2. the Web browser method of mobile terminal according to claim 1, it is characterized in that: described operational motion comprises slip webpage or convergent-divergent webpage.
3. the Web browser method of mobile terminal according to claim 1, it is characterized in that: described plug-in unit is the Flash plug-in unit.
4. the Web browser method of mobile terminal according to claim 3, it is characterized in that: described Flash plug-in unit is the video playback plug-in unit.
5. the Web browser method of mobile terminal according to claim 1, is characterized in that, described mobile terminal adopts Android operating system.
6. a mobile terminal, is characterized in that, comprising:
The operational motion respond module is used for responding the operational motion to the webpage that shows on the screen of described mobile terminal, webpage is identified, and described operational motion triggers the operation that redraws to webpage;
Plug-in unit is hidden module, is used for having plug-in unit when identifying webpage, hides described plug-in unit, and according to described operational motion, webpage is redrawn operation;
The plug-in unit display module is used for redrawing end when webpage, shows described plug-in unit.
7. mobile terminal according to claim 6, it is characterized in that: described operational motion comprises slip webpage or convergent-divergent webpage.
8. mobile terminal according to claim 6, it is characterized in that: described plug-in unit is the Flash plug-in unit.
9. mobile terminal according to claim 6, is characterized in that, described mobile terminal adopts Android operating system.
10. mobile terminal according to claim 6, is characterized in that, described Flash plug-in unit is the video playback plug-in unit.
CN2013100355466A 2013-01-30 2013-01-30 Web page browsing method of mobile terminal and mobile terminal Pending CN103092977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100355466A CN103092977A (en) 2013-01-30 2013-01-30 Web page browsing method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100355466A CN103092977A (en) 2013-01-30 2013-01-30 Web page browsing method of mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
CN103092977A true CN103092977A (en) 2013-05-08

Family

ID=48205542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100355466A Pending CN103092977A (en) 2013-01-30 2013-01-30 Web page browsing method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN103092977A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078966A (en) * 2006-09-20 2007-11-28 腾讯科技(深圳)有限公司 Web page unit dissolving device and method
CN101873325A (en) * 2010-06-13 2010-10-27 优视科技有限公司 Flash supporting and processing method, system, mobile terminal and transfer server
CN102314502A (en) * 2011-09-01 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for displaying webpage main content on mobile terminal
US8250228B1 (en) * 2011-09-27 2012-08-21 Google Inc. Pausing or terminating video portion while continuing to run audio portion of plug-in on browser

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101078966A (en) * 2006-09-20 2007-11-28 腾讯科技(深圳)有限公司 Web page unit dissolving device and method
CN101873325A (en) * 2010-06-13 2010-10-27 优视科技有限公司 Flash supporting and processing method, system, mobile terminal and transfer server
CN102314502A (en) * 2011-09-01 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for displaying webpage main content on mobile terminal
US8250228B1 (en) * 2011-09-27 2012-08-21 Google Inc. Pausing or terminating video portion while continuing to run audio portion of plug-in on browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LITEFEEL: "Flash Show And Hide Box", 《HTTP://WWW.LITEFEEL.COM/FLASH-SHOW-AND-HIDE-BOX/》, 30 October 2011 (2011-10-30) *

Similar Documents

Publication Publication Date Title
KR102309175B1 (en) Scrapped Information Providing Method and Apparatus
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US10222974B2 (en) Method and apparatus for providing quick access to device functionality
KR102436987B1 (en) Method and terminal device for extracting web page content
CN102799382A (en) Control method for system bar of user equipment, and user equipment
RU2016106288A (en) METHOD AND DEVICE FOR PROVIDING USER GRAPHIC INTERFACE
CN103425416A (en) Display control method and device used for portable device
CN104331474A (en) Page processing method and device
CN102880415A (en) Multi-task switching method and terminal
CN103390159A (en) Method and device for converting screen character into voice
CN106527888A (en) Screen-sliding page searching method and device
JP2015507805A5 (en)
CN103593132A (en) Touch device and gesture recognition method
JP2022529869A (en) Human-computer interaction control methods, devices, systems, and electronic devices
CN104216646A (en) Method and device for creating application program based on gesture
US20170139584A1 (en) User account switching interface
CN106843559B (en) User instruction identification and processing method and device
CN103377228A (en) Page content presenting method and device for browser
US20180322605A1 (en) Asynchronous ui framework
CN105892799A (en) Terminal interaction operation method and device
JP6710216B2 (en) Method and apparatus for providing security information of user equipment
US20140250251A1 (en) Automatically and transparently preserving testing state across sessions
CN105630893B (en) A kind of display methods and device of group picture title
CN106197394A (en) Air navigation aid and device
CN104407763A (en) Content input method and system

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: 20130508