CN103188293B - Method and system for allowing mobile terminal to access webpage - Google Patents

Method and system for allowing mobile terminal to access webpage Download PDF

Info

Publication number
CN103188293B
CN103188293B CN201110448696.0A CN201110448696A CN103188293B CN 103188293 B CN103188293 B CN 103188293B CN 201110448696 A CN201110448696 A CN 201110448696A CN 103188293 B CN103188293 B CN 103188293B
Authority
CN
China
Prior art keywords
web page
webpage
visited
mobile terminal
page resources
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.)
Active
Application number
CN201110448696.0A
Other languages
Chinese (zh)
Other versions
CN103188293A (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.)
Shenzhen Yayue Technology 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 CN201110448696.0A priority Critical patent/CN103188293B/en
Publication of CN103188293A publication Critical patent/CN103188293A/en
Application granted granted Critical
Publication of CN103188293B publication Critical patent/CN103188293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for allowing a mobile terminal to access a webpage, and belongs to the field of networks. According to method and the system for allowing the mobile terminal to access the webpage, when a user uses the mobile terminal to access the to-be-accessed webpage, and a webpage resource of the to-be-accessed webpage is not cached locally or the webpage resource of the to-be-accessed webpage is overdue, the webpage resource of the to-be-accessed webpage is acquired by a pre-established transit proxy server rather than directly from a webpage server; the webpage resource is wholly forwarded by the transit proxy server, so that the problem that an access failure due to a bad network environment between a certain webpage server and the mobile terminal in a certain time period can be solved; and the webpage is displayed directly when the webpage resource of the to-be-accessed webpage is cached and the webpage resource of the to-be-accessed webpage is not overdue, so that a success rate of using the mobile terminal to access the webpage is increased.

Description

