CN104035977A - Webpage loading method and device - Google Patents

Webpage loading method and device Download PDF

Info

Publication number
CN104035977A
CN104035977A CN201410221922.5A CN201410221922A CN104035977A CN 104035977 A CN104035977 A CN 104035977A CN 201410221922 A CN201410221922 A CN 201410221922A CN 104035977 A CN104035977 A CN 104035977A
Authority
CN
China
Prior art keywords
webpage
main document
loading
load
document
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.)
Granted
Application number
CN201410221922.5A
Other languages
Chinese (zh)
Other versions
CN104035977B (en
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 Xiaomi Technology Co Ltd
Xiaomi Inc
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 CN201410221922.5A priority Critical patent/CN104035977B/en
Publication of CN104035977A publication Critical patent/CN104035977A/en
Application granted granted Critical
Publication of CN104035977B publication Critical patent/CN104035977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a webpage loading method and device and belongs to the technical field of internet application. The method includes the steps that a main file of a webpage is obtained according to a webpage loading instruction; the main file is loaded; if the main file is loaded, it is indicated that the main file is loaded on a user interface. The problem that webpage loading efficiency is low is solved, and the effects that waiting duration of a user is shortened, user experience is improved, and the webpage loading efficiency is improved are achieved. The webpage loading method and device are used for loading the webpage.

Description

Webpage loading method and device
Technical field
The disclosure relates to technical field of internet application, particularly a kind of webpage loading method and device.
Background technology
In the loading procedure of webpage, complete webpage loads and comprises the loading of main document and the loading of auxiliary document, and wherein, auxiliary document generally can not affect the performance of webpage main contents.In webpage loading procedure, webpage loads progress bar and is used to refer to the process that webpage loads.
But, in current network loading procedure, it is generally to wait until that main document and auxiliary document have all loaded that webpage loads progress bar, just can indicate the complete loading of webpage, and waiting for the complete loading of webpage conventionally, user just carries out the actions such as browsing of web page contents, especially under the slow situation of network speed, the time that has intactly loaded a webpage relatively can be longer, and the efficiency that causes like this webpage to load is lower.
Summary of the invention
The lower problem of efficiency loading in order to solve webpage, disclosure embodiment provides a kind of webpage loading method and device.
Described technical scheme is as follows:
First aspect, provides a kind of webpage loading method, comprising:
Obtain the main document of webpage according to webpage load instructions;
Load described main document;
If described main document has loaded, indicate described main document to load in user interface.
Alternatively, if described main document has loaded, indicate described main document to load in user interface, comprising:
In the time loading described main document, display web page loads progress bar;
If described main document has loaded, hide described webpage loading progress bar in described user interface and indicate described main document to load.
Alternatively, describedly indicate described main document to load in user interface, comprising:
Show that in described user interface main document has loaded information, described main document has loaded information and has been used to indicate described main document and has loaded.
Alternatively, described method also comprises:
Show Download Info in described user interface, described Download Info is used to indicate the loading process of auxiliary document.
Alternatively, described method also comprises:
Show and stop load button in described user interface;
If stop described the loading command that stops that load button detects that user triggers, according to described in stop loading command and stop the loading of auxiliary document.
Second aspect, provides a kind of webpage charger, comprising:
Acquiring unit, is configured to obtain according to webpage load instructions the main document of webpage;
Loading unit, is configured to load described main document;
Indicating member, is configured in the time that described main document has loaded, and indicates described main document to load in user interface.
Alternatively, described indicating member comprises:
The first display module, is configured to display web page in the time loading described main document and loads progress bar;
Processing module, is configured in the time that described main document has loaded, and hides described webpage loading progress bar indicate described main document to load in described user interface.
Alternatively, described indicating member comprises:
The second display module, is configured to show that in described user interface main document has loaded information, and described main document has loaded information and has been used to indicate described main document and loaded.
Alternatively, described webpage charger also comprises:
The first display unit, is configured to show Download Info in described user interface, described Download Info is used to indicate the loading process of auxiliary document.
Alternatively, described webpage charger also comprises:
The second display unit, is configured to show and stop load button in described user interface;
Stop element, be configured to described stop that load button detects that user triggers stop loading command time, according to the described loading that stops loading command and stop auxiliary document.
The third aspect, provides a kind of webpage charger, comprising:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Obtain the main document of webpage according to webpage load instructions;
Load described main document;
If described main document has loaded, indicate described main document to load in user interface.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The webpage loading method that the present embodiment provides and device, in webpage loading procedure, when main document has loaded, load user has been pointed out at user interface instruction main document, made user carry out again subsequent action without waiting for that whole webpage has loaded, reduce user's waiting time, improve user's experience, compared to correlation technique, in same time section, can load more webpage, therefore improve the efficiency that webpage loads.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limit the disclosure.
Brief description of the drawings
In order to be illustrated more clearly in embodiment of the present disclosure, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only embodiment more of the present disclosure, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is according to a kind of webpage loading method process flow diagram shown in an exemplary embodiment.
Fig. 2 is according to a kind of webpage loading method process flow diagram shown in another exemplary embodiment.
Fig. 3 is according to a kind of user interface schematic diagram shown in correlation technique.
Fig. 4 is according to the another kind of user interface schematic diagram shown in correlation technique.
Fig. 5 is according to a kind of user interface schematic diagram shown in another exemplary embodiment.
Fig. 6 is according to the another kind of user interface schematic diagram shown in another exemplary embodiment.
Fig. 7 is according to the structural representation of a kind of webpage charger shown in another exemplary embodiment.
Fig. 8 is according to the structural representation of a kind of indicating member shown in another exemplary embodiment.
Fig. 9 is according to the structural representation of the another kind of indicating member shown in another exemplary embodiment.
Figure 10 is according to the structural representation of the another kind of webpage charger shown in another exemplary embodiment.
Figure 11 is according to the structural representation of another the webpage charger shown in another exemplary embodiment.
Figure 12 is the basis structural representation of a kind of webpage charger shown in an exemplary embodiment again.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is hereinafter more detailed description.These accompanying drawings and text description are not the scope in order to limit disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
In order to make object of the present disclosure, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the disclosure is described in further detail, obviously, described embodiment is only a part of embodiment of the disclosure, instead of whole embodiment.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making all other embodiment that obtain under creative work prerequisite, all belong to the scope of disclosure protection.
Webpage is a kind of document based on hypertext (Hypertext) mode, normally HTML (Hyper Text Markup Language, supertext markup language) form (file extent .html by name or .htm).Webpage, via network address, as URL (Uniform Resoure Locator, uniform resource locator), is identified and access.The main composition of webpage is main document, it is webpage source code, the html file that the network address that main document normally need to be accessed by user obtains to server request, in HTML code, conventionally carry out mark with <iframe>, secondly, webpage also comprises auxiliary document, auxiliary document is the document representing that does not affect the main contents of webpage, the normally document except main document in webpage, auxiliary document can comprise the document that adopts independent link to download, as some subframes, outside js (javascript) program etc., it should be noted that, subframe also can be called subdocument, need to download separately, js program in webpage is divided into embedded js program and outside js program, wherein embedded js program is directly to write in main document, outside js program is to need the document that link is downloaded separately.
Fig. 1 is according to a kind of webpage loading method process flow diagram shown in an exemplary embodiment, comprises following several step:
In step 101, obtain the main document of webpage according to webpage load instructions.
In step 102, load main document.
In step 103, if main document has loaded, load at user interface instruction main document.
In sum, the webpage loading method that the present embodiment provides, in webpage loading procedure, when main document has loaded, loaded user has been pointed out at user interface instruction main document, make user carry out again subsequent action without waiting for that whole webpage has loaded, reduced user's waiting time, improved user's experience, compared to correlation technique, in same time section, can load more webpage, therefore improve the efficiency that webpage loads.
Fig. 2 is according to the process flow diagram of a kind of webpage loading method shown in another exemplary embodiment, and the present embodiment supposes that webpage to be loaded is html web page, and this webpage loading method can comprise the following steps:
In step 201, obtain webpage load instructions.
In the time of user's accessed web page, terminal device can receive the webpage load instructions that user triggers by user interface, and this webpage load instructions comprises the network address of webpage.
In step 202, load main document according to webpage load instructions.
Terminal device is according to the network address obtaining, can send request to corresponding server by browser, server is set up network linking according to this request and terminal device, the html file that returns to main document by this network linking to terminal device, then terminal device correspondingly loads main document according to this html file.The content that main document loads can comprise one or more in text, external scripts, style sheet, animation and picture.
In step 203, if main document has loaded, load at user interface instruction main document.
Whether in actual applications, can monitor this main document with monitoring function and load, when main document has loaded, this monitoring function can send information and carry out notification terminal equipment.Example, this monitoring function is " onLoad " function, when main document has loaded, " onLoad " function just adopts " OnDocumentLoadedInMainFrame () " code to indicate main document to load.
It should be noted that, when main document has loaded, the method for indicating in user interface can have multiple, example, terminal device can load progress bar by display web page in the time loading main document; If main document has loaded, indicate main document to load by hide webpage loading progress bar in this user interface.Terminal device also can show that main document has loaded information in user interface, and main document has loaded information and has been used to indicate main document and loaded, and this main document has loaded information can be icon or play window etc.
In step 204, show Download Info in user interface.
In webpage, not only comprise main document, also comprise auxiliary document, auxiliary document is the document representing that does not affect the main contents of webpage, the normally document except main document in webpage, and completing that main document loads can load progress bar or show that main document has loaded information and indicated by hiding webpage, understand the loading process of auxiliary document for the ease of user, can show Download Info in user interface, this Download Info is used to indicate the loading process of auxiliary document, and this Download Info can be icon or play window etc.Can make like this webpage load the more refinement of differentiation of process, improve the overall degree of control of user to current web page loading process.
In step 205, show and stop load button in user interface.
In step 206, if at the loading command that stops that stopping load button and detect that user triggers, according to the loading that stops loading command and stop auxiliary document.
Auxiliary document can comprise the document that adopts independent link to download, and as subframe, outside js (javascript) program etc. document, this independent link refers to the network linking different from the network linking of downloading main document employing.It should be noted that, this subframe itself also has a html file, only its content is to be embedded in the html file of main document, in the time loading, need to enable the html file that this subframe is downloaded in independent link, the content of subframe generally can not affect the representing of main contents of webpage, and subframe is used for representing suspension advertisement in webpage or some suspended frames etc. sometimes; And for outside js program, terminal device conventionally can be enabled independent link and download.Therefore, both are also larger to the consumption of data traffic.By showing and stop load button in user interface, the manipulation power of flow is given user by terminal device, when triggering, user stops load button, the loading command that stops that terminal device can stop load button and detects that user triggers, then stop the loading of auxiliary document according to stopping loading command, and then saved data traffic.
It should be noted that; the sequencing of the webpage loading method step that the present embodiment provides can suitably be adjusted; step also can according to circumstances be carried out corresponding increase and decrease; as step 204 and step 205 can be exchanged; any be familiar with those skilled in the art the disclosure disclose technical scope in; can expect easily the method changing, within all should being encompassed in protection domain of the present disclosure, therefore repeat no more.
Terminal device can be the equipment such as computing machine, palm PC or mobile phone, suppose that terminal device is mobile phone, when webpage in correlation technique loads, user interface schematic diagram can be as shown in Figure 3, in webpage loading procedure, during webpage loading progress bar 30 continues to read, the process that main document loads is from top to bottom, therefore in the time being loaded on certain part of main document, part below it or blank, webpage load progress bar 30 along with main document load by few at the most and by short elongated, user interface shows that this webpage loads progress bar 30 by short elongated progressive formation.
When whole webpage loads completely, user interface schematic diagram as shown in Figure 4, webpage loads progress bar and hides, be that webpage loading progress bar runs through, the complete loading of instruction webpage, now, in webpage, some subframes may be loaded, as the suspended frame 40 in Fig. 4, this suspended frame 40 is an advertisement windows, main contents to webpage do not have considerable influence, in webpage, also may move some outside js programs, carry out the realization of some specific functions, as webpage test or monitoring, conventionally user need to wait for that webpage loads progress bar and runs through and just carry out browsing of this webpage, and this webpage progress bar instruction is the loading process of complete webpage, therefore the stand-by period is longer, affecting user experiences.
The another embodiment of the disclosure supposes that terminal device is mobile phone, in the main document loading process of webpage, user interface schematic diagram can be as shown in Figure 3, during webpage loading progress bar 30 continues to read, the webpage that user interface demonstrates loads progress bar 30 by short elongated progressive formation.
When main document has loaded, as shown in Figure 5, webpage loads progress bar and hides, and instruction main document has loaded.Like this, user can carry out the actions such as web page browsing in the time that main document has loaded, and without the loading of waiting for some auxiliary documents, reduces user's waiting time, improves user and experiences.
Further, understand the loading process of auxiliary document for the ease of user, as shown in Figure 6, can show Download Info 50 in user interface, Download Info 50 is used to indicate the loading process of auxiliary document, and when auxiliary document has loaded, this Download Info 50 can be hidden.Make like this webpage load the more refinement of differentiation of process, improve the overall degree of control of user to current web page loading process.And, can show and stop load button 60 in user interface, stop load button 60 when user triggers, the loading command that stops that terminal device can stop load button 60 and detects that user triggers, stop the loading of auxiliary document according to stopping loading command, and then saved data traffic.It should be noted that, above-mentioned Download Info 50 and stop load button 60 and can or play window by same icon and realize, the disclosure does not limit this.
In sum, the present embodiment provide webpage loading method, in webpage loading procedure, when main document has loaded, loaded user has been pointed out at user interface instruction main document, make user carry out again subsequent action without waiting for that whole webpage has loaded, reduce user's waiting time, improve user's experience, compared to correlation technique, in same time section, can load more webpage, therefore improved the efficiency that webpage loads, and by providing and stop load button in user interface, make user after triggering stops loading command, stop the loading of alternative document, can reduce the consumption of data traffic.
Following is disclosure device embodiment, can be for carrying out disclosure embodiment of the method.For the details not disclosing in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 7 is according to the structural representation of a kind of webpage charger 70 shown in another exemplary embodiment, comprising:
Acquiring unit 701, loading unit 702 and indicating member 703.
Acquiring unit 701, is configured to obtain according to webpage load instructions the main document of webpage.
Loading unit 702, is configured to load main document.
Indicating member 703, is configured in the time that main document has loaded, and has loaded at user interface instruction main document.
In sum, the webpage charger that the present embodiment provides, in loading unit Web page loading process, indicating member is in the time that main document has loaded, loaded user has been pointed out at user interface instruction main document, make user carry out again subsequent action without waiting for that whole webpage has loaded, reduced user's waiting time, improved user's experience, compared to correlation technique, in same time section, can load more webpage, therefore improve the efficiency that webpage loads.
Fig. 8 is according to the structural representation of a kind of indicating member 703 shown in another exemplary embodiment, can comprise:
The first display module 7031 and processing module 7032.
The first display module 7031, is configured to display web page in the time loading main document and loads progress bar.
Processing module 7032, is configured in the time that main document has loaded, and hides webpage loading progress bar indicate main document to load in user interface.
Fig. 9 is according to the structural representation of the another kind of indicating member 703 shown in another exemplary embodiment, can comprise: the second display module 7033.
This second display module 7033, is configured to show that in user interface main document has loaded information, main document has loaded information and has been used to indicate main document and loaded.
Figure 10 is according to the structural representation of the another kind of webpage charger 70 shown in another exemplary embodiment, comprising:
Acquiring unit 701, loading unit 702, indicating member 703 and the first display unit 704.
Acquiring unit 701, is configured to obtain according to webpage load instructions the main document of webpage.
Loading unit 702, is configured to load main document.
Indicating member 703, is configured in the time that main document has loaded, and has loaded at user interface instruction main document.
The first display unit 704, is configured to show Download Info in user interface, Download Info is used to indicate the loading process of auxiliary document.
Figure 11 is according to the structural representation of another the webpage charger 70 shown in another exemplary embodiment, comprising:
Acquiring unit 701, loading unit 702, indicating member 703, the second display unit 705 and stop element 706.
Acquiring unit 701, is configured to obtain according to webpage load instructions the main document of webpage.
Loading unit 702, is configured to load main document.
Indicating member 703, is configured in the time that main document has loaded, and has loaded at user interface instruction main document.
The second display unit 705, is configured to show and stop load button in user interface;
Stop element 706, be configured to stop that load button detects that user triggers stop loading command time, according to the loading that stops loading command and stop auxiliary document.
In sum, the webpage charger that the present embodiment provides, in loading unit Web page loading process, indicating member is in the time that main document has loaded, loaded user has been pointed out at user interface instruction main document, make user carry out again subsequent action without waiting for that whole webpage has loaded, reduced user's waiting time, improved user's experience.Compared to correlation technique, in same time section, can load more webpage, therefore improve the efficiency that webpage loads.And the second display unit, by providing and stop load button in user interface, makes user after triggering stops loading command, stop the loading of alternative document, can reduce the consumption of data traffic.
Figure 12 is according to the block diagram of a kind of webpage charger 80 shown in an exemplary embodiment.For example, device 80 can be mobile phone, computing machine, digital broadcast terminal, information receiving and transmitting equipment, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 80 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of processing components 802 common control device 80, such as with demonstration, call, data communication, the operation that camera operation and record operation are associated.Processing components 802 can comprise that one or more processors 820 carry out instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more modules, is convenient to mutual between processing components 802 and other assemblies.For example, processing components 802 can comprise multi-media module, to facilitate mutual between multimedia groupware 808 and processing components 802.Processor 802 is configured to: the main document that obtains webpage according to webpage load instructions; Load main document; If main document has loaded, load at user interface instruction main document.
Storer 804 is configured to store various types of data to be supported in the operation of device 80, for the executable instruction of storage of processor 820.The example of these data comprises for any application program of operation on device 80 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 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.
Power supply module 806 provides electric power for installing 80 various assemblies.Power supply module 806 can comprise power-supply management system, one or more power supplys, and other and the assembly that generates, manages and distribute electric power to be associated for device 80.
Multimedia groupware 808 is included in the screen that an output interface is provided between described device 80 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 that one or more touch sensors are with the gesture on sensing touch, slip and touch panel.Described touch sensor is the border of sensing touch or sliding action not only, but also detects duration and the pressure relevant to described touch or slide.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 80 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 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 comprises a microphone (MIC), and when device 80 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 receiving can be further stored in storer 804 or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 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 814 comprises one or more sensors, is used to device 80 that the state estimation of various aspects is provided.For example, sensor module 814 can detect the opening/closing state of device 80, the relative positioning of assembly, for example described assembly is display and the keypad of device 80, the position of all right pick-up unit 80 of sensor module 814 or 80 1 assemblies of device changes, user is with device 80 existence that contact or do not have the temperature variation of device 80 orientation or acceleration/deceleration and device 80.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to be convenient to the communication of wired or wireless mode between device 80 and other equipment.Device 80 wireless networks that can access based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.For example, can be 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 80 can be realized 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, for carrying out said method.
In the exemplary embodiment, also provide a kind of non-provisional computer-readable recording medium that comprises instruction, for example, comprised the storer 804 of instruction, above-mentioned instruction can have been carried out said method by the processor 820 of device 80.For example, described non-provisional computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
A kind of non-provisional computer-readable recording medium, in the time that the instruction in described storage medium is carried out by the processor 820 that installs 80, makes webpage charger 80 can carry out a kind of webpage loading method, and described method comprises:
Obtain the main document of webpage according to webpage load instructions;
Load main document;
If main document has loaded, load at user interface instruction main document.
If main document has loaded, load at user interface instruction main document, comprising:
In the time loading main document, display web page loads progress bar;
If main document has loaded, hide webpage loading progress bar in user interface and indicate main document to load.
Alternatively, load at user interface instruction main document, having comprised:
Show that in user interface main document has loaded information, main document has loaded information and has been used to indicate main document and has loaded.
Alternatively, method also comprises:
Show Download Info in user interface, Download Info is used to indicate the loading process of auxiliary document.
Alternatively, method also comprises:
Show and stop load button in user interface;
If at the loading command that stops that stopping load button and detect that user triggers, according to the loading that stops loading command and stop auxiliary document.
In addition, can also be implemented as the computer program of being carried out by CPU according to method of the present disclosure, this computer program can be stored in computer-readable recording medium.In the time that this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for the computer-readable recording medium of storing the computer program that makes controller realize above-mentioned steps or Elementary Function.
Above-mentioned disclosure embodiment is disclosed exemplary embodiment, but it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and amendment.Need not carry out with any particular order according to the function of the claim to a method of disclosed embodiment described herein, step and/or action.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that multiple, unless be clearly restricted to odd number.
Above-mentioned disclosure embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection domain of the present disclosure.

Claims (11)

1. a webpage loading method, is characterized in that, comprising:
Obtain the main document of webpage according to webpage load instructions;
Load described main document;
If described main document has loaded, indicate described main document to load in user interface.
2. method according to claim 1, is characterized in that, if described main document has loaded, indicates described main document to load in user interface, comprising:
In the time loading described main document, display web page loads progress bar;
If described main document has loaded, hide described webpage loading progress bar in described user interface and indicate described main document to load.
3. method according to claim 1, is characterized in that, describedly indicates described main document to load in user interface, comprising:
Show that in described user interface main document has loaded information, described main document has loaded information and has been used to indicate described main document and has loaded.
4. method according to claim 1, is characterized in that, described method also comprises:
Show Download Info in described user interface, described Download Info is used to indicate the loading process of auxiliary document.
5. according to the method described in claim 1 to 4 any one claim, it is characterized in that, described method also comprises:
Show and stop load button in described user interface;
If stop described the loading command that stops that load button detects that user triggers, according to described in stop loading command and stop the loading of auxiliary document.
6. a webpage charger, is characterized in that, comprising:
Acquiring unit, is configured to obtain according to webpage load instructions the main document of webpage;
Loading unit, is configured to load described main document;
Indicating member, is configured in the time that described main document has loaded, and indicates described main document to load in user interface.
7. webpage charger according to claim 6, is characterized in that, described indicating member comprises:
The first display module, is configured to display web page in the time loading described main document and loads progress bar;
Processing module, is configured in the time that described main document has loaded, and hides described webpage loading progress bar indicate described main document to load in described user interface.
8. webpage charger according to claim 6, is characterized in that, described indicating member comprises:
The second display module, is configured to show that in described user interface main document has loaded information, and described main document has loaded information and has been used to indicate described main document and loaded.
9. webpage charger according to claim 6, is characterized in that, described webpage charger also comprises:
The first display unit, is configured to show Download Info in described user interface, described Download Info is used to indicate the loading process of auxiliary document.
10. according to the webpage charger described in claim 6 to 9 any one claim, it is characterized in that, described webpage charger also comprises:
The second display unit, is configured to show and stop load button in described user interface;
Stop element, be configured to described stop that load button detects that user triggers stop loading command time, according to the described loading that stops loading command and stop auxiliary document.
11. 1 kinds of webpage chargers, is characterized in that, comprising:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Obtain the main document of webpage according to webpage load instructions;
Load described main document;
If described main document has loaded, indicate described main document to load in user interface.
CN201410221922.5A 2014-05-23 2014-05-23 Webpage loading method and device Active CN104035977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410221922.5A CN104035977B (en) 2014-05-23 2014-05-23 Webpage loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410221922.5A CN104035977B (en) 2014-05-23 2014-05-23 Webpage loading method and device

Publications (2)

Publication Number Publication Date
CN104035977A true CN104035977A (en) 2014-09-10
CN104035977B CN104035977B (en) 2018-06-19

Family

ID=51466747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410221922.5A Active CN104035977B (en) 2014-05-23 2014-05-23 Webpage loading method and device

Country Status (1)

Country Link
CN (1) CN104035977B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239524A (en) * 2014-09-17 2014-12-24 可牛网络技术(北京)有限公司 Loading progress display control method, loading progress display control device, browser and electronic equipment
CN104239503A (en) * 2014-09-11 2014-12-24 可牛网络技术(北京)有限公司 Display control method and device for loading progress, browser and electronic equipment
CN105677658A (en) * 2014-11-19 2016-06-15 阿里巴巴集团控股有限公司 Page display method and device
CN105867984A (en) * 2016-04-22 2016-08-17 广州阿里巴巴文学信息技术有限公司 Method, device and client for displaying task state in web page as well as mobile equipment
CN105893451A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Resource acquisition method and device
CN108241707A (en) * 2016-12-26 2018-07-03 北京国双科技有限公司 The reminding method and device of webpage loading

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955852A (en) * 2012-11-01 2013-03-06 北京小米科技有限责任公司 Method, device and equipment for webpage resource processing
CN103353842A (en) * 2013-06-20 2013-10-16 北京小米科技有限责任公司 Webpage loading method and device
CN103425794A (en) * 2013-08-29 2013-12-04 优视科技有限公司 Webpage previewing method and webpage previewing device based on bis-WebView
CN103678343A (en) * 2012-09-07 2014-03-26 腾讯科技(深圳)有限公司 Method and device for prompting webpage loading progress

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678343A (en) * 2012-09-07 2014-03-26 腾讯科技(深圳)有限公司 Method and device for prompting webpage loading progress
CN102955852A (en) * 2012-11-01 2013-03-06 北京小米科技有限责任公司 Method, device and equipment for webpage resource processing
CN103353842A (en) * 2013-06-20 2013-10-16 北京小米科技有限责任公司 Webpage loading method and device
CN103425794A (en) * 2013-08-29 2013-12-04 优视科技有限公司 Webpage previewing method and webpage previewing device based on bis-WebView

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于洋: "延迟加载对网络广告效果的影响", 《中国优秀硕士学位论文全文数据库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239503A (en) * 2014-09-11 2014-12-24 可牛网络技术(北京)有限公司 Display control method and device for loading progress, browser and electronic equipment
CN104239524A (en) * 2014-09-17 2014-12-24 可牛网络技术(北京)有限公司 Loading progress display control method, loading progress display control device, browser and electronic equipment
CN105677658A (en) * 2014-11-19 2016-06-15 阿里巴巴集团控股有限公司 Page display method and device
CN105677658B (en) * 2014-11-19 2020-07-28 阿里巴巴集团控股有限公司 Page display method and device
CN105893451A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Resource acquisition method and device
CN105867984A (en) * 2016-04-22 2016-08-17 广州阿里巴巴文学信息技术有限公司 Method, device and client for displaying task state in web page as well as mobile equipment
CN108241707A (en) * 2016-12-26 2018-07-03 北京国双科技有限公司 The reminding method and device of webpage loading
CN108241707B (en) * 2016-12-26 2020-05-22 北京国双科技有限公司 Webpage loading prompting method and device

Also Published As

Publication number Publication date
CN104035977B (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN104035977A (en) Webpage loading method and device
CN104778063A (en) Method and device for updating resource
CN103914523A (en) Page rollback controlling method and page rollback controlling device
US10489169B2 (en) Method and device for performing subset of functions of application
CN104156401A (en) Webpage loading method, device and equipment
CN104133844A (en) Method and device for loading webpage
CN104123341A (en) Method and device for downloading file and route device
EP3407189A1 (en) Application distribution method and device
CN104156233A (en) Method, device and terminal for updating light applications in offline manner
CN103927081A (en) Method and device for processing notification events
CN104035979A (en) Object recommendation method and related device
CN104536787B (en) Resource preloads method and device
CN103870551B (en) The method and apparatus that a kind of cross-domain data obtains
CN105808305A (en) Static resource loading method and device
CN104580019A (en) Network service supplying method and device
CN104020924A (en) Label establishing method and device and terminal
CN103885712A (en) Method and device for adjusting webpage and electronic device
CN105183493A (en) Display method and device of network information
CN104111829A (en) Data storage method and device
CN106528735A (en) Method and device for controlling browser to play media resources
CN104407924A (en) Method and device for optimizing internal memory
CN104951184A (en) Application program downloading method and device
MX2014008884A (en) Mobile terminal resource processing method, device and apparatus.
CN105468417A (en) Application software installation method and device
CN107423059A (en) Display methods, device and the terminal of the page

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant