CN105630784A - Webpage loading method, device and terminal - Google Patents
Webpage loading method, device and terminal Download PDFInfo
- Publication number
- CN105630784A CN105630784A CN201410583748.9A CN201410583748A CN105630784A CN 105630784 A CN105630784 A CN 105630784A CN 201410583748 A CN201410583748 A CN 201410583748A CN 105630784 A CN105630784 A CN 105630784A
- Authority
- CN
- China
- Prior art keywords
- web data
- monitoring
- predetermined value
- value amount
- receiving
- 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
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a webpage loading method, device and terminal. The method comprises the following steps: monitoring received webpage data, after monitoring that the received webpage data reach a preset amount, displaying the received webpage data, and otherwise, blacking the screen. Namely, the webpage loading method disclosed by the invention is used for monitoring the received webpage data in real time, displaying the received webpage data only when the received webpage data reach the preset amount, and blacking the screen when the received webpage data do not reach the preset amount, so that the problem of electricity waste caused by multi-time point-by-point loading and frequent refreshing of the terminal is avoided.
Description
Technical field
The present invention relates to field of mobile communication, particularly relate to method, device and terminal that a kind of webpage loads.
Background technology
Current intelligent terminal is when browse displays webpage, it is all generally that loading limit, limit shows, but this pattern is not good at network signal or when network connection obstruction, terminal there will be repeatedly pointwise and loads and frequent brush news, thus causing the loss of terminal power.
Summary of the invention
The invention provides method, device and terminal that a kind of webpage loads, in order to solve that prior art is not good at network signal or time network connects and block, due to the problem that the repeatedly pointwise of terminal loads and frequently refreshes and cause electricity to waste.
One aspect of the present invention provides a kind of method that webpage loads, and the method includes:
The web data that receives of monitoring, the web data received when monitoring displays receiving web data, otherwise secretly shields after reaching predetermined value amount.
Preferably, the web data that described monitoring receives, after the web data that receives of monitoring reaches predetermined value amount, display receiving web data, otherwise the step of dark screen specifically includes:
The web data that monitoring receives, after the web data that receives in predetermined interval of monitoring reaches predetermined value amount, display receiving web data, when the web data received in described predetermined interval is not reaching to predetermined value amount, secretly shield.
Preferably, described interval is 10-100ms.
Preferably, described predetermined value amount is the 20%-100% of whole web data flow.
Preferably, the method also includes: exceed the default maximum reception time when the reception time receiving web data, and when being not received by the web data of predetermined value amount, stops web data and receive.
Another aspect of the present invention additionally provides the device that a kind of webpage loads, and this device includes:
Monitoring means, for monitoring the web data received;
Processing unit, the web data for receiving when the monitoring of described monitoring means displays receiving web data, otherwise secretly shields after reaching predetermined value amount.
Preferably, described processing unit farther includes: judge module, display module and dark panel module;
Described judge module, for judging whether the web data that the monitoring of described monitoring means receives in predetermined interval reaches predetermined value amount, if it is, trigger described display module, otherwise triggers described dark panel module;
Described display module, displays for the web data that described monitoring means is monitored;
Described dark panel module, is used for making screen secretly shield.
Preferably, described predetermined value amount is the 20%-100% of whole web data flow.
Preferably, this device also includes:
Stop receiving unit, between when 330 receiving, exceed the default maximum reception time, and when being not received by the web data of predetermined value amount, stop web data and receive.
Further aspect of the present invention additionally provides a kind of terminal, and this terminal includes any one described device above-mentioned.
The present invention has the beneficial effect that:
The present invention is by monitoring the web data received in real time, and only after the web data received reaches predetermined value amount, just show receiving web data, when being not reaching to predetermined value amount, secretly shield, thus avoiding the problem owing to terminal repeatedly pointwise loads and frequently refreshes and cause electricity to waste.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding. Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention. And in whole accompanying drawing, it is denoted by the same reference numerals identical parts. In the accompanying drawings:
Fig. 1 is the flow chart of a kind of method that webpage loads in the embodiment of the present invention;
Fig. 2 is the flow chart of the method that another kind of webpage loads in the embodiment of the present invention;
Fig. 3 is the structural representation of the device that a kind of webpage loads in the embodiment of the present invention;
Fig. 4 is the structural representation of the device that another kind of webpage loads in the embodiment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings. Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here. On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For the problem solving to load due to terminal repeatedly pointwise and frequently refresh and cause electricity to waste in prior art, the invention provides method, device and terminal that a kind of webpage loads, below in conjunction with accompanying drawing and specific embodiment, the present invention is further elaborated. Should be appreciated that specific embodiment described herein is only in order to explain the present invention, does not limit the present invention.
Embodiment of the method:
Embodiments providing a kind of method that webpage loads, referring to Fig. 1, the method includes:
S101, the web data that receives of monitoring, the web data received when monitoring enters step S102, otherwise enters step S103 after reaching predetermined value amount;
S102, display receiving web data;
S103, secretly shield.
When the present invention is not good at network signal or network connects obstruction, when the web data only received in monitoring reaches predetermined value amount, just the web data being newly received is displayed, otherwise secretly screen (i.e. screen blackening, enter the battery saving mode not shown), thus efficiently solving the problem loading due to the repeatedly pointwise of terminal and frequently refreshing and cause electricity to waste in prior art.
The 20%-100% that described predetermined value amount is whole web data flow in the embodiment of the present invention. The predetermined value amount arranged is more big, economizes electricity also more big.
The embodiment of the present invention additionally provides another kind of preferred embodiment, particularly as follows:
The web data that monitoring receives, after the web data that receives in predetermined interval of monitoring reaches predetermined value amount, display receiving web data, when the web data received in described predetermined interval is not reaching to predetermined value amount, secretly shield.
Namely in predetermined interval, if monitoring the web data received to reach predetermined value amount, then display receiving web data, otherwise secretly shield.
Described interval in the embodiment of the present invention is 10-100ms, and certain those skilled in the art can also arrange other interval according to actual needs.
The embodiment of the present invention also can according to the interval of the set of time ladder receiving web data, such as, when just opening webpage, owing to terminal to set up the connection between server, so the transmission of web data when starting may be relatively slow, it is possible to setting gradually interval is 50ms, 40ms, 30ms, 20ms or 10ms etc.
When specifically applying, user can arrange voluntarily and adjust predetermined value amount and interval at any time.
The described method of the embodiment of the present invention can also include:
Exceed the default maximum reception time when the reception time receiving web data, and when being not received by the web data of predetermined value amount, stop web data and receive.
Namely after the reception time reaches the maximum reception time, when web data reaches predetermined value amount but without reception, then stop web data and receive.
Fig. 2 is the flow chart of the method that another kind of webpage loads in the embodiment of the present invention, below in conjunction with Fig. 2, method of the present invention carries out detailed explanation and explanation:
S201, click browse webpage;
S202, reception web data;
S203, the web data received every 50ms monitoring;
S204, judge that this receives whether web data reaches the 20% of whole web data, if it is, enter step S205, otherwise, enter step S206;
S205, refreshing display, and reclocking;
S206, judge whether to reach the maximum reception time, if it does not, enter S202 to continue to web data, if it is, enter step S207;
S207, stopping receive Webpage.
The embodiment of the present invention is when web displaying, arrange that predetermined value amount is whole web data flow 20%, just display is refreshed once when namely reaching 20%, set interval as 50ms, the maximum reception time is 0.5s, namely after web displaying in 50ms, if the web data that fruit monitors reaches the 20% of whole web data flow, then display, otherwise enter and secretly shield battery saving mode, when reaching maximum reception time 0.5s between when 330 receiving, if can't receive more 20% data traffic, then stop receive the page.
The present invention passes through said method, when browsing webpage by terminal, by arranging the mode receiving content in immobilized substance increment (i.e. predetermined value amount) and Fixed Time Interval, to reach reduce the power consumption consumed owing to screen frequently refreshes and reduce the purpose that user waits as long for.
Device embodiment:
The embodiment of the present invention additionally provides the device that a kind of webpage loads, referring to Fig. 3, including the monitoring means intercoupled and processing unit;
Monitoring means, for monitoring the web data received;
Processing unit, after judging that the web data received when the monitoring of described monitoring means reaches predetermined value amount, displays receiving web data, otherwise secretly shields.
Fig. 4 is the structural representation of the device that another kind of webpage loads in the embodiment of the present invention, and as shown in Figure 4, described in the invention process, processing unit farther includes: judge module, display module and dark panel module;
Described judge module, for judging whether the web data that the monitoring of described monitoring means receives in predetermined interval reaches predetermined value amount, if it is, trigger described display module, otherwise triggers described dark panel module;
Described display module, displays for the web data that described monitoring means is monitored;
Described dark panel module, is used for making screen secretly shield.
The device of the embodiment of the present invention may also include that stopping receives unit, specifically as shown in Figure 4;
Stop receiving unit, for exceeding the default maximum reception time when the reception time receiving web data, and when being not received by the web data of predetermined value amount, stop web data and receive.
The related content of apparatus of the present invention embodiment can refer to embodiment of the method part, does not repeat them here.
Terminal embodiment:
The embodiment of the present invention additionally provides a kind of terminal, and this terminal includes said apparatus embodiment. The terminal of the embodiment of the present invention can be the terminal of any browsable webpages such as mobile phone, panel computer or computer.
The related content of embodiment of the present invention terminal can refer to method and device embodiment part, does not repeat them here.
Embodiments provide the method for a kind of webpage loading, device and terminal and at least can bring following beneficial effect:
The present invention is by when browsing webpage by terminal, and the mode of the interior loading predetermined value amount that sets interval, thus reaching reduce the power consumption consumed owing to screen frequently refreshes and reduce the purpose that user waits as long for.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art. So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. the method that a webpage loads, it is characterised in that including:
The web data that receives of monitoring, the web data received when monitoring displays receiving web data, otherwise secretly shields after reaching predetermined value amount.
2. method according to claim 1, it is characterised in that the web data that described monitoring receives, after the web data that receives of monitoring reaches predetermined value amount, displays receiving web data, and otherwise the step of dark screen specifically includes:
The web data that monitoring receives, after the web data that receives in predetermined interval of monitoring reaches predetermined value amount, display receiving web data, when the web data received in described predetermined interval is not reaching to predetermined value amount, secretly shield.
3. method according to claim 2, it is characterised in that
Described interval is 10-100ms.
4. method according to claim 1 and 2, it is characterised in that
Described predetermined value amount is the 20%-100% of whole web data flow.
5. method according to claim 1 and 2, it is characterised in that also include:
Exceed the default maximum reception time when the reception time receiving web data, and when being not received by the web data of predetermined value amount, stop web data and receive.
6. the device that a webpage loads, it is characterised in that including:
Monitoring means, for monitoring the web data received;
Processing unit, the web data for receiving when the monitoring of described monitoring means displays receiving web data, otherwise secretly shields after reaching predetermined value amount.
7. device according to claim 6, it is characterised in that described processing unit farther includes: judge module, display module and dark panel module;
Described judge module, for judging whether the web data that the monitoring of described monitoring means receives in predetermined interval reaches predetermined value amount, if it is, trigger described display module, otherwise triggers described dark panel module;
Described display module, displays for the web data that described monitoring means is monitored;
Described dark panel module, is used for making screen secretly shield.
8. the device according to claim 6 or 7, it is characterised in that
Described predetermined value amount is the 20%-100% of whole web data flow.
9. the device according to claim 6 or 7, it is characterised in that also include:
Stop receiving unit, for exceeding the default maximum reception time when the reception time receiving web data, and when being not received by the web data of predetermined value amount, stop web data and receive.
10. a terminal, it is characterised in that this terminal includes the device in claim 6-9 described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410583748.9A CN105630784A (en) | 2014-10-27 | 2014-10-27 | Webpage loading method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410583748.9A CN105630784A (en) | 2014-10-27 | 2014-10-27 | Webpage loading method, device and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105630784A true CN105630784A (en) | 2016-06-01 |
Family
ID=56045738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410583748.9A Pending CN105630784A (en) | 2014-10-27 | 2014-10-27 | Webpage loading method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630784A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1504869A (en) * | 2002-10-15 | 2004-06-16 | 住友橡胶工业株式会社 | Network page display method |
CN101631377A (en) * | 2009-07-30 | 2010-01-20 | 中兴通讯股份有限公司 | Terminal sleeping method and terminal |
CN103309994A (en) * | 2013-06-20 | 2013-09-18 | 珠海金山办公软件有限公司 | Document loading method and system |
-
2014
- 2014-10-27 CN CN201410583748.9A patent/CN105630784A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1504869A (en) * | 2002-10-15 | 2004-06-16 | 住友橡胶工业株式会社 | Network page display method |
CN101631377A (en) * | 2009-07-30 | 2010-01-20 | 中兴通讯股份有限公司 | Terminal sleeping method and terminal |
CN103309994A (en) * | 2013-06-20 | 2013-09-18 | 珠海金山办公软件有限公司 | Document loading method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102682093B (en) | Web page sectionally-loading method and web page sectionally-loading system for mobile browser | |
CN105676987A (en) | Method for shutting down background application of mobile terminal, device and mobile terminal | |
CN102799481B (en) | Method and device for switching modes on terminal | |
EP2882234B1 (en) | Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network | |
CN103325332B (en) | Page furbishing method, device and equipment | |
CN102256008B (en) | A kind of method, apparatus and system of mobile terminal customization screen protection | |
CN102789303A (en) | Power saving method and system used in mobile terminal | |
CN110996376A (en) | Service data transmission method, device, storage medium and terminal | |
CN103064925B (en) | The square law device of Timing Processing webpage | |
CN105554550A (en) | Video playing method and device | |
CN103222254A (en) | Portable terminal and communication control method | |
CN104007806A (en) | Method and device for controlling CPU frequency in Android system and equipment | |
CN107566015A (en) | Method of controlling antenna, device, storage medium and electronic equipment | |
CN103200318A (en) | Electricity-saving method of mobile terminal and mobile terminal | |
CN104486824A (en) | Energy-saving method and energy-saving device of mobile terminal | |
CN103095840A (en) | Advertisement loading method used for mobile terminal | |
CN101695084A (en) | Method and device for prompting | |
CN101815124A (en) | Webpage browsing method, mobile terminal and network equipment | |
CN104951215A (en) | Processing method and device for page operation | |
CN103024067A (en) | Method and server for pushing information to intelligent terminals | |
EP3664521A1 (en) | Rar interception method, sending method, related device and system | |
CN107132905A (en) | Terminal communication control method and terminal | |
CN103514837B (en) | Terminal screen backlight control method and apparatus | |
CN105262890A (en) | Information update control system and method for applications on portable electronic device | |
CN105744034A (en) | Screen brightness output 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |
|
RJ01 | Rejection of invention patent application after publication |