CN106682135A - Webpage loading method and device - Google Patents
Webpage loading method and device Download PDFInfo
- Publication number
- CN106682135A CN106682135A CN201611170858.8A CN201611170858A CN106682135A CN 106682135 A CN106682135 A CN 106682135A CN 201611170858 A CN201611170858 A CN 201611170858A CN 106682135 A CN106682135 A CN 106682135A
- Authority
- CN
- China
- Prior art keywords
- webpage
- picture
- loading
- target web
- loaded
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing 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 discloses a webpage loading method and device. The webpage loading method includes: receiving a webpage loading request; responding to the received webpage loading request, and loading characters and frame files in a target webpage corresponding to the webpage loading request; loading a first class of pictures in the target webpage after the characters and the frame files are completely loaded; and loading and changing a second class of pictures in the target webpage while a page of the target webpage rolls. The technical scheme firstly loads the characters, the frame files and the first class of pictures while the page is loaded, can only load and change the second class of pictures without reloading the characters, the frame files and the first class of pictures while the page of the target webpage rolls, can improve the webpage loading speed, and can improve the user experience.
Description
Technical field
The present invention relates to internet arena, more particularly to a kind of webpage loading method and device.
Background technology
Browser refers to HTML (the Hyper Text Markup that can show web page server or file system
Language, HTML) file content, and allow a kind of Software tool of user and these file interactions.With mutual
Networking technology is developed rapidly, and application of the browser in daily life, working and learning be more and more frequent.
At present, browser loading analyzing web page process is carried out typically by parallel form, i.e., side is downloaded in webpage
Hold side to render web page contents.In downloading process, if web data picture is a lot, webpage loading is very slow, user
Experience is bad.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of webpage loading method and device of problem.
The present invention provides a kind of webpage loading method, including:
Receive webpage load request;
In response to receiving the webpage load request, the text in the corresponding target web of the webpage load request is loaded
Word, document framework;
After the completion of the word, document framework loading, the first kind picture in the target web is loaded;
When the page scroll of the target web, to the Equations of The Second Kind picture in the target web carry out loading and more
Change.
In one embodiment, methods described may also include:
Picture in webpage is classified, first kind picture and Equations of The Second Kind picture is divided into.
In one embodiment, the first kind picture is the picture inside website, and the Equations of The Second Kind picture is the outer figure in station
Piece.
In one embodiment, it is described when the page scroll of the target web, to second in the target web
Class picture is loaded and changed, it may include:
When the operation of user's sliding-rolling bar is received, the operation according to the user is carried out to the Equations of The Second Kind picture
Loading and replacing.
In one embodiment, methods described may also include:
After the completion of the word and document framework loading, the JS files in the target web are loaded.
The present invention also provides a kind of webpage loading device, including:
Receiver module, for receiving webpage load request;
First load-on module, in response to receiving the webpage load request, loading the webpage load request pair
Word, document framework in the target web answered;
Second load-on module, for after the completion of the word, document framework loading, loading the in the target web
One class picture;
3rd load-on module, for when the page scroll of the target web, to the Equations of The Second Kind in the target web
Picture is loaded and changed.
In one embodiment, described device may also include:
Sort module, for the picture in webpage to be classified, is divided into first kind picture and Equations of The Second Kind picture.
In one embodiment, the first kind picture is the picture inside website, and the Equations of The Second Kind picture is the outer figure in station
Piece.
In one embodiment, the 3rd load-on module, it may include:
Loading and replacing submodule, for when the operation of user's sliding-rolling bar is received, according to the behaviour of the user
The Equations of The Second Kind picture of opposing is loaded and changed.
In one embodiment, described device may also include:
4th load-on module, for after the completion of the word and document framework loading, to the JS in the target web
File is loaded.
Some beneficial effects of the embodiment of the present invention can include:
The above-mentioned technical proposal of the embodiment of the present invention, by receiving webpage load request, in response to receiving webpage loading
Request, word, document framework in the corresponding target web of loading webpage load request, when word, document framework loading are completed
Afterwards, the first kind picture in loaded targets webpage, when the page scroll of target web, to the Equations of The Second Kind picture in target web
Loaded and changed.Due to when webpage is loaded, first loading the word in webpage, document framework and first kind picture, work as mesh
When marking the page scroll of webpage, word, document framework and first kind picture are only added without reloading to Equations of The Second Kind picture
Carry and change, so as to improve webpage loading velocity, improve the experience of user.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with reality of the invention
Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of webpage loading method in the embodiment of the present invention;
Fig. 2 is the flow chart of another webpage loading method in the embodiment of the present invention;
Fig. 3 is the flow chart of another webpage loading method in the embodiment of the present invention;
Fig. 4 is the flow chart of another webpage loading method in the embodiment of the present invention;
Fig. 5 is a kind of block diagram of webpage loading device in the embodiment of the present invention;
Fig. 6 is the block diagram of another webpage loading device in the embodiment of the present invention;
Fig. 7 is the block diagram of the 3rd load-on module 54 in a kind of webpage loading device in the embodiment of the present invention;
Fig. 8 is the block diagram of another webpage loading device in the embodiment of the present invention.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 show a kind of flow chart of webpage loading method in the embodiment of the present invention, for server.As shown in figure 1,
The webpage loading method comprises the following steps S11-S14:
Step S11, receives webpage load request.
Step S12, in response to receiving webpage load request, the text in the corresponding target web of loading webpage load request
Word, document framework.
Step S13, after the completion of word, document framework loading, the first kind picture in loaded targets webpage.
Step S14, when the page scroll of target web, to the Equations of The Second Kind picture in target web carry out loading and more
Change.
In the prior art, when webpage is loaded, if picture is many in interface, load very slowly, the present invention first loads net
The basic structures such as word, framework in page, reload picture.Picture is filled into the frame of webpage.In sliding-rolling bar, page
Face does not roll, but Equations of The Second Kind picture below replaces current Equations of The Second Kind picture, to realize the rolling of picture.That is,
In scroll through pages, the outer picture of a loading station, interior picture of standing is without reloading.
The above method of the embodiment of the present invention, by receiving webpage load request, in response to receiving webpage load request,
Word, document framework in the corresponding target web of loading webpage load request, after the completion of word, document framework loading, plus
The first kind picture in target web is carried, when the page scroll of target web, the Equations of The Second Kind picture in target web is carried out
Loading and replacing.Due to when webpage is loaded, first loading the word in webpage, document framework and first kind picture, work as target network
Page page scroll when, word, document framework and first kind picture without reloading, only to Equations of The Second Kind picture carry out loading and
Change, so as to improve webpage loading velocity, improve the experience of user.
In one embodiment, before step S11, as shown in Fig. 2 the webpage loading method can also include the steps of
S15:
Step S15, the picture in webpage is classified, and is divided into first kind picture and Equations of The Second Kind picture.
In one embodiment, first kind picture is that the picture inside website is picture in station, and Equations of The Second Kind picture is outer for station
Picture.
Picture is divided into the outer picture of picture and station in station, stands what interior picture seldom changed including button and logo etc., category
Picture inside website.The picture that outer picture of standing often changes including program stage photo etc..
In one embodiment, as shown in figure 3, step S14 may be embodied as following steps S141:
Step S141, when the operation of user's sliding-rolling bar is received, the operation according to user is entered to Equations of The Second Kind picture
Row loading and replacing.
In one embodiment, as shown in figure 4, the webpage loading method can also include the steps of S16:
Step S16, after the completion of word and document framework loading, loads to the JS files in target web.
When webpage is loaded, if JS is many in interface, webpage loading is very slow, therefore, the present embodiment first loads webpage
In the basic structure such as word, document framework, JS files are reloaded, so as to webpage will not be caused to load become because JS files are excessive
Slowly, so as to improve webpage loading velocity.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of webpage loading device, by the device is solved
Certainly the principle of problem is similar to foregoing webpage loading method, therefore the implementation of the device may refer to the implementation of preceding method, weight
Multiple part is repeated no more.
Fig. 5 show a kind of block diagram of webpage loading device in the embodiment of the present invention, as shown in figure 5, webpage loading dress
Put including:
Receiver module 51, for receiving webpage load request;
First load-on module 52, in response to receiving webpage load request, the corresponding mesh of loading webpage load request
Word, document framework in mark webpage;
Second load-on module 53, after the completion of being loaded when word, document framework, the First Kind Graph in loaded targets webpage
Piece;
3rd load-on module 54, for when the page scroll of target web, entering to the Equations of The Second Kind picture in target web
Row loading and replacing.
In one embodiment, as shown in fig. 6, the webpage loading device may also include:
Sort module 55, for the picture in webpage to be classified, is divided into first kind picture and Equations of The Second Kind picture.
In one embodiment, first kind picture is the picture inside website, and Equations of The Second Kind picture is the outer picture in station.
In one embodiment, as shown in fig. 7, the 3rd load-on module 54, it may include:
Loading and replacing submodule 541, for when the operation of user's sliding-rolling bar is received, according to the operation of user
Equations of The Second Kind picture is loaded and changed.
In one embodiment, as shown in figure 8, the webpage loading device may also include:
4th load-on module 56, for after the completion of word and document framework loading, entering to the JS files in target web
Row loading.
The said apparatus of the embodiment of the present invention, by receiving webpage load request, in response to receiving webpage load request,
Word, document framework in the corresponding target web of loading webpage load request, after the completion of word, document framework loading, plus
The first kind picture in target web is carried, when the page scroll of target web, the Equations of The Second Kind picture in target web is carried out
Loading and replacing.Due to when webpage is loaded, first loading the word in webpage, document framework and first kind picture, work as target network
Page page scroll when, word, document framework and first kind picture without reloading, only to Equations of The Second Kind picture carry out loading and
Change, so as to improve webpage loading velocity, improve the experience of user.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more
The shape of the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention
God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of webpage loading method, it is characterised in that including:
Receive webpage load request;
In response to receiving the webpage load request, load word in the corresponding target web of the webpage load request,
Document framework;
After the completion of the word, document framework loading, the first kind picture in the target web is loaded;
When the page scroll of the target web, the Equations of The Second Kind picture in the target web is loaded and changed.
2. the method for claim 1, it is characterised in that methods described also includes:
Picture in webpage is classified, first kind picture and Equations of The Second Kind picture is divided into.
3. method as claimed in claim 2, it is characterised in that the first kind picture is the picture inside website, described the
Two class pictures are the outer picture in station.
4. the method for claim 1, it is characterised in that described when the page scroll of the target web, to described
Equations of The Second Kind picture in target web is loaded and changed, including:
When the operation of user's sliding-rolling bar is received, the operation according to the user is loaded to the Equations of The Second Kind picture
And replacing.
5. the method as any one of claim 1-4, it is characterised in that methods described also includes:
After the completion of the word and document framework loading, the JS files in the target web are loaded.
6. a kind of webpage loading device, it is characterised in that including:
Receiver module, for receiving webpage load request;
First load-on module, in response to receiving the webpage load request, loading the webpage load request corresponding
Word, document framework in target web;
Second load-on module, for after the completion of the word, document framework loading, loading the first kind in the target web
Picture;
3rd load-on module, for when the page scroll of the target web, to the Equations of The Second Kind picture in the target web
Loaded and changed.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Sort module, for the picture in webpage to be classified, is divided into first kind picture and Equations of The Second Kind picture.
8. device as claimed in claim 7, it is characterised in that the first kind picture is the picture inside website, described the
Two class pictures are the outer picture in station.
9. device as claimed in claim 6, it is characterised in that the 3rd load-on module, including:
Loading and replacing submodule, for when the operation of user's sliding-rolling bar is received, the operation according to the user to be right
The Equations of The Second Kind picture is loaded and changed.
10. the device as any one of claim 6-9, it is characterised in that described device also includes:
4th load-on module, for after the completion of the word and document framework loading, to the JS files in the target web
Loaded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611170858.8A CN106682135A (en) | 2016-12-16 | 2016-12-16 | Webpage loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611170858.8A CN106682135A (en) | 2016-12-16 | 2016-12-16 | Webpage loading method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106682135A true CN106682135A (en) | 2017-05-17 |
Family
ID=58870828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611170858.8A Pending CN106682135A (en) | 2016-12-16 | 2016-12-16 | Webpage loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106682135A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405071A (en) * | 2020-06-02 | 2020-07-10 | 广东睿江云计算股份有限公司 | Cloud desktop based picture transmission method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483537A (en) * | 2009-02-12 | 2009-07-15 | 周佺喜 | Method for real-time displaying website user status in webpage instant communication |
CN102073694A (en) * | 2010-12-17 | 2011-05-25 | 传神联合(北京)信息技术有限公司 | Original translated text multi-page checking method |
CN102591963A (en) * | 2011-12-30 | 2012-07-18 | 奇智软件(北京)有限公司 | Method and device for controlling webpage content loading |
CN103412890A (en) * | 2013-07-19 | 2013-11-27 | 北京亿赞普网络技术有限公司 | Webpage loading method and device |
CN104573023A (en) * | 2015-01-12 | 2015-04-29 | 天津车之家科技有限公司 | Webpage picture checking method and device as well as computing device |
CN105205845A (en) * | 2015-09-14 | 2015-12-30 | 广州视睿电子科技有限公司 | Webpage animation rendering method and device |
CN105701246A (en) * | 2015-11-25 | 2016-06-22 | 青岛海信电器股份有限公司 | Terminal information loading method and device based on web application |
-
2016
- 2016-12-16 CN CN201611170858.8A patent/CN106682135A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483537A (en) * | 2009-02-12 | 2009-07-15 | 周佺喜 | Method for real-time displaying website user status in webpage instant communication |
CN102073694A (en) * | 2010-12-17 | 2011-05-25 | 传神联合(北京)信息技术有限公司 | Original translated text multi-page checking method |
CN102591963A (en) * | 2011-12-30 | 2012-07-18 | 奇智软件(北京)有限公司 | Method and device for controlling webpage content loading |
CN103412890A (en) * | 2013-07-19 | 2013-11-27 | 北京亿赞普网络技术有限公司 | Webpage loading method and device |
CN104573023A (en) * | 2015-01-12 | 2015-04-29 | 天津车之家科技有限公司 | Webpage picture checking method and device as well as computing device |
CN105205845A (en) * | 2015-09-14 | 2015-12-30 | 广州视睿电子科技有限公司 | Webpage animation rendering method and device |
CN105701246A (en) * | 2015-11-25 | 2016-06-22 | 青岛海信电器股份有限公司 | Terminal information loading method and device based on web application |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111405071A (en) * | 2020-06-02 | 2020-07-10 | 广东睿江云计算股份有限公司 | Cloud desktop based picture transmission method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484383B (en) | Page rendering method, device and equipment | |
CN106462403B (en) | Pre-acquiring grid blocks according to user intention | |
CN103814371B (en) | Web in Web browser using and the simulation of auxiliary equipment, Web application development tools and use their method | |
CN106021549A (en) | Page control method and device of web application program and terminal device | |
US20190243642A1 (en) | Collection of api documentations | |
CN104657499A (en) | Webpage loading method and device of client-side APP (Application) | |
CN109637238B (en) | Method, device, equipment and storage medium for generating exercise questions | |
CN105975576A (en) | Terminal content adaptive display method and device as well as terminal | |
DE112015000299T5 (en) | Portable wireless self-hosted condition monitoring web server and usage method | |
CN107239566B (en) | User journal generation method, electronic equipment and computer-readable storage medium | |
CN106874271A (en) | A kind of method and system that PC webpages are converted to mobile terminal webpage | |
CN109408162A (en) | A kind of method and terminal showing the page | |
CN106980698A (en) | Browser static resource loading method, browser program and readable storage medium storing program for executing | |
CN103581987B (en) | The test method and device of the page download speed of mobile terminal device | |
CN105045464A (en) | Method and device for prompting of form filling progress | |
CN109299448A (en) | Resume intelligence filling method, system, server and storage medium | |
CN109948074A (en) | Website data interconnection method, device, storage medium, processor and electronic equipment | |
CN104777960B (en) | The method and apparatus for realizing the compound object horse race lamp of sectional triggering | |
CN108268491A (en) | Heating power drawing generating method and device | |
CN104166545B (en) | The sniff method and device of a kind of web page resources | |
CN106095674B (en) | A kind of website automation test method and device | |
CN106682135A (en) | Webpage loading method and device | |
CN110020291B (en) | Webpage layout processing method and device | |
CN106406842A (en) | A method and a system for displaying histograms on webpages | |
CN105045893B (en) | Method and device for adapting pictures in webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170517 |
|
RJ01 | Rejection of invention patent application after publication |