CN104866302A - Webpage rendering method and device - Google Patents

Webpage rendering method and device Download PDF

Info

Publication number
CN104866302A
CN104866302A CN201510163289.3A CN201510163289A CN104866302A CN 104866302 A CN104866302 A CN 104866302A CN 201510163289 A CN201510163289 A CN 201510163289A CN 104866302 A CN104866302 A CN 104866302A
Authority
CN
China
Prior art keywords
webpage
event
web animation
current display
played
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
CN201510163289.3A
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.)
Millet Communication Technology Co Ltd
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510163289.3A priority Critical patent/CN104866302A/en
Publication of CN104866302A publication Critical patent/CN104866302A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a webpage rendering method and device and belongs to the technical field of terminals. The webpage rendering method comprises the following steps: monitoring a scrolling event of a terminal screen; if the scrolling event of the terminal screen is monitored, suspending rendering of all webpage animations in the present displayed webpage; if termination of the scrolling event is monitored, rendering of all webpage animations in the present displayed webpage is recovered. As the scrolling event of the terminal screen is monitored, rendering of all webpage animations in the present displayed webpage is suspended when the scrolling even of the terminal screen is monitored, and rendering of all the webpage animations in the present displayed webpage is recovered when termination of the scrolling event is monitored, the webpage rendering efficiency is improved and the system resources are saved.

Description

The method that webpage is played up and device
Technical field
The disclosure relates to field of terminal technology, particularly a kind of method played up of webpage and device.
Background technology
Along with the development of terminal technology and internet, user can browse webpage anywhere or anytime by the browser in terminal.
Have various element in webpage, wherein web animation is must one of obligato element in current webpage.User is carrying out carrying out rolling operation in web page browsing process, and again can play up the web animation in webpage when rolling operation, the frame rate of webpage can be caused to decline and cause the decline of playing up performance, waste the resource of central processing unit.
Summary of the invention
In order to solve the problem of correlation technique, disclosure embodiment provides a kind of method and device that webpage plays up.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of method providing webpage to play up, comprising:
Monitor the rolling event for terminal screen;
If listen to the rolling event for terminal screen, then suspend each web animation played up in the webpage of current display;
If listen to described rolling event to terminate, then recover each web animation played up in the webpage of current display.
Optionally, described monitoring, for the rolling event of terminal screen, comprising:
If listen to the touch-control event for terminal screen, then determine whether described touch-control event is scroll or fling event;
If described touch-control event is scroll or fling event, then determine to listen to the rolling event for terminal screen.
Optionally, described time-out plays up each web animation in the webpage of current display, comprising:
Call the system interface of specifying, control the tentative operation of timer of each web animation in the webpage of current display, to suspend each web animation in the webpage playing up described current display;
Wherein, the parameter in described system interface of specifying is the first parameter.
Optionally, each web animation in the webpage of current display is played up in described recovery, comprising:
Call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in described system interface of specifying is the second parameter.
Optionally, described web animation comprises: graphic interchange format GIF web animation and/or script Javascript web animation.
According to the second aspect of disclosure embodiment, the device providing a kind of webpage to play up, comprising:
Monitor module, for monitoring the rolling event for terminal screen;
Suspending rendering module, for when listening to the rolling event for terminal screen, suspending each web animation played up in the webpage of current display;
Recover rendering module, at the end of listening to described rolling event, recover each web animation played up in the webpage of current display.
Optionally, described monitoring module, comprising:
First determining unit, for when listening to the touch-control event for terminal screen, determines whether described touch-control event is scroll or fling event;
Second determining unit, for being scroll or fling event in described touch-control event is, determines to listen to the rolling event for terminal screen.
Optionally, described time-out rendering module is used for:
Call the system interface of specifying, control the tentative operation of timer of each web animation in the webpage of current display, to suspend each web animation in the webpage playing up described current display;
Wherein, the parameter in described system interface of specifying is the first parameter.
Optionally, described recovery rendering module is used for:
Call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in described system interface of specifying is the second parameter.
Optionally, described web animation comprises: graphic interchange format GIF web animation and/or script Javascript web animation.
According to the third aspect of disclosure embodiment, the device providing a kind of webpage to play up, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Monitor the rolling event for terminal screen;
If listen to the rolling event for terminal screen, then suspend each web animation played up in the webpage of current display;
If listen to described rolling event to terminate, then recover each web animation played up in the webpage of current display.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By monitoring the rolling event for terminal screen, and when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display, at the end of listening to rolling event, recover each web animation played up in the webpage of current display.Improve the efficiency that webpage is played up, save system resource.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the method that a kind of webpage according to an exemplary embodiment is played up;
Fig. 2 is the process flow diagram of the method that a kind of webpage according to an exemplary embodiment is played up;
Fig. 3 is the block diagram of the device that a kind of webpage according to an exemplary embodiment is played up;
Fig. 4 is the block diagram choosing module in the device played up of a kind of webpage according to an exemplary embodiment;
Fig. 5 is the block diagram (general structure of mobile terminal) of the device that a kind of webpage according to an exemplary embodiment is played up.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure embodiment is described in further detail.
The disclosure one exemplary embodiment provides a kind of method that webpage is played up, and this method embodiment is applied in terminal, and see Fig. 1, method flow comprises:
In a step 101, the rolling event for terminal screen is monitored;
In a step 102, if listen to the rolling event for terminal screen, then suspend each web animation played up in the webpage of current display;
In step 103, terminate if listen to rolling event, then recover each web animation played up in the webpage of current display.
Disclosure embodiment is by monitoring the rolling event for terminal screen, and when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display, at the end of listening to rolling event, recover each web animation played up in the webpage of current display.Improve the efficiency that webpage is played up, save system resource.
Another exemplary embodiment of the disclosure provides a kind of method that webpage is played up, and this method embodiment is applied in terminal, see Fig. 2.
In step 201, the rolling event for terminal screen is monitored.
Wherein, this step can start to perform after browser application startup in the terminal.
Optionally, in the application of other non-browsers, the function of browser can be realized by the browser component in calling system, can this step be performed during browser component therefore in other non-browser application call systems, carry out the operation of monitoring rolling event.
Disclosure embodiment is described for Android operation system, and in Android operation system, all event of chromium browser engine passes to browser kernel by the view system of Android.Therefore when user has carried out touch control operation in terminal screen, system can trigger corresponding touch event, i.e. touch-control event, and broadcasts this touch-control event.Wherein, touch-control manipulation can include but not limited to: clicking operation, rolling operation; Accordingly, touch-control event can include but not limited to: click event, rolling event.
User, when browsing webpage and carrying out rolling operation, generally can not be concerned about the content in webpage, and after stopping rolling operation, just can pay close attention to the content in webpage.Therefore, in the embodiment of the present invention after listening to rolling event, then the web animation played up in webpage can be suspended.
Wherein, the process monitoring the operation of the rolling event for terminal screen in step 201 can be realized by following steps:
In step 2011, if listen to the touch-control event for terminal screen, then determine whether touch-control event is scroll or fling event.
Wherein, rolling event can comprise two types: scroll event and fling event.
Scroll event and fling event are trigger after user performs following operation in terminal screen: event Touch Screen being detected; The event of slide detected; The event frameed out after Touch Screen being detected.
Being distinguished as between scroll event and fling event: in second process and slide process, the acceleration of user's slide is less than certain threshold value, be then scroll event; If the acceleration of user's slide is more than or equal to certain threshold value, it is fling event.That is, fling event is that user's slide is very fast, and after user's finger frames out, event of rolling in screen continues to maintain, and with the decay of certain acceleration until roll and stop.
Accordingly, when the finger that scroll event then shows as user frames out after Touch Screen, detect that rolling event terminates; And after the finger that fling event signature is user frames out after Touch Screen, the rolling event in screen does not terminate, the page in screen also rolls in continuation, and now rolling can be more and more slower until after rolling and stopping, detecting that rolling event terminates.
In step 2012, if touch-control event is scroll or fling event, then determine to listen to the rolling event for terminal screen.
In step 202., if listen to the rolling event for terminal screen, then call the system interface of specifying, control that the timer of each web animation in the webpage of current display is tentative to be run, with suspend play up current display webpage in each web animation;
Wherein, the parameter in the system interface of specifying is the first parameter.
Wherein, the system interface of specifying can be: ContentViewStatics.setWebKitSharedTimersSuspended ().Wherein, the first parameter is true.Namely ContentViewStatics.setWebKitSharedTimersSuspended (true) is called to realize timer switch corresponding for the webpage of current display to suspend; in the webpage of corresponding current display, the timer of each web animation is all suspended; and then browser kernel then can suspend playing up, to improve the frame rate browsing webpage of each web animation of meeting.
In addition, web animation can include but not limited to following two kinds: GIF (Graphics InterchangeFormat, graphic interchange format) web animation and/or script Javascript web animation.
Wherein, GIF web animation is GIF picture, and this GIF picture is dynamic picture, and this dynamic picture is made up of multiple static images, shows in order, to realize the effect of animation in multiple static images with the time interval of setting; Javascript web animation is, by script language code, dynamic picture or static images are realized the animation effects such as rolling in webpage, such as: a static images is rolled on the right side of webpage by the left of webpage, then by right side the animation effect on the left of rolling back.
In step 203, terminate if listen to rolling event, then call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in the system interface of specifying is the second parameter.
Wherein, the system interface of specifying can be: ContentViewStatics.setWebKitSharedTimersSuspended ().Wherein, the second parameter is false.Namely ContentViewStatics.setWebKitSharedTimersSuspended (false) is called to realize timer switch corresponding for the webpage of current display to recover, in the webpage of corresponding current display, the timer of each web animation is all resumed work, and then browser kernel then can recover playing up each web animation.
For scroll event and fling event, be all after detecting that rolling event terminates, recover each web animation played up in the webpage of current display.And not frame out after Touch Screen being detected event time, recover each web animation of playing up in the webpage of current display.
Disclosure embodiment is by monitoring the rolling event for terminal screen, and when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display, at the end of listening to rolling event, recover each web animation played up in the webpage of current display.Improve the efficiency that webpage is played up, save system resource.
The method that the webpage provided corresponding to above-mentioned exemplary embodiment is played up, another exemplary embodiment of the disclosure provides the device that a kind of webpage is played up, and see Fig. 3, this device comprises:
Monitor module 301, be configured to monitor the rolling event for terminal screen;
Suspending rendering module 302, being configured to when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display;
Recover rendering module 303, be configured at the end of listening to rolling event, recover each web animation played up in the webpage of current display.
Wherein, as shown in Figure 4, monitor module 301, comprising:
First determining unit 3011, is configured to when listening to the touch-control event for terminal screen, determines whether touch-control event is scroll or fling event;
Second determining unit 3012, to be configured in touch-control event be scroll or fling event is determine to listen to the rolling event for terminal screen.
Wherein, suspend rendering module 302 for:
Call the system interface of specifying, control that the timer of each web animation in the webpage of current display is tentative to be run, with suspend play up current display webpage in each web animation;
Wherein, the parameter in the system interface of specifying is the first parameter.
Wherein, recover rendering module 303 for:
Call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in the system interface of specifying is the second parameter.
Wherein, web animation comprises: graphic interchange format GIF web animation and/or script Javascript web animation.
Disclosure embodiment is by monitoring the rolling event for terminal screen, and when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display, at the end of listening to rolling event, recover each web animation played up in the webpage of current display.Improve the efficiency that webpage is played up, save system resource.
The device that the webpage provided corresponding to above-mentioned exemplary embodiment is played up, another exemplary embodiment of the disclosure provides the device 500 that a kind of webpage is played up, see Fig. 5.Such as, device 500 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 500 can comprise following one or more assembly: processing components 502, storer 504, electric power assembly 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of I/O (I/O), sensor module 515, and communications component 516.
The integrated operation of the usual control device 500 of processing components 502, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 502 can comprise one or more processor 520 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 502 can comprise one or more module, and what be convenient between processing components 502 and other assemblies is mutual.Such as, processing components 502 can comprise multi-media module, mutual with what facilitate between multimedia groupware 508 and processing components 502.
Storer 504 is configured to store various types of data to be supported in the operation of equipment 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Storer 504 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 506 is device 500 provide electric power.Electric power assembly 506 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 508 is included in the screen providing an output interface between device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 508 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 510 is configured to export and/or input audio signal.Such as, audio-frequency assembly 510 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 504 further or be sent via communications component 516.In certain embodiments, audio-frequency assembly 510 also comprises a loudspeaker, for output audio signal.
I/O interface 512 is for providing interface between processing components 502 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 515 comprises one or more sensor, for providing the state estimation of various aspects for device 500.Such as, sensor module 515 can detect the opening/closing state of equipment 500, the relative positioning of assembly, such as assembly is display and the keypad of device 500, the position of all right pick-up unit 500 of sensor module 515 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the temperature variation of device 500 orientation or acceleration/deceleration and device 500.Sensor module 515 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 515 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 515 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 516 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 516 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 516 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 504 of instruction, above-mentioned instruction can perform said method by the processor 520 of device 500.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Disclosure embodiment is by monitoring the rolling event for terminal screen, and when listening to the rolling event for terminal screen, suspend each web animation played up in the webpage of current display, at the end of listening to rolling event, recover each web animation played up in the webpage of current display.Improve the efficiency that webpage is played up, save system resource.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. the method played up of webpage, it is characterized in that, described method comprises:
Monitor the rolling event for terminal screen;
If listen to the rolling event for terminal screen, then suspend each web animation played up in the webpage of current display;
If listen to described rolling event to terminate, then recover each web animation played up in the webpage of current display.
2. method according to claim 1, is characterized in that, described monitoring, for the rolling event of terminal screen, comprising:
If listen to the touch-control event for terminal screen, then determine whether described touch-control event is scroll or fling event;
If described touch-control event is scroll or fling event, then determine to listen to the rolling event for terminal screen.
3. method according to claim 1, is characterized in that, described time-out plays up each web animation in the webpage of current display, comprising:
Call the system interface of specifying, control the tentative operation of timer of each web animation in the webpage of current display, to suspend each web animation in the webpage playing up described current display;
Wherein, the parameter in described system interface of specifying is the first parameter.
4. method according to claim 1, is characterized in that, each web animation in the webpage of current display is played up in described recovery, comprising:
Call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in described system interface of specifying is the second parameter.
5. according to the method in claim 1-4 described in Arbitrary Term, it is characterized in that, described web animation comprises: graphic interchange format GIF web animation and/or script Javascript web animation.
6. the device played up of webpage, it is characterized in that, described device comprises:
Monitor module, for monitoring the rolling event for terminal screen;
Suspending rendering module, for when listening to the rolling event for terminal screen, suspending each web animation played up in the webpage of current display;
Recover rendering module, at the end of listening to described rolling event, recover each web animation played up in the webpage of current display.
7. device according to claim 6, is characterized in that, described monitoring module, comprising:
First determining unit, for when listening to the touch-control event for terminal screen, determines whether described touch-control event is scroll or fling event;
Second determining unit, for being scroll or fling event in described touch-control event is, determines to listen to the rolling event for terminal screen.
8. device according to claim 6, is characterized in that, described time-out rendering module is used for:
Call the system interface of specifying, control the tentative operation of timer of each web animation in the webpage of current display, to suspend each web animation in the webpage playing up described current display;
Wherein, the parameter in described system interface of specifying is the first parameter.
9. device according to claim 6, is characterized in that, described recovery rendering module is used for:
Call the system interface of specifying, the timer controlling each web animation in the webpage of current display resumes operation, to recover each web animation played up in the webpage of current display;
Wherein, the parameter in described system interface of specifying is the second parameter.
10. according to the device in claim 6-9 described in Arbitrary Term, it is characterized in that, described web animation comprises: graphic interchange format GIF web animation and/or script Javascript web animation.
The device that 11. 1 kinds of webpages are played up, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Monitor the rolling event for terminal screen;
If listen to the rolling event for terminal screen, then suspend each web animation played up in the webpage of current display;
If listen to described rolling event to terminate, then recover each web animation played up in the webpage of current display.
CN201510163289.3A 2015-04-08 2015-04-08 Webpage rendering method and device Pending CN104866302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510163289.3A CN104866302A (en) 2015-04-08 2015-04-08 Webpage rendering method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510163289.3A CN104866302A (en) 2015-04-08 2015-04-08 Webpage rendering method and device

