CN103312736A - Webpage processing method and system and proxy server - Google Patents

Webpage processing method and system and proxy server Download PDF

Info

Publication number
CN103312736A
CN103312736A CN2012100598711A CN201210059871A CN103312736A CN 103312736 A CN103312736 A CN 103312736A CN 2012100598711 A CN2012100598711 A CN 2012100598711A CN 201210059871 A CN201210059871 A CN 201210059871A CN 103312736 A CN103312736 A CN 103312736A
Authority
CN
China
Prior art keywords
independent element
data
portable terminal
server
web
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
CN2012100598711A
Other languages
Chinese (zh)
Other versions
CN103312736B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210059871.1A priority Critical patent/CN103312736B/en
Publication of CN103312736A publication Critical patent/CN103312736A/en
Application granted granted Critical
Publication of CN103312736B publication Critical patent/CN103312736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a webpage processing method and system and proxy server, and belongs to the technical field of information processing. The method comprises following steps: the proxy server acquires a website of an independent element in the webpage; a corresponding independent element data of the website of the independent element is pulled from a webpage server; and the independent element data is packaged and sent to a mobile terminal. The proxy server comprises an acquisition module, an execution module and a sending module. With an acquisition of the website of the independent element in the webpage, a pulling of the independent element data from the webpage server and a sending of the packaged data to the mobile terminal, the number of interactions between the mobile terminal and the server are reduced so that an occupying time of browsing the webpage is shortened and a network flow is reduced and thus a user experience is further enhanced.

Description