A kind of method and system of mobile terminal accessing webpage
Technical field
The present invention relates to network field, particularly a kind of method and system of mobile terminal accessing webpage.
Background technology
Along with the rise of mobile Internet, people use the time of the mobile terminal Internet access such as mobile phone, panel computer to get more and more, and the browser under mobile platform arises at the historic moment, and meet people and use mobile terminal to browse the demand of various webpage.
But with conventional internet unlike, the network environment of mobile Internet is more complicated, it has related to cable network and wireless network two kinds of networks, and the operator related to also comprises many families, the difference between the wireless network that different operators provides makes again the network environment of mobile Internet become more complicated.
Therefore, use the problem of browser access webpage on mobile terminals just than much more when using browser access webpage on PC, often understand because network condition become bad problem at random, cause the direct accessed web page server failure of user.
Summary of the invention
In order to when solving existing mobile terminal accessing web page server because network condition becomes the problem of the bad web page access failure caused at random, embodiments provide a kind of method and system of mobile terminal accessing webpage.Described technical scheme is as follows:
A method for mobile terminal accessing webpage, described method comprises:
Mobile terminal judges whether this locality is cached with the web page resources of webpage to be visited and the web page resources of described webpage to be visited is not out of date;
When the web page resources that described mobile terminal this locality is not cached with the web page resources of described webpage to be visited or described webpage to be visited is expired, described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, so that described pass-through proxy server obtains the web page resources of described webpage to be visited from web page server;
Described mobile terminal receives the web page resources of the webpage described to be visited that described pass-through proxy server sends;
Described mobile terminal receives and shows described webpage to be visited;
Wherein, described pass-through proxy server is connected by being fixed with spider lines with described web page server;
Described mobile terminal sends the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance before, described method also comprises:
Described mobile terminal judges the network address whether comprising described webpage to be visited in the local blacklist preserved;
Described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, specifically comprise:
When including the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
Further, described method also comprises:
When described mobile terminal local cache has the web page resources of described webpage to be visited and the web page resources of described webpage to be visited is not out of date, read the web page resources of described webpage to be visited, and webpage to be visited described in display translation.
Further, described method also comprises:
When not including the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved, send the request of the web page resources obtaining described webpage to be visited to web page server, and judge whether to receive the error message that described web page server returns or any response not receiving described web page server;
Described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, specifically comprise:
When receiving the error message that described web page server returns or any response not receiving described web page server, send the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance.
Further, described method also comprises:
When described mobile terminal receives the error message that described web page server returns or any response not receiving described web page server, the network address of described webpage to be visited is sent, so that the network address of described webpage to be visited is kept in the easily failed list of access by described propelling movement proxy server to the propelling movement proxy server set up in advance.
Further, before described mobile terminal judges whether comprise the network address of described webpage to be visited in the local blacklist preserved, described method also comprises:
Described blacklist is upgraded according to the easy failed list of the access of preserving in described propelling movement proxy server.
Further, described method also comprises:
Described propelling movement proxy server obtains in the time of presetting or upgrades the web page resources of network address in the easy failed list of access, and is kept in the file system of described propelling movement proxy server;
When described mobile terminal is idle or when reaching pre-conditioned, the web page resources of network address in easy for described access failed list is initiatively pushed in the buffer memory of described mobile terminal by described propelling movement proxy server.
Further, before described mobile terminal receives the web page resources of the webpage described to be visited that described pass-through proxy server sends, described method also comprises:
Described pass-through proxy server obtains the web page resources of described webpage to be visited from web page server, and the web page resources of described webpage to be visited is changed, with the agreement and the form that make the web page resources of described webpage to be visited can adapt to the support of described mobile terminal.
A system for mobile terminal accessing webpage, described system comprises: mobile terminal, pass-through proxy server;
Wherein, described mobile terminal comprises:
First judge module, for judging whether to be cached with the web page resources of described webpage to be visited and the web page resources of described webpage to be visited is not out of date;
First request sending module, for when described first judge module judges to show that the web page resources of web page resources or the described webpage to be visited not being cached with described webpage to be visited is expired, send the request of the web page resources obtaining described webpage to be visited to described pass-through proxy server;
Resource receiver module, for receiving the web page resources of the webpage described to be visited that described pass-through proxy server sends;
Display module, for showing described webpage to be visited;
Described pass-through proxy server, for after the request of web page resources receiving the described webpage to be visited of acquisition that described first request sending module sends, obtains the web page resources of described webpage to be visited from web page server;
Wherein, described pass-through proxy server is connected by being fixed with spider lines with described web page server;
Described mobile terminal also comprises:
Second judge module, before obtaining the request of the web page resources of described webpage to be visited in described first request sending module to the pass-through proxy server transmission of setting up in advance, judge the network address whether comprising described webpage to be visited in the blacklist that described mobile terminal this locality is preserved;
Described first request sending module, when including the network address of described webpage to be visited specifically for judging when described second judge module to draw in the local blacklist preserved of described mobile terminal, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
Further, described mobile terminal also comprises:
Read module, for when described first judge module judges to draw the web page resources that is cached with described webpage to be visited and the web page resources of described webpage to be visited is not out of date, reads the web page resources of described webpage to be visited, and webpage to be visited described in display translation.
Further, described mobile terminal also comprises:
Second request sending module, when not including the network address of described webpage to be visited for judging when described second judge module to draw in the local blacklist preserved of described mobile terminal, send the request of the web page resources obtaining described webpage to be visited to web page server;
3rd judge module, receives the error message that described web page server returns or any response not receiving described web page server for judging whether;
Described first request sending module, when receiving the error message that described web page server returns or any response not receiving described web page server specifically for judging to draw when described 3rd judge module, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
Further, described mobile terminal also comprises:
Network address sending module, when receiving the error message that described web page server returns or any response not receiving described web page server for judging to draw when described 3rd judge module, the network address of described webpage to be visited is sent, so that the network address of described webpage to be visited is kept in the easily failed list of access by described propelling movement proxy server to the propelling movement proxy server set up in advance.
Further, described mobile terminal also comprises:
Update module, for judge whether comprise the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved at described 3rd judge module before, upgrade described blacklist according to the easy failed list of the access of preserving in described propelling movement proxy server.
Further, described system also comprises: described propelling movement proxy server;
Wherein, described propelling movement proxy server comprises:
Resource updates module, for obtaining or upgrade the web page resources of network address in the easy failed list of access in the time of presetting, and is kept in the file system of described propelling movement proxy server;
Resource supplying module, for when the described mobile terminal free time or when reaching pre-conditioned, is initiatively pushed to the web page resources of network address in easy for described access failed list in the buffer memory of described mobile terminal.
Further, described pass-through proxy server specifically comprises:
Source obtaining module, for after the request of web page resources receiving the acquisition webpage to be visited that described first request sending module sends, obtains the web page resources of described webpage to be visited from web page server;
Resources shifting module, for changing the web page resources of described webpage to be visited, with the agreement and the form that make the web page resources of described webpage to be visited can adapt to the support of described mobile terminal.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: when user uses mobile terminal accessing webpage to be visited, when the web page resources that this locality is not cached with the web page resources of webpage to be visited or webpage to be visited is expired, the web page resources obtaining this webpage to be visited is removed by the pass-through proxy server set up in advance, instead of directly obtain from web page server, because web page resources is all forwarded by pass-through proxy server, the not good access failure problem caused of network environment between some web page server and mobile terminal in some period can be solved, if and be cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date time, then direct display web page, improve the success rate using mobile terminal accessing webpage.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 1;
Network architecture schematic diagram when Fig. 2 is the use mobile terminal accessing webpage provided in the embodiment of the present invention 2;
Fig. 3 is the schematic flow sheet of the method for a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 2;
Fig. 4 is the structural representation of the mobile terminal in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3;
Fig. 5 is the second structural representation of the mobile terminal in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3;
Fig. 6 is the third structural representation of the mobile terminal in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3;
Fig. 7 is the 4th kind of structural representation of the mobile terminal in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3;
Fig. 8 is the structural representation of the propelling movement proxy server in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3;
Fig. 9 is the structural representation of the pass-through proxy server in the system of a kind of mobile terminal accessing webpage provided in the embodiment of the present invention 3.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
As shown in Figure 1, embodiments provide a kind of method of mobile terminal accessing webpage, specifically comprise the steps:
101, mobile terminal judges whether this locality is cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date;
102, when the web page resources that mobile terminal this locality is not cached with the web page resources of webpage to be visited or webpage to be visited is expired, mobile terminal sends the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance, so that pass-through proxy server obtains the web page resources of webpage to be visited from web page server;
103, mobile terminal receives the web page resources of the webpage above-mentioned to be visited that pass-through proxy server sends, and shows this webpage to be visited;
Wherein, pass-through proxy server is connected by being fixed with spider lines with web page server.
Embodiments provide a kind of method of mobile terminal accessing webpage, when user uses mobile terminal accessing webpage to be visited, when the web page resources that this locality is not cached with the web page resources of webpage to be visited or webpage to be visited is expired, the web page resources obtaining this webpage to be visited is removed by the pass-through proxy server set up in advance, instead of directly obtain from web page server, because web page resources is all forwarded by pass-through proxy server, the not good access failure problem caused of network environment between some web page server and mobile terminal in some period can be solved, if and be cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date time, then direct display web page, improve the success rate using mobile terminal accessing webpage.
Embodiment 2
The embodiment of the present invention 2 provides a kind of method of mobile terminal accessing webpage, it is the improvement carried out on the basis of embodiment 1, it should be noted that, in the method that the present embodiment 2 provides, set up in advance and have pass-through proxy server and push proxy server, wherein, this method based on network architecture diagram as shown in Figure 2, pass-through proxy server is connected by being fixed with spider lines with web page server, for obtaining web page resources from each web page server, because pass-through proxy server is set up by aiming at mobile terminal network visiting, and the network service of itself and mobile terminal is single, therefore can not produce because network discrepancy causes the problem of access to netwoks, push the information that proxy server is used for exchanging with mobile terminal site access, and preserve the easily failed list of access, and timing acquisition or upgrade the web page resources of network address in the easy failed list of access, and be kept in local file system, and at mobile terminal idle or other right times by these web page resources active push in the buffer memory of mobile terminal.
Wherein, the executive agent of the method that the present embodiment 2 provides is described for mobile phone, and the mobile phone browser of method provided by the present invention specifically by installing in mobile phone is that example is described.
As shown in Figure 3, improve the method for mobile terminal accessing webpage success rate, specifically comprise the steps:
201, the network address of the webpage to be visited of user's input is received;
Wherein, the URL (UniformResourceLocator, URL(uniform resource locator)) of what above-mentioned network address was concrete can be webpage to be visited.
Whether the web page resources 202, judging corresponding to above-mentioned network address is kept in the buffer memory of terminal and not out of date, if so, performs step 203, if not, perform step 204;
203, read the web page resources of webpage to be visited in the buffer, resolve, and display translation webpage to be visited, end operation;
Particularly, in the browser client of mobile phone terminal, the web page resources of the webpage of user's history access can be preserved, when this web page resources is not out of date (when the website of user's wish access is not done and upgraded), can from buffer memory, directly pull web page resources and show, and no longer go the acquisition carrying out web page resources from web page server, the method can reduce the time required for web page access, and can saving network flow.
204, judge the network address whether comprising user's webpage to be visited in the local blacklist kept, if so, perform step 208, if not, perform step 205;
It should be noted that, because the difference of network type, failed phenomenon is understood when usually occurring in prior art that user accesses some fixing website, therefore, the provided by the present invention method setting up blacklist in mobile terminal this locality, the network address that this user accesses failed webpage can be recorded in this blacklist, when the webpage of user's current accessed do not access out-of-date, perform step 205, if current web page access once failure, then skip step 205, directly go to access current web page by pass-through proxy server, perform step 208.
205, send the request of the web page resources obtaining webpage to be visited to web page server, perform step 206;
206, judge whether to receive error message that web page server returns or without response, if so, then perform step 208, if not, perform step 207;
207, receive the web page resources that web page server returns, resolve this web page resources, and show, end operation;
208, send the request of the web page resources obtaining webpage to be visited to pass-through proxy server, perform step 209;
Wherein, pass-through proxy server is connected by stable cable network with web page server, when mobile terminal to pass-through proxy server send obtain webpage to be visited web page resources request after, pass-through proxy server sends web page resources to web page server and obtains request, and receives the corresponding web page resources that web page server returns.
Further, pass-through proxy server sends in the request of the web page resources obtaining webpage to be visited and can also comprise web page resources conversion instruction, when including web page resources conversion instruction in the request of the web page resources of above-mentioned acquisition webpage to be visited, after the corresponding web page resources that pass-through proxy server reception web page server returns, also comprise:
Pass-through proxy server is changed the web page resources of webpage to be visited received, the web page resources after changing is applicable to form that mobile terminal supports or network analysis agreement.
Such as, when the screen resolution of mobile phone is 320*480, then web page resources is converted to the web page resources that applicable screen resolution is 320*480;
Or,
Current phone only supports wap agreement, and the webpage to be visited that pass-through proxy server receives is html page, be then converted to by the web page resources of webpage to be visited and support wap agreement, can normally resolve this web page resources to make mobile phone terminal.
Wherein, can also comprise in this step:
Send the network address of webpage to be visited to propelling movement proxy server, the network address of the webpage to be visited of above-mentioned access failure is kept in the easy failed list of access so that push proxy server.
Correspondingly, before step 204, this method can also comprise:
Mobile terminal is according to the blacklist pushing the local preservation of the easy failed list renewal of access that proxy server is preserved.
It should be noted that, the easy failed list of this access can comprise two kinds of file layouts, the first is preserved for corresponding each user, namely the network address that specific one user accesses failed webpage is only stored, the second is that corresponding multiple user preserves, the network address of once accessing failed webpage by multiple user is preserved, and such as, preserves with Mobile phone and with the network address that the user of a mobile phone browser once accessed failed webpage for using.
Further, mobile terminal, according to the blacklist pushing the local preservation of the easy failed list renewal of access that proxy server is preserved, at least comprises two kinds of methods:
The first, mobile terminal initiatively sends update request to propelling movement proxy server, push proxy server and send the network address increased newly in the easy failed list of access or whole network address of accessing in easy failed list to mobile terminal, mobile terminal upgrades blacklist according to newly-increased network address or whole network address of accessing in easy failed list in the easy failed list of access;
The network address increased newly in the second, the timing of propelling movement proxy server or the easy failed list of periodic broadcast access or whole network address of accessing in easy failed list, upgrade blacklist for mobile terminal.
Further, push proxy server and also comprise the function pushing web page resources to mobile terminal, specific as follows:
Push proxy server and pull from web page server the web page resources that user accesses easily failed webpage, and when appropriate between initiatively user is accessed easily failed webpage web page resources send to mobile terminal, mobile terminal receive and the web page resources preservation of user being accessed easily failed webpage in the buffer, so that mobile terminal is not conducting interviews to the easy failed webpage of access during interconnection network, also can accelerate access speed, saving network flow simultaneously.
209, the web page resources of the webpage to be visited that pass-through proxy server sends is received;
210, resolve the web page resources of webpage to be visited, and show webpage to be visited, end operation.
Embodiments provide a kind of method of mobile terminal accessing webpage, when user uses mobile terminal accessing webpage to be visited, when the web page resources that this locality is not cached with the web page resources of webpage to be visited or webpage to be visited is expired, the web page resources obtaining this webpage to be visited is removed by the pass-through proxy server set up in advance, instead of directly obtain from web page server, because web page resources is all forwarded by pass-through proxy server, the not good access failure problem caused of network environment between some web page server and mobile terminal in some period can be solved, if and be cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date time, then direct display web page, improve the success rate using mobile terminal accessing webpage.
Embodiment 3
The embodiment of the present invention 3 provides a kind of system of mobile terminal accessing webpage, and this system comprises: mobile terminal 3 and pass-through proxy server 4;
As shown in Figure 4, mobile terminal 3 comprises:
First judge module 301, for judging whether mobile terminal 3 this locality is cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date;
First request sending module 302, for judge when the first judge module 301 to draw mobile terminal 3 this locality be not cached with the web page resources of the web page resources of webpage to be visited or webpage to be visited expired time, the request of the web page resources obtaining webpage to be visited is sent, so that pass-through proxy server 4 obtains the web page resources of webpage to be visited from web page server to pass-through proxy server 4;
Resource receiver module 303, for receiving the web page resources of the webpage to be visited that pass-through proxy server 4 sends;
Display module 304, for showing webpage to be visited;
Pass-through proxy server 4, for receive first request sending module 304 send acquisition webpage to be visited web page resources please after, obtain the web page resources of webpage to be visited from web page server;
Wherein, pass-through proxy server 4 is connected by being fixed with spider lines with web page server.
Further, as shown in Figure 5, above-mentioned mobile terminal 3 also comprises:
Read module 305, for judge to draw the web page resources that is cached with webpage to be visited when the first judge module 301 and the web page resources of webpage to be visited is not out of date time, read the web page resources of webpage to be visited, and display translation webpage to be visited.
Further, as shown in Figure 6, above-mentioned mobile terminal 3 also comprises:
Second judge module 306, before obtaining the request of the web page resources of webpage to be visited in the first request sending module 302 to the pass-through proxy server transmission of setting up in advance, judge the network address whether comprising webpage to be visited in the blacklist that mobile terminal 3 this locality is preserved;
First request sending module 302, when including the network address of webpage to be visited specifically for judging when the second judge module 306 to draw in the local blacklist preserved of mobile terminal 3, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server 4 set up in advance.
Further, as shown in Figure 7, above-mentioned mobile terminal 3 also comprises:
Second request sending module 307, when not including the network address of webpage to be visited for judging when the second judge module 306 to draw in the local blacklist preserved of mobile terminal 3, sends the request of the web page resources obtaining webpage to be visited to web page server;
3rd judge module 308, receives the error message that web page server returns or any response not receiving web page server for judging whether;
First request sending module 301, when receiving the error message that web page server returns or any response not receiving web page server specifically for judging to draw when the 3rd judge module 308, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server 4 set up in advance.
Further, above-mentioned mobile terminal 3 also comprises:
Network address sending module 309, when receiving the error message that web page server returns or any response not receiving web page server for judging to draw when the 3rd judge module 308, send the network address of webpage to be visited to the propelling movement proxy server set up in advance, the network address of webpage to be visited is kept in the easily failed list of access so that push proxy server.
Further, above-mentioned mobile terminal 3 also comprises:
Update module 310, for judge whether comprise the network address of webpage to be visited in the blacklist that mobile terminal 3 this locality is preserved at the 3rd judge module 308 before, upgrades blacklist according to the list that the access of preserving in propelling movement proxy server is easily failed.
Further, said system also comprises: push proxy server 5;
Wherein, as shown in Figure 8, push proxy server 5 to comprise:
Resource updates module 501, for obtaining or upgrade the web page resources of network address in the easy failed list of access in the time of presetting, and is kept in the file system of described propelling movement proxy server 5;
Resource supplying module 502, for when described mobile terminal 3 free time or when reaching pre-conditioned, is initiatively pushed to the web page resources of network address in easy for described access failed list in the buffer memory of described mobile terminal 3.
Further, as shown in Figure 9, pass-through proxy server 4 specifically comprises:
Source obtaining module 401, for receive first request sending module 301 send acquisition webpage to be visited web page resources please after, obtain the web page resources of webpage to be visited from web page server;
Resources shifting module 402, changes for the web page resources treating accessed web page, with the agreement and the form that make the web page resources of webpage to be visited can adapt to mobile terminal 3 support.
Embodiments provide a kind of system of mobile terminal accessing webpage, when user uses mobile terminal accessing webpage to be visited, when the web page resources that this locality is not cached with the web page resources of webpage to be visited or webpage to be visited is expired, the web page resources obtaining this webpage to be visited is removed by the pass-through proxy server set up in advance, instead of directly obtain from web page server, because web page resources is all forwarded by pass-through proxy server, the not good access failure problem caused of network environment between some web page server and mobile terminal in some period can be solved, if and be cached with the web page resources of webpage to be visited and the web page resources of webpage to be visited is not out of date time, then direct display web page, improve the success rate using mobile terminal accessing webpage.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a method for mobile terminal accessing webpage, is characterized in that, described method comprises:
Mobile terminal judges whether this locality is cached with the web page resources of webpage to be visited and the web page resources of described webpage to be visited is not out of date;
When the web page resources that described mobile terminal this locality is not cached with the web page resources of described webpage to be visited or described webpage to be visited is expired, described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, so that described pass-through proxy server obtains the web page resources of described webpage to be visited from web page server;
Described mobile terminal receives the web page resources of the webpage described to be visited that described pass-through proxy server sends, and shows described webpage to be visited;
Wherein, described pass-through proxy server is connected by being fixed with spider lines with described web page server;
Described mobile terminal sends the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance before, described method also comprises:
Described mobile terminal judges the network address whether comprising described webpage to be visited in the local blacklist preserved;
Described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, specifically comprise:
When including the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
2. method according to claim 1, is characterized in that, described method also comprises:
When described mobile terminal local cache has the web page resources of described webpage to be visited and the web page resources of described webpage to be visited is not out of date, read the web page resources of described webpage to be visited, and webpage to be visited described in display translation.
3. method according to claim 1, is characterized in that, described method also comprises:
When not including the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved, send the request of the web page resources obtaining described webpage to be visited to web page server, and judge whether to receive the error message that described web page server returns or any response not receiving described web page server;
Described mobile terminal sends the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance, specifically comprise:
When receiving the error message that described web page server returns or any response not receiving described web page server, send the request of the web page resources obtaining described webpage to be visited to the pass-through proxy server set up in advance.
4. method according to claim 3, is characterized in that, described method also comprises:
When described mobile terminal receives the error message that described web page server returns or any response not receiving described web page server, the network address of described webpage to be visited is sent, so that the network address of described webpage to be visited is kept in the easily failed list of access by described propelling movement proxy server to the propelling movement proxy server set up in advance.
5. method according to claim 4, is characterized in that, before described mobile terminal judges whether comprise the network address of described webpage to be visited in the local blacklist preserved, described method also comprises:
Described blacklist is upgraded according to the easy failed list of the access of preserving in described propelling movement proxy server.
6. method according to claim 4, is characterized in that, described method also comprises:
Described propelling movement proxy server obtains in the time of presetting or upgrades the web page resources of network address in the easy failed list of access, and is kept in the file system of described propelling movement proxy server;
When described mobile terminal is idle or when reaching pre-conditioned, the web page resources of network address in easy for described access failed list is initiatively pushed in the buffer memory of described mobile terminal by described propelling movement proxy server.
7. method according to claim 1, is characterized in that, before described mobile terminal receives the web page resources of the webpage described to be visited that described pass-through proxy server sends, described method also comprises:
Described pass-through proxy server obtains the web page resources of described webpage to be visited from web page server, and the web page resources of described webpage to be visited is changed, with the agreement and the form that make the web page resources of described webpage to be visited can adapt to the support of described mobile terminal.
8. a system for mobile terminal accessing webpage, is characterized in that, described system comprises: mobile terminal, pass-through proxy server;
Wherein, described mobile terminal comprises:
First judge module, for judging whether to be cached with the web page resources of described webpage to be visited and the web page resources of described webpage to be visited is not out of date;
First request sending module, for when described first judge module judges to show that the web page resources of web page resources or the described webpage to be visited not being cached with described webpage to be visited is expired, send the request of the web page resources obtaining described webpage to be visited to described pass-through proxy server;
Resource receiver module, for receiving the web page resources of the webpage described to be visited that described pass-through proxy server sends;
Display module, for showing described webpage to be visited;
Described pass-through proxy server, for after the request of web page resources receiving the described webpage to be visited of acquisition that described first request sending module sends, obtains the web page resources of described webpage to be visited from web page server;
Wherein, described pass-through proxy server is connected by being fixed with spider lines with described web page server;
Described mobile terminal also comprises:
Second judge module, before obtaining the request of the web page resources of described webpage to be visited in described first request sending module to the pass-through proxy server transmission of setting up in advance, judge the network address whether comprising described webpage to be visited in the blacklist that described mobile terminal this locality is preserved;
Described first request sending module, when including the network address of described webpage to be visited specifically for judging when described second judge module to draw in the local blacklist preserved of described mobile terminal, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
9. system according to claim 8, is characterized in that, described mobile terminal also comprises:
Read module, for when described first judge module judges to draw the web page resources that is cached with described webpage to be visited and the web page resources of described webpage to be visited is not out of date, reads the web page resources of described webpage to be visited, and webpage to be visited described in display translation.
10. system according to claim 8, is characterized in that, described mobile terminal also comprises:
Second request sending module, when not including the network address of described webpage to be visited for judging when described second judge module to draw in the local blacklist preserved of described mobile terminal, send the request of the web page resources obtaining described webpage to be visited to web page server;
3rd judge module, receives the error message that described web page server returns or any response not receiving described web page server for judging whether;
Described first request sending module, when receiving the error message that described web page server returns or any response not receiving described web page server specifically for judging to draw when described 3rd judge module, send the request of the web page resources obtaining webpage to be visited to the pass-through proxy server set up in advance.
11. systems according to claim 10, is characterized in that, described mobile terminal also comprises:
Network address sending module, when receiving the error message that described web page server returns or any response not receiving described web page server for judging to draw when described 3rd judge module, the network address of described webpage to be visited is sent, so that the network address of described webpage to be visited is kept in the easily failed list of access by described propelling movement proxy server to the propelling movement proxy server set up in advance.
12. systems according to claim 11, is characterized in that, described mobile terminal also comprises:
Update module, for judge whether comprise the network address of described webpage to be visited in the blacklist that described mobile terminal this locality is preserved at described 3rd judge module before, upgrade described blacklist according to the easy failed list of the access of preserving in described propelling movement proxy server.
13. systems according to claim 11, is characterized in that, described system also comprises: described propelling movement proxy server;
Wherein, described propelling movement proxy server comprises:
Resource updates module, for obtaining or upgrade the web page resources of network address in the easy failed list of access in the time of presetting, and is kept in the file system of described propelling movement proxy server;
Resource supplying module, for when the described mobile terminal free time or when reaching pre-conditioned, is initiatively pushed to the web page resources of network address in easy for described access failed list in the buffer memory of described mobile terminal.
14. systems according to claim 8, is characterized in that, described pass-through proxy server specifically comprises:
Source obtaining module, for after the request of web page resources receiving the acquisition webpage to be visited that described first request sending module sends, obtains the web page resources of described webpage to be visited from web page server;
Resources shifting module, for changing the web page resources of described webpage to be visited, with the agreement and the form that make the web page resources of described webpage to be visited can adapt to the support of described mobile terminal.
CN201110448696.0A 2011-12-28 2011-12-28 Method and system for allowing mobile terminal to access webpage Active CN103188293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110448696.0A CN103188293B (en) 2011-12-28 2011-12-28 Method and system for allowing mobile terminal to access webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448696.0A CN103188293B (en) 2011-12-28 2011-12-28 Method and system for allowing mobile terminal to access webpage