Publications (1)

Publication Number Publication Date
CN104866302A true CN104866302A (en) 2015-08-26

Family

ID=53912153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510163289.3A Pending CN104866302A (en) 2015-04-08 2015-04-08 Webpage rendering method and device

Country Status (1)

Country Link
CN (1) CN104866302A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677314A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Processing method and apparatus of scroll events, and device
CN105894558A (en) * 2016-04-22 2016-08-24 北京小米移动软件有限公司 GIF image rendering method and apparatus
CN107229642A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 The page resource of target pages is shown, page resource loading method and device
CN110990730A (en) * 2018-09-29 2020-04-10 北京字节跳动网络技术有限公司 Webpage operation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030160830A1 (en) * 2002-02-22 2003-08-28 Degross Lee M. Pop-up edictionary
CN101437080A (en) * 2008-12-12 2009-05-20 上海闻泰电子科技有限公司 Method for implementing cartoon in mobile phone
CN101980154A (en) * 2010-11-02 2011-02-23 深圳市融创天下科技发展有限公司 Method and system for creating and drawing interface control tree and mobile terminal
CN103677491A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for rendering website

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030160830A1 (en) * 2002-02-22 2003-08-28 Degross Lee M. Pop-up edictionary
CN101437080A (en) * 2008-12-12 2009-05-20 上海闻泰电子科技有限公司 Method for implementing cartoon in mobile phone
CN101980154A (en) * 2010-11-02 2011-02-23 深圳市融创天下科技发展有限公司 Method and system for creating and drawing interface control tree and mobile terminal
CN103677491A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for rendering website

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WSB200514: "【ios开发-55】图片轮播案例:scrollView的分页、滚动条、利用代理控制定时器和Page Control以及多线程问题", 《HTTP://M.BLOG.CSDN.NET/WEISUBAO/ARTICLE/DETAILS/40212809》 *
赵小厦 等: "基于WebKit的一种渲染改进方法", 《计算机应用与软件》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677314A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Processing method and apparatus of scroll events, and device
CN105677314B (en) * 2015-12-24 2019-06-21 小米科技有限责任公司 Processing method, device and the equipment of rolling event
CN107229642A (en) * 2016-03-24 2017-10-03 阿里巴巴集团控股有限公司 The page resource of target pages is shown, page resource loading method and device
CN105894558A (en) * 2016-04-22 2016-08-24 北京小米移动软件有限公司 GIF image rendering method and apparatus
CN110990730A (en) * 2018-09-29 2020-04-10 北京字节跳动网络技术有限公司 Webpage operation method and device, electronic equipment and storage medium
CN110990730B (en) * 2018-09-29 2024-02-20 北京字节跳动网络技术有限公司 Webpage operation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107544810B (en) Method and device for controlling application program
CN104618218B (en) Message prompt method and device
CN104238875A (en) Application corner mark addition method and device
CN104598111A (en) Display mode switching method and display mode switching device
CN104881104A (en) Intelligent equipment, intelligent equipment performance improvement method and intelligent equipment performance improvement device
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN105786507B (en) Display interface switching method and device
CN105426086A (en) Display processing method and device of searching functional block in page
CN104636106A (en) Picture displaying method and device and terminal device
CN104238912A (en) Application control method and application control device
CN104731688A (en) Method and device for prompting reading schedule
CN108334352A (en) Notification message processing method, device, electronic equipment and storage medium
CN104778405A (en) Method and device for blocking advertisements
CN104778226A (en) Webpage content item shielding method and webpage content item shielding device
CN113382270B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN104811821B (en) The method and device of screen frame per second is painted in adjustment
CN105404438A (en) Background fuzzy method and apparatus and terminal device
CN104407924A (en) Method and device for optimizing internal memory
CN106528735A (en) Method and device for controlling browser to play media resources
CN104216973A (en) Data search method and data search device
CN104866302A (en) Webpage rendering method and device
CN105677314A (en) Processing method and apparatus of scroll events, and device
CN104572875A (en) Popularization information putting effectiveness determining method and device
CN104536787A (en) Resource preloading method and device
CN105468281A (en) Setup interface display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150929

Address after: 100085, Haidian District, Beijing Qinghe Street No. 68, Huarun colorful city shopping center two, 9 layers

Applicant after: Millet Communication Technology Co Ltd

Address before: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant before: Xiaomi Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication

Application publication date: 20150826

RJ01 Rejection of invention patent application after publication