Web page processing method and system, and acting server
Technical field
The present invention relates to technical field of information processing, particularly a kind of web page processing method and system, and acting server.
Background technology
Along with the development of mobile technology, increasing user uses the portable terminal browsing page.When the user uses the portable terminal browsing page, usually need through following step:
Step S1: browser of mobile terminal and web page server are set up HTTP (Hypertext Transport Protocol, HTML (Hypertext Markup Language)) and are connected, and the requested webpage data;
Step S2: web page server issues corresponding web data to browser of mobile terminal;
Step S3: browser of mobile terminal receives web data and resolves demonstration, and disconnection is connected with the HTTP of web page server.
If contain a plurality of independent elements in the webpage, such as the independent picture of downloading of needs, chart etc., can comprise a plurality of network address URL (Uniform Resource Locator, URL(uniform resource locator)) in the web data that obtains among the step S2, the corresponding independent element of each network address.So, portable terminal also needs the network address according to independent element, is the step of each independent element above repeating, and obtaining independent element data, and the data of obtaining is resolved, and then shows together with web data.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
When the independent element that contains in the webpage is more, it is repeatedly mutual with web page server that portable terminal needs, and causes browsing time and the network traffics that page or leaf expends of throwing the net and be doubled and redoubled, and reduced user's experience, particularly in the situation that network condition is not so good, the user experiences non-constant.
Summary of the invention
In order to solve when containing more independent element in the webpage, portable terminal need to be repeatedly mutual with web page server, causes the problem of the waste of time and network traffics, and the embodiment of the invention provides a kind of web page processing method, server and system.Described technical scheme is as follows:
On the one hand, the embodiment of the invention provides a kind of web page processing method, and described method comprises:
Acting server obtains the network address of the independent element in the webpage, and described independent element comprises at least a in picture, chart and the animation;
Acting server pulls the independent element data corresponding with the network address of described independent element from web page server;
Acting server sends to portable terminal with described independent element data packing.
Preferably, described acting server obtains the network address of the independent element in the webpage, comprising:
The request of obtaining independent element data that acting server sends according to portable terminal, obtain the network address of described independent element, described request of obtaining independent element data is after described portable terminal receives the web data that web page server returns and resolves described web data, and acquiescence sends to described acting server.
Preferably, described acting server obtains before the network address of the independent element in the webpage, and described method also comprises:
Acting server receives the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request;
According to the described network address for the treatment of browsing page, pull the described web data for the treatment of browsing page from web page server;
From described web data, obtain the network address of the independent element in the webpage;
Correspondingly, described acting server sends to portable terminal with described independent element data packing, comprising:
Acting server is packed described web data and described independent element data together and is sent to described portable terminal.
Further, described acting server sends to described independent element data packing after the portable terminal, and described method also comprises: portable terminal is buffered in this locality with described independent element data.
Further, described acting server is packed described web data and described independent element data together and is sent to described portable terminal, comprising:
In the webpage head of described web data, insert described independent element data, thereby described web data and described independent element data are synthesized a new webpage;
Described new webpage is sent to described portable terminal.
Further, describedly insert described independent element data in the webpage head of described web data, thereby described web data and described independent element data are synthesized after the new webpage, described method also comprises:
Described new webpage is divided into a plurality of little pages;
Between the described little page, set up link;
Correspondingly, described described new webpage is sent to described portable terminal, comprising:
The described little page packed respectively send to described portable terminal.
On the other hand, the embodiment of the invention also provides a kind of acting server, and described server comprises:
Acquisition module is used for obtaining the network address of the independent element of webpage, and described independent element comprises at least a in picture, chart and the animation;
Executive Module is used for pulling independent element data corresponding to network address that gets access to described acquisition module from web page server;
Sending module is used for the independent element data packing that described Executive Module obtains is sent to portable terminal.
Preferably, described acquisition module is used for, the request of obtaining independent element data according to the portable terminal transmission, obtain the network address of described independent element, described request of obtaining independent element data is after described portable terminal receives the web data that web page server returns and resolves described web data, and acquiescence sends to described acting server.
Preferably, described server also comprises:
Receiver module is used for receiving the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request;
Then described Executive Module also is used for according to the described network address for the treatment of browsing page, pulls web data from web page server;
Correspondingly, described acquisition module is for the network address of obtaining the independent element the webpage from described web data;
Described sending module, being used for described web data and described independent element data packed together sends to described portable terminal.
Further, described sending module comprises:
Synthesis unit is used for inserting described independent element data at the webpage head of described web data, thereby the web data that described Executive Module is obtained and independent element data synthesize a new webpage;
Transmitting element is used for the new webpage that described synthesis unit is synthetic and sends to described portable terminal.
Further, described sending module also comprises:
Cutting unit is used for the page-size according to the synthetic new webpage of described synthesis unit, and described new webpage is divided into a plurality of little pages;
Link unit is used for setting up link between the described little page;
Transmitting element sends to described portable terminal for the described little page is packed respectively.
Another aspect, the embodiment of the invention provide a kind of Web Page Processing system, and described system comprises:
Web page server is used for storage network page data and independent element data;
Acting server is used for obtaining the network address of the independent element of webpage, and described independent element comprises at least a in picture, chart and the animation; Pull the independent element data corresponding with described request of obtaining independent element data from described web page server, and send described independent element data;
Portable terminal is used for receiving the independent element data that described web page server sends.
Alternatively, described portable terminal also is used for sending the web page browsing request to described web page server, receives the web data that described web page server returns; And send described request of obtaining independent element data to described acting server, comprise the network address of the independent element in the described web data in the described request of obtaining independent element data,
Then described acting server obtains the network address of described independent element from described request of obtaining independent element data.
Alternatively, described acting server is used for receiving the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request; From described web page server, pull and the described web data for the treatment of browsing page; Obtain the network address of the independent element in the described web data; From described web page server, pull the independent element data corresponding with the network address of described independent element; With the transmission of packing together of the described web data for the treatment of browsing page and described independent element data;
Correspondingly, described portable terminal is used for sending described web page browsing request to described acting server, and receives described web data and the described independent element data for the treatment of browsing page that described acting server sends.
Further, described portable terminal also is used for described independent element data is buffered in this locality.
With respect to prior art, the beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
By obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of web page processing method flow chart that the embodiment of the invention 1 provides;
Fig. 2 is a kind of web page processing method flow chart that the embodiment of the invention 2 provides;
Fig. 3 is a kind of web page processing method flow chart that the embodiment of the invention 3 provides;
Fig. 4 is the structured flowchart of a kind of acting server of providing of the embodiment of the invention 4;
Fig. 5 is the structured flowchart of a kind of acting server of providing of the embodiment of the invention 5;
Fig. 6 is the structured flowchart of a kind of acting server of providing of the embodiment of the invention 6;
Fig. 7 is the structural representation of a kind of Web Page Processing system that provides of the embodiment of the invention 7.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
The embodiment of the invention provides a kind of web page processing method, and referring to Fig. 1, the method comprises:
Step 101: acting server obtains the network address of the independent element in the webpage, and independent element comprises at least a in picture, chart and the animation.
Particularly, generally include the network address of a plurality of independent elements in the web data of a webpage, the independent element that the corresponding needs of each network address are downloaded separately is such as picture, chart or animation etc.
Step 102: acting server pulls the independent element data corresponding with the network address of independent element from web page server.
Step 103: acting server sends to portable terminal with independent element data packing.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.
Embodiment 2
The embodiment of the invention provides a kind of web page processing method, in the present embodiment, by acting server the web data of webpage and the packing of independent element data is sent to portable terminal (correspondence is embodiment 5 hereinafter), and referring to Fig. 2, the method comprises:
Step 201: the web page browsing request that the acting server mobile terminal receive sends comprises the network address for the treatment of browsing page in the web page browsing request.
Step 202: acting server pulls the web data for the treatment of browsing page according to the network address for the treatment of browsing page from web page server.
Acting server is according to the network address for the treatment of browsing page that comprises in the web page browsing request, and access and this network address be web page server accordingly, pulls web data from this server.
Step 203: acting server obtains the network address of the independent element in the webpage from web data, and independent element comprises at least a in picture, chart and the animation.
Particularly, generally include the network address of a plurality of independent elements in the web data of a webpage, the independent element that the corresponding needs of each network address are downloaded separately is such as picture, chart or animation etc.Acting server pulls behind the web data of browsing page, the network address of the independent element that can obtain wherein to comprise.
Step 204: acting server pulls the independent element data corresponding with the network address of independent element from web page server.
Acting server according to the network address of each independent element, is accessed the web page server corresponding with this network address respectively, and independent element data is pulled.
Step 205: acting server inserts independent element data in the webpage head of the web data that obtains, thereby the web data that obtains and independent element data are synthesized a new webpage.
Particularly, can adopt following manner independent element data to be joined in the webpage head of web data:
Figure BDA0000141793600000061
Wherein,<pageres〉and</pageres〉be customized label, can arbitrarily name according to user preferences.
Attribute name generates according to the network address of each independent element, obtains such as converting through the HASH algorithm.By attribute name is associated with the network address of independent element, guaranteed the uniqueness of all properties name, the problem of having avoided each independent element to bear the same name.
Correspondingly, in web data, the network address of each independent element is replaced with the title of this independent element, the data of the data of picture 1 as mentioned in the above, picture 2 etc.
Step 206: new webpage is divided into a plurality of little pages.
Particularly, can cut apart according to the line number of new webpage.Such as, if the new webpage after synthetic comprises altogether 1000 row, new webpage can be divided into 10 little pages, each little page comprises 100 row.Obviously, above-mentioned data are only for illustrating, not as limit.In the webpage head of each little page, according to the described method of step 205, add the independent element data that is divided in this little page.New webpage is divided into the little page, can effectively controls the size of the page, in the follow-up data transmittance process, each data volume of transmitting will reduce like this, and the probability of makeing mistakes also can reduce.
Step 207: between the little page, set up link.
Set up link between the little page, so that all little pages are interrelated, thereby portable terminal can by the link between the little page, be browsed respectively all little pages.
Concrete, the link that can in first little page, set up second little page, the link of in second little page, setting up the 3rd the little page, the link of in N the little page, setting up N+1 the little page, thus so that the adjacent little page is interrelated.Like this, the link by between the adjacent little page can browse to whole web page contents.
Certainly, also can in each little page, set up and the linking of other all little page, make all pages interrelated, by first little page, can select to link other any one little page.
Step 208: the little page packed respectively sends to portable terminal.
In this step, at first first little page is sent to portable terminal, after portable terminal receives first little page, resolve first the independent element that comprises in the little page, and the independent element data that will parse is saved in the buffer memory for subsequent use, then resolve the web data of this little page, during demonstration, the web data of this little page is shown together with independent element data.Then the link of choosing according to user in first little page sends the little page that the request user chooses, and the little page of the user being chosen according to request sends to portable terminal, and then, portable terminal shows this little page.In another case, after acting server sends to portable terminal with a little page, can give tacit consent to and will send to portable terminal with other little page that this little page is linked, portable terminal can with other little page caches, be convenient to subsequent calls.
Need to prove, in the above-mentioned steps, step 205-208 is preferred steps, in specific implementation, also can be after step 204, to treat that directly the packing of the web data of browsing page and independent element data sends to portable terminal, portable terminal elder generation analyzing web page data, and then search independent element data according to web data; Perhaps after the synthetic new webpage of step 205, the new webpage after synthetic is sent to portable terminal, correspondingly, portable terminal directly shows synthetic new webpage afterwards.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.And the embodiment of the invention also sends to portable terminal after web data and independent element data is synthetic, improved the processing speed of portable terminal.Further, the embodiment of the invention sends to portable terminal after the new webpage after synthesizing can also being divided into a plurality of little pages, thereby controlled the size that every secondary data transmits, avoided owing to transmitting the excessive network error that causes of data, more be conducive to the transmission of data, further promoted user's experience.
Embodiment 3
The embodiment of the invention provides a kind of web page processing method, in the present embodiment, portable terminal directly pulls the web data for the treatment of browsing page from web page server, obtains independent element data (correspondence is embodiment 6 hereinafter) the webpage from acting server again, referring to Fig. 3, the method comprises:
Step 301: the request of obtaining independent element data that the acting server mobile terminal receive sends, obtain the network address that comprises the independent element in the webpage in the request of independent element data, independent element comprises at least a in picture, chart and the animation.
Before this step, the method also comprises: portable terminal sends the web page browsing request to web page server; Receive the web data that web page server returns; After receiving web data, read comprising the network address of independent element, send the request of obtaining independent element data to acting server, this obtains the network address that comprises the independent element in the web data in the request of independent element data.
Step 302: acting server obtains the network address of the independent element in the webpage.
Particularly, acting server obtains the network address of the independent element in the webpage from the request of obtaining independent element data.
Step 303: acting server pulls the independent element data corresponding with the network address of independent element from web page server.
According to the network address of the independent element that obtains, access the web page server corresponding with this network address, pull independent element data.
Step 304: acting server sends to portable terminal with independent element data packing.
Preferably, can will send to again portable terminal after the independent element data compression.
More preferably, independent element data can be separated packing and send to respectively again portable terminal.
After portable terminal receives these data, should parse by independent element data, and store in the buffer memory, and show with web data.Web data is that portable terminal formerly obtains from web page server accordingly, parses this web data after obtaining, and obtains the network address of the independent element that comprises in the web data, then sends the request of obtaining independent element data.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.And in the embodiment of the invention, independent element data packing is sent to portable terminal, through once mutual, portable terminal has just obtained independent element data, avoid repeatedly mutual with web page server, saved the acquisition time of webpage, further promoted user's experience.
Embodiment 4
The embodiment of the invention provides a kind of acting server, and this server is used for carrying out the web page processing method that above-described embodiment 1 provides.Referring to Fig. 4, this acting server comprises:
Acquisition module 401 is used for obtaining the network address of the independent element of webpage, and independent element comprises at least a in picture, chart and the animation.
Particularly, generally include the network address of a plurality of independent elements in the web data of a webpage, the independent element that the corresponding needs of each network address are downloaded separately is such as picture, chart or animation etc.
Executive Module 402 is used for pulling independent element data corresponding to network address that gets access to acquisition module 401 from web page server.
Sending module 403 is used for the independent element data packing that Executive Module 402 obtains is sent to portable terminal.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.
Embodiment 5
The embodiment of the invention provides a kind of acting server, and this server is used for carrying out the web page processing method that above-described embodiment 2 provides.Referring to Fig. 5, this acting server comprises:
Acquisition module 501 is used for obtaining the network address of the independent element of webpage, and independent element comprises at least a in picture, chart and the animation.
Particularly, generally include the network address of a plurality of independent elements in the web data of a webpage, the independent element that the corresponding needs of each network address are downloaded separately is such as picture, chart or animation etc.
Executive Module 502 is used for pulling independent element data corresponding to network address that gets access to acquisition module 501 from web page server;
Sending module 503 is used for the independent element data packing that Executive Module 502 obtains is sent to portable terminal.
Preferably, this server also comprises:
Receiver module 504 is used for the web page browsing request that mobile terminal receive sends, and comprises the network address for the treatment of browsing page in the web page browsing request;
Then Executive Module 502 also is used for according to the network address for the treatment of browsing page, pulls web data from web page server;
Correspondingly, acquisition module 501 is for the network address of obtaining the independent element the webpage from web data;
Sending module 503, being used for web data and independent element data packed together sends to portable terminal.
Further, sending module 503 comprises:
Synthesis unit 5031 is used for inserting independent element data at the webpage head of web data, thereby the web data that Executive Module 502 is obtained and independent element data synthesize a new webpage;
Transmitting element 5032 is used for synthesis unit 5031 synthetic new webpages are sent to portable terminal.
Further, sending module 503 also comprises:
Cutting unit 5033 is used for synthesis unit 5031 synthetic new webpages are divided into a plurality of little pages.
Particularly, can according to the line number of new webpage, new webpage be divided into the little page with same number of rows.After new webpage is divided into the little page, can effectively control the size of the page, in the follow-up data transmittance process, each data volume of transmitting will reduce like this, and the probability of makeing mistakes also can reduce.
Link unit 5034 is used for setting up link between the little page.
Between the little page, set up link, so that all little pages are interrelated, thereby by the link between the little page, can browse all little pages.
Concrete, the link that can in first little page, set up second little page, the link of in second little page, setting up the 3rd the little page, the link of in N the little page, setting up N+1 the little page, thus so that the adjacent little page is interrelated.Like this, the link by between the adjacent little page can browse to whole web page contents.
Certainly, also can in each little page, set up and the linking of other all little page, make all pages interrelated, by first little page, can select to link other any one little page.
Correspondingly, transmitting element 5032 sends to portable terminal for the little page is packed respectively.
In this process, at first first little page is sent to portable terminal, after portable terminal receives first little page, resolve first the independent element that comprises in the little page, and the independent element data that will parse is saved in the buffer memory for subsequent use, then resolve the web data of this little page, during demonstration, web data is shown together with independent element data.Then the link of choosing according to user in first little page sends the little page that the request user chooses, and the little page of the user being chosen according to request sends to portable terminal.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.And the embodiment of the invention also sends to portable terminal after web data and independent element data is synthetic, improved the processing speed of portable terminal.Further, the embodiment of the invention sends to portable terminal after the new webpage after synthesizing can also being divided into a plurality of little pages, thereby controlled the size that every secondary data transmits, avoided owing to transmitting the excessive network error that causes of data, more be conducive to the transmission of data, further promoted user's experience.
Embodiment 6
The embodiment of the invention provides a kind of acting server, and this server is used for carrying out the web page processing method that above-described embodiment 3 provides.Referring to Fig. 6, this acting server comprises:
Acquisition module 601 is used for obtaining the network address of the independent element of webpage, and independent element comprises at least a in picture, chart and the animation.
Executive Module 602 is used for pulling independent element data corresponding to network address that gets access to acquisition module 601 from web page server.
Sending module 603 is used for the independent element data packing that Executive Module 602 obtains is sent to portable terminal.
After portable terminal receives these data, should parse by independent element data, and store in the buffer memory, during demonstration, with showing together with web data.Web data is that portable terminal formerly obtains from web page server accordingly, parses this web data after obtaining, and obtains the network address of the whole independent elements that comprise in the web data, then to sending request.
Preferably, the request of obtaining independent element data that acquisition module 601 is used for according to the portable terminal transmission, obtain the network address of independent element, this request of obtaining independent element data is after portable terminal receives the web data that web page server returns and resolves this web data, and acquiescence sends to acting server.
Particularly, portable terminal sends the web page browsing request to web page server; The web data that the reception web page server returns is also resolved this web data, obtains the network address of independent element; Then send the request obtain independent element data to acting server, obtain the network address that comprises the independent element in the web data in the request of independent element data.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.And in the embodiment of the invention, independent element data packing is sent to portable terminal, through once mutual, portable terminal has just obtained independent element data, avoid repeatedly mutual with web page server, saved the acquisition time of webpage, further promoted user's experience.
Embodiment 7
Referring to Fig. 7, the embodiment of the invention provides a kind of Web Page Processing system 70, and this system comprises:
Web page server 701 is used for storage network page data and independent element data;
Acting server 702 is used for obtaining the network address of the independent element of webpage, and independent element comprises at least a in picture, chart and the animation; Pull the independent element data corresponding with the request of obtaining independent element data from web page server 701, and send this independent element data;
Portable terminal 703 is used for the independent element data that Receiving Agent server 702 sends.
In a specific implementation of the embodiment of the invention, portable terminal 703 also is used for sending the web page browsing request to web page server 701, and the web data that reception web page server 701 returns is also resolved this web data; And send the request of obtaining independent element data to acting server 702, obtain the network address that comprises the independent element in the web data in the request of independent element data.Then acting server 702 obtains the network address of independent element from this obtains the request of independent element data.
In another specific implementation of the embodiment of the invention, acting server 702 is used for receiving the web page browsing request, comprises the network address for the treatment of browsing page in the web page browsing request; From web page server 701, pull and the web data for the treatment of browsing page; Obtain the network address of the independent element in the web data; From web page server 701, pull the independent element data corresponding with the network address of independent element; The transmission of packing together of the web data of browsing page and independent element data will be treated.Correspondingly, portable terminal 703 is used for sending the web page browsing request to acting server 702, and web data and the independent element data of 702 transmissions of Receiving Agent server.
The embodiment of the invention is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, reduced the number of times of portable terminal and server interaction, thereby shortened the time that browsing page takies and reduced network traffics, and then promoted user's experience.And in the embodiment of the invention, independent element data packing is sent to portable terminal, through once mutual, portable terminal has just obtained independent element data, avoid repeatedly mutual with web page server, saved the acquisition time of webpage, further promoted user's experience.
The present embodiment is by obtaining the network address of the independent element in the webpage, pull independent element data from web page server, and the packing of this data sent to portable terminal, solved when containing more independent element in the webpage, portable terminal needs repeatedly mutual with web page server, cause browsing the problem that time that page or leaf expends and network traffics are doubled and redoubled of throwing the net, thereby promoted user's experience.
Need to prove: the acting server that above-described embodiment provides is when processing webpage, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure that is about to server is divided into different functional modules, to finish all or part of function described above.In addition, the acting server that above-described embodiment provides, system and web page processing method embodiment belong to same design, and its specific implementation process sees embodiment of the method for details, repeats no more here.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can come the relevant hardware of instruction to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a web page processing method is characterized in that, described method comprises:
Acting server obtains the network address of the independent element in the webpage, and described independent element comprises at least a in picture, chart and the animation;
Acting server pulls the independent element data corresponding with the network address of described independent element from web page server;
Acting server sends to portable terminal with described independent element data packing.
2. the method for claim 1 is characterized in that, described acting server obtains the network address of the independent element in the webpage, comprising:
The request of obtaining independent element data that acting server sends according to portable terminal, obtain the network address of described independent element, described request of obtaining independent element data is after described portable terminal receives the web data that web page server returns and resolves described web data, and acquiescence sends to described acting server.
3. the method for claim 1 is characterized in that, described acting server obtains before the network address of the independent element in the webpage, and described method also comprises:
Acting server receives the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request;
According to the described network address for the treatment of browsing page, pull the described web data for the treatment of browsing page from web page server, and from described web data, obtain the network address of the independent element in the webpage;
Correspondingly, described acting server sends to portable terminal with described independent element data packing and comprises:
Acting server is packed described web data and described independent element data together and is sent to described portable terminal.
4. method as claimed in claim 2 or claim 3 is characterized in that, described acting server sends to described independent element data packing after the portable terminal, and described method also comprises: portable terminal is buffered in this locality with described independent element data.
5. method as claimed in claim 3 is characterized in that, described acting server is packed described web data and described independent element data together and sent to described portable terminal, comprising:
In the webpage head of described web data, insert described independent element data, thereby described web data and described independent element data are synthesized a new webpage;
Described new webpage is sent to described portable terminal.
6. method as claimed in claim 5 is characterized in that, describedly inserts described independent element data in the webpage head of described web data, thereby described web data and described independent element data are synthesized after the new webpage, and described method also comprises:
Described new webpage is divided into a plurality of little pages;
Between the described little page, set up link;
Correspondingly, described described new webpage is sent to described portable terminal, comprising:
The described little page packed respectively send to described portable terminal.
7. an acting server is characterized in that, described server comprises:
Acquisition module is used for obtaining the network address of the independent element of webpage, and described independent element comprises at least a in picture, chart and the animation;
Executive Module is used for pulling independent element data corresponding to network address that gets access to described acquisition module from web page server;
Sending module is used for the independent element data packing that described Executive Module obtains is sent to portable terminal.
8. server as claimed in claim 7, it is characterized in that, described acquisition module is used for, the request of obtaining independent element data according to the portable terminal transmission, obtain the network address of described independent element, described request of obtaining independent element data is after described portable terminal receives the web data that web page server returns and resolves described web data, and acquiescence sends to described acting server.
9. server as claimed in claim 7 is characterized in that, described server also comprises:
Receiver module is used for receiving the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request;
Then described Executive Module also is used for according to the described network address for the treatment of browsing page, pulls web data from web page server;
Correspondingly, described acquisition module is for the network address of obtaining the independent element the webpage from described web data;
Described sending module, being used for described web data and described independent element data packed together sends to described portable terminal.
10. server as claimed in claim 9 is characterized in that, described sending module comprises:
Synthesis unit is used for inserting described independent element data at the webpage head of described web data, thereby the web data that described Executive Module is obtained and independent element data synthesize a new webpage;
Transmitting element is used for the new webpage that described synthesis unit is synthetic and sends to described portable terminal.
11. server as claimed in claim 10 is characterized in that, described sending module also comprises:
Cutting unit is used for the page-size according to the synthetic new webpage of described synthesis unit, and described new webpage is divided into a plurality of little pages;
Link unit is used for setting up link between the described little page;
Transmitting element sends to described portable terminal for the described little page is packed respectively.
12. a Web Page Processing system is characterized in that, described system comprises:
Web page server is used for storage network page data and independent element data;
Acting server is used for obtaining the network address of the independent element of webpage, and described independent element comprises at least a in picture, chart and the animation; Pull the independent element data corresponding with described request of obtaining independent element data from described web page server, and send described independent element data;
Portable terminal is used for receiving the independent element data that described web page server sends.
13. system according to claim 12 is characterized in that, described portable terminal also is used for sending the web page browsing request to described web page server, receives the web data that described web page server returns; And send described request of obtaining independent element data to described acting server, comprise the network address of the independent element in the described web data in the described request of obtaining independent element data,
Then described acting server obtains the network address of described independent element from described request of obtaining independent element data.
14. system according to claim 12 is characterized in that, described acting server is used for receiving the web page browsing request that described portable terminal sends, and comprises the network address for the treatment of browsing page in the described web page browsing request; From described web page server, pull and the described web data for the treatment of browsing page; Obtain the network address of the independent element in the described web data; From described web page server, pull the independent element data corresponding with the network address of described independent element; With the transmission of packing together of the described web data for the treatment of browsing page and described independent element data;
Correspondingly, described portable terminal is used for sending described web page browsing request to described acting server, and receives described web data and the described independent element data for the treatment of browsing page that described acting server sends.
15. each described system is characterized in that according to claim 12-14, described portable terminal also is used for described independent element data is buffered in this locality.
CN201210059871.1A 2012-03-08 2012-03-08 Web page processing method and system and proxy server Active CN103312736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210059871.1A CN103312736B (en) 2012-03-08 2012-03-08 Web page processing method and system and proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210059871.1A CN103312736B (en) 2012-03-08 2012-03-08 Web page processing method and system and proxy server

