CN104426985A - Method, device and system for displaying webpage - Google Patents

Method, device and system for displaying webpage Download PDF

Info

Publication number
CN104426985A
CN104426985A CN201310404904.6A CN201310404904A CN104426985A CN 104426985 A CN104426985 A CN 104426985A CN 201310404904 A CN201310404904 A CN 201310404904A CN 104426985 A CN104426985 A CN 104426985A
Authority
CN
China
Prior art keywords
web page
page resources
resources file
proxy 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
CN201310404904.6A
Other languages
Chinese (zh)
Other versions
CN104426985B (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 CN201310404904.6A priority Critical patent/CN104426985B/en
Publication of CN104426985A publication Critical patent/CN104426985A/en
Application granted granted Critical
Publication of CN104426985B publication Critical patent/CN104426985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system for displaying a webpage. The method comprises the following steps that whether a system kernel receives a webpage access request on a website server or not is monitored; if so, the webpage access request is intercepted and is forwarded to a proxy server; a second webpage resource file which is generated through processing a first webpage resource file and is returned by the proxy server is received, so that the system kernel resolves the received second webpage resource file for generating webpage elements; the webpage elements are obtained, and resources in the second webpage resource file are displayed, wherein the first webpage resource file is a webpage resource file obtained by the proxy server according to the webpage access request, and the processing at least includes the processing enabling the size of the second webpage resource file to be smaller than the size of the first webpage resource file. The method, the device and the system have the advantages that the network flow can be effectively reduced, in addition, the second webpage resource file is displayed through obtaining the webpage elements generated by resolving the second webpage resource file via the system, and better rendering and typesetting effects are achieved.

Description

The method of display web page, Apparatus and system
Technical field
The present invention relates to communication technical field, particularly relate to the method for display web page, Apparatus and system.
Background technology
At present, one of index that network traffics are paid close attention to as terminal use, is referred to terminal and is being carried out with Website server the data volume transmitted in the process of exchanges data by network.When network data transmission rate request is certain, network traffics are got over conference and are taken more broadband resource, therefore saving network flow becomes the problem that terminal must solve.
For this reason, in existing technology, the third party's browser (such as QQ browser, UC browser) in terminal achieves a kind of own kernel voluntarily, i.e. the browser kernel that realizes voluntarily of end application.When terminal third party browser have by oneself kernel receive page request time, third party's browser can with Protocol but not HTTP standard agreement to Proxy request web page resources, then proxy server carries out compressing to the web page resources obtained from Website server and changes, then returns to third party's browser with Protocol.The above-mentioned third party's browser including own kernel can realize saving by the compressing and converting operation of proxy server the object of flow.
To in the research and practice process of prior art, inventor finds that prior art at least exists following problem: because own kernel needs application program to realize voluntarily, the workload of terminal development and the maintenance of cost thereof can be increased, usually own kernel adopts simple and easy kernel, namely own kernel only has the basic function of system kernel: page parsing, play up, resource request etc., usually JS(Javascript can not be supported, client-side scripting language); The webpage capture that Fig. 1 (a) shows for the system kernel that background technology of the present invention provides, the webpage capture that Fig. 1 (b) shows for the own kernel that background technology of the present invention provides.See Fig. 1 (a) and Fig. 1 (b), playing up with typesetting effect of own kernel is poorer than system kernel.
Summary of the invention
In view of above reason, the embodiment of the present invention proposes method, the Apparatus and system of display web page, overcomes the drawback of the webpage display effect difference caused because adopting simple and easy kernel analyzing web page resource.
On the one hand, embodiments provide a kind of method of display web page, described method comprises:
Whether monitoring system kernel receives the web access requests to Website server;
If so, then described web access requests tackled and be forwarded to proxy server;
Receive the second web page resources file carrying out processing generation to the first web page resources file that described proxy server returns, to make described system kernel, parsing generating web page key element is being carried out to the second received web page resources file;
Obtain described webpage key element, the resource in described second web page resources file is shown;
Wherein said first web page resources file is the web page resources file that described proxy server obtains according to described web access requests, and described process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file.
On the one hand, embodiments provide a kind of method of display web page, described method comprises:
Whether client monitors system kernel receives the web access requests to Website server;
If so, then described client is tackled described web access requests and is forwarded to proxy server;
Described proxy server obtains the first web page resources file according to described web access requests, and the second web page resources file described first web page resources file being processed to rear generation is sent to described client, wherein said process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file;
Described client receives described second web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Described client obtains described webpage key element, shows the resource in described second web page resources file.
On the one hand, embodiments provide a kind of device of display web page, described device comprises:
Whether monitoring modular, receive the web access requests to Website server for monitoring system kernel;
Interception forwarding module, for when described monitoring module monitors is to described web access requests, tackles described web access requests and is forwarded to proxy server;
Receiver module, for receiving the second web page resources file carrying out processing generation to the first web page resources file that described proxy server returns, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Display module, for obtaining described webpage key element, shows the resource in described second web page resources file;
Wherein, described first web page resources file is the web page resources file that described proxy server obtains according to described web access requests, and described process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file.
On the one hand, the invention provides a kind of system of display web page, described system comprises: client, proxy server;
Whether client monitors system kernel receives the web access requests to Website server;
If so, then described client is tackled described web access requests and is forwarded to proxy server;
Described proxy server obtains the first web page resources file according to described web access requests, and the second web page resources file described first web page resources file being processed to rear generation is sent to described client, wherein said process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file;
Described client receives described second web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Described client obtains described webpage key element, shows the resource in described second web page resources file.
Compared to prior art, what the embodiment of the present invention was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, receive the web page resources file sent after carrying out size reduction process by the web page resources file of proxy server to the institute's accessed web page obtained, effectively reduce network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
The webpage capture that Fig. 1 (a) shows for the system kernel that background technology of the present invention provides;
The webpage capture that Fig. 1 (b) shows for the own kernel that background technology of the present invention provides;
The schematic flow sheet of the method for a kind of display web page that Fig. 2 provides for first embodiment of the invention;
The schematic flow sheet of the method for a kind of display web page that Fig. 3 provides for second embodiment of the invention;
The schematic flow sheet of the method for a kind of display web page that Fig. 4 provides for third embodiment of the invention;
The structural representation of the device of a kind of display web page that Fig. 5 provides for fourth embodiment of the invention;
The structural representation of the device of a kind of display web page that Fig. 6 provides for fifth embodiment of the invention;
The structural representation of the system of a kind of display web page that Fig. 7 provides for sixth embodiment of the invention;
Fig. 8 is the structural representation that can be used for the hardware client implementing display web page method of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
Fig. 2 shows the first embodiment of the present invention.
The schematic flow sheet of the method for a kind of display web page that Fig. 2 provides for first embodiment of the invention.The method can be applicable to client.Wherein said client can be software client, such as the web browser at display web page interface; Also can be hardware client, such as desktop computer, notebook computer, panel computer, personal digital assistant (PDA), smart mobile phone maybe can process and any other electronic installation of display web page information.See Fig. 2, described method comprises:
Whether step S201, monitoring system kernel receive the web access requests to Website server, if so, perform step S202.
The web access requests of Website server is comprised to the URL(uniform resource locator) of institute's accessed web page.In the step S201 of the present embodiment, client detects user in real time and whether triggers peer link in the webpage that system kernel shows or the URL(uniform resource locator) of direct input institute accessed web page in shown webpage, if so, then judge that system kernel receives the web access requests to Website server.
Step S202, web access requests tackled and is forwarded to proxy server.
In existing technology, owing to receive the web access requests to Website server when system kernel after, client can by resolving the URL(uniform resource locator) that it asks to comprise, obtain the destination address of the Website server corresponding with this request, send this request by standard agreement (such as http protocol) directly to described Website server.In the present embodiment, in order to use proxy server to reach the object reducing network traffics, after client monitors system kernel receives the web access requests to Website server, immediately this request is tackled, by this request forward to proxy server.
What step S203, Receiving Agent server returned carries out processing the second web page resources file generated to the first web page resources file, is carrying out parsing generating web page key element to make system kernel to the second received web page resources file.
In the present embodiment, the first web page resources file is the web page resources file that proxy server obtains according to above-mentioned web access requests, and described process at least comprises the process making the size of the second web page resources file be less than the size of the first web page resources file.
By after being forwarded to proxy server to the web access requests of Website server, first proxy server judges whether there is the web page resources file corresponding with this request in local cache, if had, the then web page resources file of proxy server from local cache directly corresponding to acquisition, as the first web page resources file, if not, the then URL(uniform resource locator) that comprises of this request of proxy server parses, obtain the destination address of the Website server corresponding with this request, this request is sent to described Website server according to this destination address, then receive the web page resources file that described Website server returns according to this request, as the first web page resources file.
Proxy server is after getting the first web page resources file, compression process and/or resource filtering process (such as advertising resource filtration treatment) are carried out to the first web page resources file, generate the second web page resources file that size is less than the first web page resources file, and this second web page resources file is sent to client.Client receives described second web page resources file.
In the present embodiment, client is after receiving the second web page resources file, and system kernel carries out parsing generating web page key element, for the display of html web page to received Secondary resource file.Wherein, webpage key element comprises the attribute of web page element and the web page element comprised in Secondary resource file, and web page element comprises list, button, picture, word or link further, the attribute of web page element is the information be described web page element, comprises position, size, color, interior perhaps shape.
The webpage key element that step S204, acquisition generate, shows the resource in the second web page resources file.
In the present embodiment, after the Secondary resource file received client until system kernel carries out parsing generating web page key element, client obtains this webpage key element, and plays up the resource (html web page content) in the second web page resources file on the screen of client corresponding device accordingly.
What the present embodiment was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, receive the web page resources file of the institute's accessed web page obtained by proxy server and carry out the rear web page resources sent of size reduction process, effectively reducing network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect.
Fig. 3 shows the second embodiment of the present invention.
A kind of schematic flow sheet reducing the method for network traffics that Fig. 3 provides for second embodiment of the invention.The method can be applicable to client.Wherein, described client can be software client, such as the web browser at display web page interface; Also can be hardware client, such as desktop computer, notebook computer, panel computer, personal digital assistant (PDA), smart mobile phone maybe can process and any other electronic installation of display web page information.See Fig. 3, described method comprises:
Step S301, foundation are connected with the long of proxy server.
Whether step S302, monitoring system kernel receive the web access requests to Website server, if so, perform step S303.
In the present embodiment, when performing step S302, whether whether monitoring system kernel receive and receive the web access requests of Website server identical to the web access requests of Website server with monitoring system kernel when performing step S201 in the first embodiment, repeats no more here.
Step S303, web access requests tackled and is forwarded to proxy server.
The step S303 of the present embodiment is identical with the step S202 of the first embodiment, repeats no more here.
Step S304, to proxy server send include limit process parameter information.
In the present embodiment, the described parameter information resource identification information that comprises network access Identifier information and/or need filter.Wherein network access Identifier information is the information be described the network insertion situation of client, and such as network access Identifier information is describe the information that client is the network insertions such as employing 2G, 3G or WIFI; The resource identification information that need filter is the information needing the resource of filtering to be described in the web page resources to proxy server acquisition, such as, need the advertising resource information, picture resource information, video resource information etc. of filtering.
What step S305, Receiving Agent server returned carries out processing the second web page resources file generated to the first web page resources file, is carrying out parsing generating web page key element to make system kernel to the second received web page resources file.
Wherein, the first web page resources file is the web page resources file that proxy server obtains according to above-mentioned web access requests, and described process at least comprises the process making the size of the second web page resources file be less than the size of the first web page resources file.
In the present embodiment, the parameter information limiting process that includes that proxy server sends according to client processes the first web page resources file.Such as, under considering 2G network, common carrier is supplied to that the monthly payment flow of client user is few, network speed is slow, 3G or WIFI network access identification information is included relative to described parameter information, when described parameter information includes 2G network access Identifier information, proxy server then can carry out larger compression factor process to the picture resource comprised in the first web page resources file, and concrete compression factor can be controlled according to effect beyond the clouds by proxy server.
The webpage key element that step S306, acquisition generate, shows the resource in the second web page resources file.
In order to the method for the minimizing network traffics described in the clearer elaboration embodiment of the present invention, be now described for the smart mobile phone browser being provided with IOS.First, foundation is connected with the long of proxy server; Whether monitoring IOS system kernel (UIWebView) receives web access requests to Website server, if so, to be tackled and be forwarded to proxy server by the class function NSURLProtocol in IOS system to web access requests; To the advertising resource identification information that proxy server sends network access Identifier information and need filter; By the second web page resources file the first web page resources file being carried out to advertisement filter process and compression process generation that the class function NSURLProtocol Receiving Agent server in IOS system returns, to make IOS system kernel, parsing generating web page key element is being carried out to the second received web page resources file; Obtain described webpage key element, resource in the second web page resources file is shown.
What the embodiment of the present invention was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, receive the web page resources file of the institute's accessed web page obtained by proxy server and carry out the rear web page resources sent of size reduction process, effectively reducing network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect; Set up by client and be connected with the long of proxy server, the page load time can be reduced, promote page loading velocity, the parameter information including and limit process is sent to proxy server, can make that proxy server is comparatively rational to be processed the first web page resources, can realize further under the prerequisite of saving network flow, improve playing up and effect during typesetting the second web page resources.
Fig. 4 shows the third embodiment of the present invention.
The schematic flow sheet of the method for a kind of display web page that Fig. 4 provides for third embodiment of the invention.This embodiment illustrates client when display web page, and the reciprocal process between proxy server.Participate in figure tetra-, described method comprises:
Whether step S401, client monitors system kernel receive the web access requests to Website server, if so, then perform step S402;
Step S402, client are tackled web access requests and are forwarded to proxy server;
Step S403, proxy server obtain the first web page resources file according to web access requests, and the second web page resources file the first web page resources file being processed to rear generation is sent to client, wherein said process at least comprises the process making the size of the second web page resources file be less than the size of the first web page resources file;
Step S404, client receive the second web page resources file, are carrying out parsing generating web page key element to make system kernel to the second received web page resources file;
Step S405, client obtain the webpage key element generated, and show the resource in the second web page resources file.
One of this enforcement preferred embodiment in, also comprised before whether client monitors system kernel receives the step of the web access requests of Website server: client utilizes long interconnection technique to set up to be connected with growing of proxy server.Described long connection can make client and proxy server carry out real time communication, avoids and need to re-establish because communication two party has at every turn the drawback that connects and the client executing efficiency that causes reduces during data interaction.Described long connection can connect for HTTP is long or TCP is long connects.
In the present embodiment, client detects user in real time and whether triggers peer link in the webpage that system kernel shows or the URL(uniform resource locator) of direct input institute accessed web page in shown webpage, if so, then judge that system kernel receives the web access requests to Website server.
In this enforcement, the step that proxy server obtains the first web page resources file according to web access requests comprises:
First proxy server obtains the web page resources file corresponding with web access requests from local cache, if obtain successfully, then using obtained web page resources file as the first web page resources file, otherwise obtain the web page resources file corresponding with web access requests as the first web page resources file from Website server.
One of the present embodiment preferred embodiment in, after client to be tackled web access requests and is forwarded to the step of proxy server, before the second web page resources file generated after processing the first web page resources file is sent to the step of described client by proxy server, also comprise: client sends to proxy server and includes the parameter information limiting described process.Wherein, the described parameter information resource identification information that comprises network access Identifier information and/or need filter.Wherein network access Identifier information is the information be described the network insertion situation of client, and such as network access Identifier information is describe the information that client is the network insertions such as employing 2G, 3G or WIFI; The resource identification information that need filter is the information needing the resource of filtering to be described in the web page resources to proxy server acquisition, such as, need the advertising resource information, picture resource information, video resource information etc. of filtering.
One of the present embodiment preferred embodiment in, proxy server is after getting the first web page resources, can carry out conversion of page process according to the unit type of client place terminal, Equipments Setting, screen size to the first web page resources file, be the second web page resources file of applicable Client browse by the first web page resources file transform.
What the present embodiment was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, proxy server carries out size reduction process to the web page resources file obtained according to described web access requests, effectively reduces network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect.
Fig. 5 shows the fourth embodiment of the present invention.
The structural representation of the device of a kind of display web page that Fig. 5 provides for fourth embodiment of the invention.See Fig. 5, described device comprises:
Whether monitoring modular 501, receive the web access requests to Website server for monitoring system kernel;
Interception forwarding module 502, for when monitoring modular 501 monitors described web access requests, tackles described web access requests and is forwarded to proxy server;
Receiver module 503, what return for Receiving Agent server carries out processing the second web page resources file generated to the first web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Display module 504, for obtaining generated webpage key element, shows the resource in the second web page resources file;
Wherein, described first web page resources file is the web page resources file that proxy server obtains according to described web access requests, and described process at least comprises the process making the size of the second web page resources file be less than the size of the first web page resources file.
In the present embodiment, the web access requests of monitoring modular 501 pairs of Website servers comprises the URL(uniform resource locator) of institute's accessed web page.Whether monitoring modular 501 in real time detection triggers peer link in the webpage that system kernel shows or the URL(uniform resource locator) of direct input institute accessed web page in shown webpage, if so, then judge that system kernel receives the web access requests to Website server.
In existing technology, owing to receive the web access requests to Website server when system kernel after, client can by resolving the URL(uniform resource locator) that it asks to comprise, obtain the destination address of the Website server corresponding with this request, send this request by standard agreement (such as http protocol) directly to described Website server.In the present embodiment, in order to use proxy server to reach the object reducing network traffics, after monitoring modular 501 monitoring system kernel receives the web access requests to Website server, interception forwarding module 502 is tackled this request, immediately by this request forward to proxy server.
At interception forwarding module 502 by after being forwarded to proxy server to the web access requests of Website server, first proxy server judges whether there is the web page resources file corresponding with this request in local cache, if had, the then web page resources file of proxy server from local cache directly corresponding to acquisition, as the first web page resources file, if not, the then URL(uniform resource locator) that comprises of this request of proxy server parses, obtain the destination address of the Website server corresponding with this request, this request is sent to described Website server according to this destination address, then receive the web page resources file that described Website server returns according to this request, as the first web page resources file.
Proxy server is after getting the first web page resources file, compression process and/or resource filtering process (such as advertising resource filtration treatment) are carried out to the first web page resources file, generate the second web page resources file that size is less than the first web page resources file, and this second web page resources file is sent to receiver module 503.Receiver module 503 receives described second web page resources file.
In the present embodiment, after receiver module 503 receives the second web page resources file, system kernel is resolved received resource file, generating web page key element, and shows the second web page resources on the client according to webpage key element.Wherein, webpage key element comprises the attribute of web page element and web page element, and web page element comprises list, button, picture, word or link further, the attribute of web page element is the information be described web page element, comprises position, size, color, interior perhaps shape.
In the present embodiment, after the Secondary resource file received client until system kernel carries out parsing generating web page key element, display module 504 obtains this webpage key element, and plays up the resource (html web page content) in the second web page resources file on the screen of client corresponding device accordingly.
The present embodiment and the first embodiment belong to a total inventive concept, the detail content of not detailed description in the present embodiment, can with reference to above-mentioned first embodiment.
The present embodiment is tackled the web access requests of Website server by what received by system kernel and is forwarded to proxy server, receive the web page resources file of the institute's accessed web page obtained by proxy server and carry out the rear web page resources sent of size reduction process, effectively reducing network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect.
Fig. 6 shows the fifth embodiment of the present invention.
The structural representation of the device of a kind of display web page that Fig. 6 provides for fifth embodiment of the invention.See Fig. 6, described device comprises:
Connection establishment module 601, is connected with the long of proxy server for setting up;
Whether monitoring modular 602, receive the web access requests to Website server for monitoring system kernel;
Interception forwarding module 603, for when monitoring modular 602 monitors described web access requests, tackles described web access requests and is forwarded to proxy server;
Sending module 604, after tackling described web access requests at interception forwarding module 603 and be forwarded to proxy server, sends to proxy server and includes the parameter information limiting described process;
Receiver module 605, what return for Receiving Agent server carries out processing the second web page resources file generated to the first web page resources file, is carrying out parsing generating web page key element to make system kernel to the second received web page resources file;
Display module 606, for obtaining generated webpage key element, shows the resource in the second web page resources file;
Wherein, described first web page resources file is the web page resources file that proxy server obtains according to described web access requests, and described process at least comprises the process making the size of the second web page resources file be less than the size of the first web page resources file;
In the present embodiment, the resource identification information that the parameter information that sending module 604 sends comprises network access Identifier information and/or need filter.Wherein network access Identifier information is the information be described the network insertion situation of client, and such as network access Identifier information is describe the information that client is the network insertions such as employing 2G, 3G or WIFI; The resource identification information that need filter is the information needing the resource of filtering to be described in the web page resources to proxy server acquisition, such as, need the advertising resource information, picture resource information, video resource information etc. of filtering.
In the present embodiment, the parameter information limiting process that includes that proxy server sends according to client processes the first web page resources file.Such as, under considering 2G network, common carrier is supplied to that the monthly payment flow of client is few, network speed is slow, 3G or WIFI network access identification information is included relative to described parameter information, when described parameter information includes 2G network access Identifier information, proxy server then can carry out larger compression factor process to the picture resource comprised in the first web page resources file, and concrete compression factor can be controlled according to effect beyond the clouds by proxy server.
One of this enforcement preferred embodiment in, proxy server is after getting the first web page resources, can carry out conversion of page process according to the unit type of client place terminal, Equipments Setting, screen size to the first web page resources file, be the second web page resources file of applicable Client browse by the first web page resources file transform.
The present embodiment and the second embodiment belong to a total inventive concept, the detail content of not detailed description in the present embodiment, can with reference to above-mentioned second embodiment.
What the embodiment of the present invention was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, receive the web page resources file of the institute's accessed web page obtained by proxy server and carry out the rear web page resources sent of size reduction process, effectively reducing network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect; Client is set up and is connected with the long of proxy server, the page load time can be reduced, promote page loading velocity, the parameter information including and limit process is sent to proxy server, can make that proxy server is comparatively rational to be processed the first web page resources, can realize further under the prerequisite of saving network flow, improve playing up and effect during typesetting the second web page resources.
Fig. 7 shows the sixth embodiment of the present invention.
The structural representation of the system of a kind of display web page that Fig. 7 provides for sixth embodiment of the invention.See Fig. 7, described system comprises: client 701, proxy server 702;
Whether client 701 monitoring system kernel receives the web access requests to Website server;
If so, then client 701 is tackled described web access requests and is forwarded to described proxy server;
Proxy server 702 obtains the first web page resources file according to described web access requests, and the second web page resources file described first web page resources file being processed to rear generation is sent to described client, wherein said process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file;
Client 701 receives described second web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Client 701 obtains webpage key element, shows the resource in the second web page resources file.
The present embodiment and the 3rd embodiment belong to a total inventive concept, the detail content of not detailed description in the present embodiment, can with reference to above-mentioned 3rd embodiment.
What the present embodiment was received system kernel by client tackles the web access requests of Website server and is forwarded to proxy server, proxy server carries out size reduction process to the web page resources file obtained according to described web access requests, effectively reduces network traffics; Shown in client after the web page resources document analysis after size reduction by system kernel, compare to be undertaken resolving by own kernel and then carry out showing in client, have and preferably play up and typesetting effect.
Fig. 8 is the structural representation that can be used for the hardware client implementing display web page method of the present invention.See Fig. 8, terminal 80 can comprise the parts such as memory 801, input unit 802, processor 803, display unit 804, communicator 805.
Memory 801 stores software program and the module of the method realizing the display web page that the embodiment of the present invention proposes.
Input unit 802 receives numeral or the note information of input, and produces and to arrange with user or function controls relevant Trackpad, keyboard, mouse, action bars signal input.
Processor 803 by running the software program being stored in memory 801 and the data obtaining input unit 802, thus performs the application of various function and data processing.
Display unit 804 can be used for the various graphical user interface of the information inputted by user that video-stream processor 803 provides or the information being supplied to user and terminal 80, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.
Communicator 805 can be used for being transmitted and receive data by the Wireless/wired communication technology, wherein wireless communication technology includes but not limited to CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), the technology such as GPRS (General Packet Radio Service, general packet radio service).
It will be understood by those skilled in the art that the hardware client end structure shown in Fig. 8 does not form the restriction to hardware client, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
All or part of content in the technical scheme that above embodiment provides can be realized by software programming, its software program is stored in the storage medium that can read, storage medium such as: the hard disk in computer, computer readable memory, CD or floppy disk etc.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (15)

1. a method for display web page, is characterized in that, described method comprises:
Whether monitoring system kernel receives the web access requests to Website server;
If so, then described web access requests tackled and be forwarded to proxy server;
Receive the second web page resources file carrying out processing generation to the first web page resources file that described proxy server returns, to make described system kernel, parsing generating web page key element is being carried out to the second received web page resources file;
Obtain described webpage key element, the resource in described second web page resources file is shown;
Wherein, described first web page resources file is the web page resources file that described proxy server obtains according to described web access requests, and described process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file.
2. the method for display web page according to claim 1, is characterized in that, also comprises before whether described monitoring system kernel receives the step of the web access requests of Website server: set up and be connected with the long of proxy server.
3. the method for display web page according to claim 1, it is characterized in that, described web access requests to be tackled and after being forwarded to the step of proxy server described, the described proxy server of described reception return carry out processing the step of the second web page resources file generated to the first web page resources file before, also comprise: send to described proxy server and include the parameter information limiting described process.
4. the method for display web page according to claim 3, is characterized in that, the resource identification information that described parameter information comprises network access Identifier information and/or need filter.
5. a method for display web page, is characterized in that, described method comprises:
Whether client monitors system kernel receives the web access requests to Website server;
If so, then described client is tackled described web access requests and is forwarded to proxy server;
Described proxy server obtains the first web page resources file according to described web access requests, and the second web page resources file described first web page resources file being processed to rear generation is sent to described client, wherein said process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file;
Described client receives described second web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Described client obtains described webpage key element, shows the resource in described second web page resources file.
6. the method for display web page according to claim 5, it is characterized in that also comprising before whether described client monitors system kernel receives the step of the web access requests of Website server: described client is set up and is connected with the long of described proxy server.
7. the method for display web page according to claim 5, is characterized in that, the step that described proxy server obtains the first web page resources file according to described web access requests comprises:
First described proxy server obtains the web page resources file corresponding with described web access requests from local cache, if obtain successfully, then using obtained web page resources file as the first web page resources file, otherwise obtain the web page resources file corresponding with described web access requests as the first web page resources file from described Website server.
8. the method for display web page according to claim 5, it is characterized in that, after described client to be tackled described web access requests and is forwarded to the step of proxy server, before the second web page resources file generated after processing described first web page resources file is sent to the step of described client by described proxy server, also comprise: described client sends to described proxy server and includes the parameter information limiting described process.
9. the method for display web page according to claim 8, is characterized in that, the resource identification information that described parameter information comprises network access Identifier information and/or need filter.
10. the method for display web page according to claim 5, it is characterized in that, described proxy server also comprises the step that described first web page resources file processes: the second web page resources file by described first web page resources file transform being applicable Client browse.
The device of 11. 1 kinds of display web pages, is characterized in that, described device comprises:
Whether monitoring modular, receive the web access requests to Website server for monitoring system kernel;
Interception forwarding module, for when described monitoring module monitors is to described web access requests, tackles described web access requests and is forwarded to proxy server;
Receiver module, for receiving the second web page resources file carrying out processing generation to the first web page resources file that described proxy server returns, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Display module, for obtaining described webpage key element, shows the resource in described second web page resources file;
Wherein, described first web page resources file is the web page resources file that described proxy server obtains according to described web access requests, and described process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file.
The device of 12. display web pages according to claim 11, it is characterized in that, described device also comprises connection establishment module, before whether receiving the web access requests to Website server at described monitoring module monitors system kernel, adopt network connection multiplexing technology to set up and be connected with the long of proxy server.
The device of 13. display web pages according to claim 11, it is characterized in that, described device also comprises sending module, for to tackle described web access requests at described interception forwarding module and after being forwarded to proxy server, before processing described receiver module carrying out the first web page resources file of receiving that described proxy server returns the second web page resources file generated, send to described proxy server and include the parameter information limiting described process.
The device of 14. display web pages according to claim 13, is characterized in that, the resource identification information that described parameter information comprises network access Identifier information and/or need filter.
The system of 15. 1 kinds of display web pages, is characterized in that, described system comprises: client, proxy server;
Whether described client monitors system kernel receives the web access requests to Website server;
If so, then described client is tackled described web access requests and is forwarded to described proxy server;
Described proxy server obtains the first web page resources file according to described web access requests, and the second web page resources file described first web page resources file being processed to rear generation is sent to described client, wherein said process at least comprises the process making the size of described second web page resources file be less than the size of described first web page resources file;
Described client receives described second web page resources file, is carrying out parsing generating web page key element to make described system kernel to the second received web page resources file;
Described client obtains described webpage key element, shows the resource in described second web page resources file.
CN201310404904.6A 2013-09-06 2013-09-06 Show the method, apparatus and system of webpage Active CN104426985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310404904.6A CN104426985B (en) 2013-09-06 2013-09-06 Show the method, apparatus and system of webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310404904.6A CN104426985B (en) 2013-09-06 2013-09-06 Show the method, apparatus and system of webpage

Publications (2)

Publication Number Publication Date
CN104426985A true CN104426985A (en) 2015-03-18
CN104426985B CN104426985B (en) 2019-11-26

Family

ID=52974898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310404904.6A Active CN104426985B (en) 2013-09-06 2013-09-06 Show the method, apparatus and system of webpage

Country Status (1)

Country Link
CN (1) CN104426985B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205151A (en) * 2015-09-24 2015-12-30 福建天晴数码有限公司 Method and system for saving browser page flow at mobile terminal
CN105959502A (en) * 2016-04-27 2016-09-21 北京小米移动软件有限公司 Network picture compression method and device
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN107508908A (en) * 2017-09-14 2017-12-22 武汉市立德思科技有限公司 Low discharge Web page accessing system and method
CN107800769A (en) * 2017-09-15 2018-03-13 北京麒麟合盛网络技术有限公司 A kind of webpage deployment method and device
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN111931090A (en) * 2020-06-29 2020-11-13 厦门汉印电子技术有限公司 Webpage display method, device, equipment and readable storage medium
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN112883298A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Information processing method and device, electronic equipment and storage medium
CN112968939A (en) * 2017-01-05 2021-06-15 创新先进技术有限公司 Mobile terminal resource loading method and device
CN115102895A (en) * 2022-07-14 2022-09-23 京东城市(北京)数字科技有限公司 Page rendering method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202755A (en) * 2007-12-20 2008-06-18 腾讯科技(深圳)有限公司 System, method and device for displaying picture of mobile terminal
CN102681850A (en) * 2012-05-07 2012-09-19 奇智软件(北京)有限公司 Method and device for realizing web browsing based on Webkit kernel
CN102708173A (en) * 2012-05-02 2012-10-03 奇智软件(北京)有限公司 Method and system for processing user requests of accessing to web pages
CN102799636A (en) * 2012-06-26 2012-11-28 北京奇虎科技有限公司 Method and system for displaying webpage by mobile terminal
CN103092834A (en) * 2011-10-27 2013-05-08 腾讯科技(深圳)有限公司 Method and client-side device for browsing pictures of web pages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202755A (en) * 2007-12-20 2008-06-18 腾讯科技(深圳)有限公司 System, method and device for displaying picture of mobile terminal
CN103092834A (en) * 2011-10-27 2013-05-08 腾讯科技(深圳)有限公司 Method and client-side device for browsing pictures of web pages
CN102708173A (en) * 2012-05-02 2012-10-03 奇智软件(北京)有限公司 Method and system for processing user requests of accessing to web pages
CN102681850A (en) * 2012-05-07 2012-09-19 奇智软件(北京)有限公司 Method and device for realizing web browsing based on Webkit kernel
CN102799636A (en) * 2012-06-26 2012-11-28 北京奇虎科技有限公司 Method and system for displaying webpage by mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205151B (en) * 2015-09-24 2019-07-16 福建天晴数码有限公司 The method and system of browser page flow are saved in mobile terminal
CN105205151A (en) * 2015-09-24 2015-12-30 福建天晴数码有限公司 Method and system for saving browser page flow at mobile terminal
CN105959502A (en) * 2016-04-27 2016-09-21 北京小米移动软件有限公司 Network picture compression method and device
CN112968939A (en) * 2017-01-05 2021-06-15 创新先进技术有限公司 Mobile terminal resource loading method and device
CN112968939B (en) * 2017-01-05 2023-12-05 创新先进技术有限公司 Mobile terminal resource loading method and device
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN107508908A (en) * 2017-09-14 2017-12-22 武汉市立德思科技有限公司 Low discharge Web page accessing system and method
CN107800769A (en) * 2017-09-15 2018-03-13 北京麒麟合盛网络技术有限公司 A kind of webpage deployment method and device
CN110990732A (en) * 2019-10-16 2020-04-10 平安国际智慧城市科技股份有限公司 Loading method, device and equipment based on webpage and storage medium
CN112883298A (en) * 2019-11-29 2021-06-01 阿里巴巴集团控股有限公司 Information processing method and device, electronic equipment and storage medium
CN112883298B (en) * 2019-11-29 2024-03-01 阿里巴巴集团控股有限公司 Information processing method, device, electronic equipment and storage medium
CN111931090A (en) * 2020-06-29 2020-11-13 厦门汉印电子技术有限公司 Webpage display method, device, equipment and readable storage medium
CN112269959A (en) * 2020-11-19 2021-01-26 北京有竹居网络技术有限公司 Display content control method and device, readable medium and electronic equipment
CN112269959B (en) * 2020-11-19 2024-05-24 北京有竹居网络技术有限公司 Control method and device for display content, readable medium and electronic equipment
CN115102895A (en) * 2022-07-14 2022-09-23 京东城市(北京)数字科技有限公司 Page rendering method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN104426985B (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN104426985A (en) Method, device and system for displaying webpage
CN102857579B (en) Information processing method, device, terminal and server
CN103139292B (en) Method for processing pictures in hyper text transmission protocol (HTTP) proxy and proxy server and system
US20100268694A1 (en) System and method for sharing web applications
CN104426925B (en) Web page resources acquisition methods and device
CN101763357A (en) Method and system for browser to load internet resources
CN104754073A (en) Resource access method and device
US10389792B2 (en) Output function dividing system
CN107766509B (en) Method and device for static backup of webpage
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN105721462A (en) Information pushing method and device
CN107918619B (en) Advertisement display method and device
CN111756847B (en) Method and device for supporting https protocol by website
WO2013013556A1 (en) Data reporting method and device
CN103092834A (en) Method and client-side device for browsing pictures of web pages
CN101771928B (en) Method and system and proxy server for Webpage transmitting
CN103327104A (en) Method for rendering filtered webpage advertisements to client
CN104899212A (en) Webpage display method, server and system
CN104901961A (en) Data pushing method, server, terminal and system
CN116150513A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN104156372B (en) A kind of methods, devices and systems for opening webpage
CN108959393B (en) Dynamic picture processing method, device and storage medium
CN113542335A (en) Information sharing method and device, electronic equipment and storage medium
CN103561068A (en) Method and device for improving speed of web page browsing
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus

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