Publications (2)

Publication Number Publication Date
CN103188293A CN103188293A (en) 2013-07-03
CN103188293B true CN103188293B (en) 2014-12-24

Family

ID=48679258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448696.0A Active CN103188293B (en) 2011-12-28 2011-12-28 Method and system for allowing mobile terminal to access webpage

Country Status (1)

Country Link
CN (1) CN103188293B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347029B (en) * 2013-07-19 2017-07-04 北京高森明晨信息科技有限公司 service data interaction method, terminal, server and system
CN104572777B (en) * 2013-10-28 2019-05-14 腾讯科技(深圳)有限公司 Webpage loading method and device based on UIWebView component
CN105100148B (en) * 2014-05-09 2019-03-26 腾讯科技(北京)有限公司 A kind of browser obtains the method and proxy server of file
CN104021204A (en) * 2014-06-17 2014-09-03 贝壳网际(北京)安全技术有限公司 Method and device for having access to webpage
CN106161573A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 Server buffer processing method, Apparatus and system
CN106528563A (en) * 2015-09-11 2017-03-22 腾讯科技(深圳)有限公司 Content access method and apparatus
CN105469250B (en) * 2015-11-23 2021-03-16 腾讯科技(深圳)有限公司 Data processing method and terminal
CN106911733B (en) * 2015-12-22 2021-07-23 北京奇虎科技有限公司 Cloud proxy website access method and device
CN107025226A (en) * 2016-01-29 2017-08-08 广州市动景计算机科技有限公司 Targeted sites access method, device and transfer server
CN107025234B (en) * 2016-02-01 2020-11-06 中国移动通信集团公司 Information pushing method and cache server
CN107040396A (en) * 2016-02-03 2017-08-11 博雅网络游戏开发(深圳)有限公司 configuration information obtaining method and device
CN107154963B (en) * 2017-03-31 2021-01-29 北京猎豹移动科技有限公司 Request processing method and device and electronic equipment
CN107832329B (en) * 2017-09-26 2020-11-13 中国平安人寿保险股份有限公司 Page resource obtaining method and terminal equipment
CN108881148B (en) * 2017-12-29 2021-11-09 视联动力信息技术股份有限公司 Data acquisition method and device
CN109165343B (en) * 2018-08-02 2019-10-11 北京小蓦机器人技术有限公司 Content acquisition method, device, equipment and computer readable storage medium
CN112260853B (en) * 2020-09-17 2023-07-21 北京大米科技有限公司 Disaster recovery switching method and device, storage medium and electronic equipment
CN114827271B (en) * 2022-04-26 2024-05-03 土巴兔集团股份有限公司 Multi-level cache online control method and related device
CN115174281B (en) * 2022-07-18 2024-05-28 北京爱奇艺科技有限公司 Advertisement charging monitoring method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1109304C (en) * 1997-03-13 2003-05-21 摩托罗拉公司 System and method for delivery of information over narrow-band communications links
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1109304C (en) * 1997-03-13 2003-05-21 摩托罗拉公司 System and method for delivery of information over narrow-band communications links
CN101945081A (en) * 2009-07-06 2011-01-12 北京易路联动技术有限公司 Code conversion method, system and server of class webpage applications

Also Published As

Publication number Publication date
CN103188293A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN103188293B (en) Method and system for allowing mobile terminal to access webpage
CN101147145B (en) Embedded web-based management method
CN102438045B (en) Method and system for pre-fetching web page, and method for accessing web page
CN101741872B (en) Method and device for acquiring information of target resources
CN102087664A (en) Optimizing method of mobile terminal access network, system and mobile terminal
US20130268831A1 (en) Method, device, and system for acquiring start page
US20090177732A1 (en) Method and system for automated and configurable remote cache refreshes
CN101799821B (en) Method and system for realizing webpage application by widget
CN103067423A (en) Browser kernel adaption method and browser
CN104113567A (en) Content distribution network data processing method, device and system
CN105284075A (en) Optimizing loading of web page based on aggregated user preferences for web page elements of web page
CN102387172A (en) Method and device for providing or obtaining contents of network resources for mobile equipment
CN103324756A (en) Method and device for increasing access speed of browser
CN103634393A (en) IVR (interactive voice response) and realization method thereof
CN103714078A (en) Method, system and device for providing update contents of web pages
CN104469394A (en) Video resource acquiring method, background server, video client and system
KR20080100597A (en) System and method for providing service of mobile web data via blocking the specified data
CN102111455A (en) Method and system for shortening network accessing time of mobile terminal
CN103856540A (en) Response processing method and device
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN113779458A (en) Method and device for accelerating application loading, electronic equipment and storage medium
CN102571935B (en) A kind of method of transfer of data, client, server and system
CN102523271B (en) Terminal and communication method and system thereof
CN103001924A (en) Method, network server and system for accessing pages
CN105721604A (en) Data sending method and device based on downloading request of user

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
TR01 Transfer of patent right

Effective date of registration: 20221202

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2 East 403 room, SEG science and technology garden, Futian District, Guangdong, Shenzhen 518000, China

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right