Publications (2)

Publication Number Publication Date
CN103312736A true CN103312736A (en) 2013-09-18
CN103312736B CN103312736B (en) 2016-08-03

Family

ID=49137520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210059871.1A Active CN103312736B (en) 2012-03-08 2012-03-08 Web page processing method and system and proxy server

Country Status (1)

Country Link
CN (1) CN103312736B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544320A (en) * 2013-11-05 2014-01-29 从兴技术有限公司 Webpage generation method and device
CN104283974A (en) * 2014-10-31 2015-01-14 腾讯科技(深圳)有限公司 Data pulling method, related equipment and communication system
CN106227890A (en) * 2016-08-22 2016-12-14 乐视控股(北京)有限公司 Web animation resource downloading processing method and system, terminal, Resource Server
CN103942168B (en) * 2014-01-08 2017-04-05 北京奇虎科技有限公司 A kind of browser carries out the method and system of information transfer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484155A (en) * 2002-08-13 2004-03-24 �Ҵ���˾ System and method for updating network proxy cache server object
US20060010225A1 (en) * 2004-03-31 2006-01-12 Ai Issa Proxy caching in a photosharing peer-to-peer network to improve guest image viewing performance
US20070180075A1 (en) * 2002-04-25 2007-08-02 Doug Chasman System and method for synchronization of version annotated objects
CN101079895A (en) * 2006-12-21 2007-11-28 腾讯科技(深圳)有限公司 A method, system and proxy service device for quick access to Web page
CN101202755A (en) * 2007-12-20 2008-06-18 腾讯科技(深圳)有限公司 System, method and device for displaying picture of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180075A1 (en) * 2002-04-25 2007-08-02 Doug Chasman System and method for synchronization of version annotated objects
CN1484155A (en) * 2002-08-13 2004-03-24 �Ҵ���˾ System and method for updating network proxy cache server object
US20060010225A1 (en) * 2004-03-31 2006-01-12 Ai Issa Proxy caching in a photosharing peer-to-peer network to improve guest image viewing performance
CN101079895A (en) * 2006-12-21 2007-11-28 腾讯科技(深圳)有限公司 A method, system and proxy service device for quick access to Web page
CN101202755A (en) * 2007-12-20 2008-06-18 腾讯科技(深圳)有限公司 System, method and device for displaying picture of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544320A (en) * 2013-11-05 2014-01-29 从兴技术有限公司 Webpage generation method and device
CN103942168B (en) * 2014-01-08 2017-04-05 北京奇虎科技有限公司 A kind of browser carries out the method and system of information transfer
CN104283974A (en) * 2014-10-31 2015-01-14 腾讯科技(深圳)有限公司 Data pulling method, related equipment and communication system
CN106227890A (en) * 2016-08-22 2016-12-14 乐视控股(北京)有限公司 Web animation resource downloading processing method and system, terminal, Resource Server

Also Published As

Publication number Publication date
CN103312736B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN104063460B (en) A kind of method and apparatus loading webpage in a browser
CN102438045B (en) Method and system for pre-fetching web page, and method for accessing web page
CN105760405A (en) Methods and devices for obtaining network resource for loading web page and method and device for caching network resource
CN103116645B (en) The method and device of browsing page by mobile equipment
US20130275496A1 (en) Method, Apparatus And System For Rendering Web Page
CN105095280A (en) Caching method and apparatus for browser
CN103412928A (en) Method and device for realizing browser page intelligent response-type layout on mobile terminal
CN103678549A (en) Webpage table data sharing method and device
CN101369280A (en) Method and device for web page browsing in digital television terminal
CN103412890A (en) Webpage loading method and device
CN103067423B (en) The method of browser kernel adaptation and browser
US20130305140A1 (en) Apparatus, system, and method for obtaining image and text information
US9143378B2 (en) Rendering components within different browser environments
CN101465866B (en) Method for accessing WAP network based on Web terminal and transition module
CN101763357A (en) Method and system for browser to load internet resources
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN108984170A (en) The multilingual rendering method of the H5 page and device
CN101808114A (en) Method and system for realizing website access and front-end server
CN106776761A (en) A kind of mobile browser renders the method and device of webpage
CN101799821B (en) Method and system for realizing webpage application by widget
CN103258056B (en) Process the method for style design table, server, client and system
US20170076008A1 (en) Dynamic file concatenation
CN103312736A (en) Webpage processing method and system and proxy server
CN104899212B (en) Web page display method, server and system
KR100749845B1 (en) Mobile system having features of mobile active page and method for mobile internet service thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant