CN103309996A - Webpage content processing method and device - Google Patents

Webpage content processing method and device Download PDF

Info

Publication number
CN103309996A
CN103309996A CN2013102502205A CN201310250220A CN103309996A CN 103309996 A CN103309996 A CN 103309996A CN 2013102502205 A CN2013102502205 A CN 2013102502205A CN 201310250220 A CN201310250220 A CN 201310250220A CN 103309996 A CN103309996 A CN 103309996A
Authority
CN
China
Prior art keywords
content
web page
advance
sets
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013102502205A
Other languages
Chinese (zh)
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2013102502205A priority Critical patent/CN103309996A/en
Publication of CN103309996A publication Critical patent/CN103309996A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a webpage content processing method and a device, and relates to the technical field of the internet. The method and the device solve the problems that content of a webpage displayed in a browser is rigid and the flexibility is lower in the prior art. The method comprises the steps that a webpage is loaded; whether a preset display condition is triggered during webpage loading is judged; and if so, to-be-displayed content is acquired, and displayed in the webpage, and webpage content indicated by the preset display condition is replaced. The method and the device are suitable for the fields of browser display safety, advertisements and the like.

Description

Method and device that web page contents is processed
Technical field
The present invention relates to Internet technical field, relate in particular to method and device that a kind of web page contents is processed.
Background technology
Current, along with the development of internet, the application program that browser etc. is used for browsing page is installed in a lot of terminal devices.For example, desktop computer, notebook computer, panel computer, smart mobile phone etc. all can come browsing page by browser.Current all kinds of websites are of a great variety, such as social network sites, video website, search website, music site etc.All kinds of websites provide abundant web page contents for the external world.
The mode of the web page contents of the browser display website on the current terminal device is: browser is by URL(uniform resource locator) (Uniform Resource Locator, be called for short URL) send HTML (Hypertext Markup Language) (Hypertext Transport Protocol is called for short HTTP) request to Website server.Website server returns replying of HTTP request to browser, comprises HTML (Hypertext Markup Language) (Hypertext Markup Language is called for short HTML) page info during this is replied.The described html page information of browser resolves can have the link of picture, video etc. in this html web page information.The displaying web page through browser page wherein, Shows Picture in the Webpage or video is that chain by picture, video etc. fetches realization.
In the process that realizes the embodiment of the invention, the inventor finds that there are the following problems at least in the prior art:
The content of the Webpage of the browser display at terminal device place is all from Website server, if Website server is not changed content, the Webpage of browser display will show convention always, and the content of the Webpage of browser display is comparatively inflexible, and dirigibility is lower.
Summary of the invention
Method and device that embodiments of the invention provide a kind of web page contents to process, the content of Webpage that can solve browser display of the prior art is inflexible, the problem that dirigibility is lower.
For achieving the above object, the present invention adopts following technical scheme:
A kind of disposal route of web page contents comprises:
The Web page loading page judges in the process of the Web page loading page whether triggered the display condition that sets in advance;
If triggered the display condition that sets in advance in the process of the Web page loading page, obtained content to be displayed;
In described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.
A kind for the treatment of apparatus of web page contents comprises:
Loading unit is used for the Web page loading page;
Judging unit is used for judging whether the process of the described loading unit Web page loading page has triggered the display condition that sets in advance;
Acquiring unit is used for obtaining content to be displayed when described judgment unit judges has triggered the display condition that sets in advance to the process of the Web page loading page;
Display unit is used for after described acquiring unit gets access to described content to be displayed, shows described content to be displayed in described Webpage, and substitutes the indicated web page contents of the described display condition that sets in advance.
Method and device that the web page contents that the embodiment of the invention provides is processed, when the Web page loading page, judged in the process of the Web page loading page and whether triggered the display condition that sets in advance, and when in the process of the Web page loading page, having triggered the display condition that sets in advance, obtain content to be displayed, thereby, in described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.And in the prior art, Webpage only shows by obtaining content from the webserver corresponding to web page address that will load, and the limitation of demonstration is higher, and the demonstration dirigibility of Webpage is lower.The mode that web page contents provided by the invention is processed can show content to be displayed, and the demonstration of Webpage is comparatively versatile and flexible.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the disposal route of the web page contents that Fig. 1 provides for the embodiment of the invention;
The process flow diagram one of the disposal route of the web page contents that Fig. 2 provides for further embodiment of this invention;
Webpage display comparison figure in the disposal route of the web page contents that Fig. 3 provides for further embodiment of this invention;
The flowchart 2 of the disposal route of the web page contents that Fig. 4 provides for further embodiment of this invention;
The flow chart 3 of the disposal route of the web page contents that Fig. 5 provides for further embodiment of this invention;
The structural representation of the treating apparatus of the web page contents that Fig. 6 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
For the advantage that makes technical solution of the present invention is clearer, below in conjunction with drawings and Examples the present invention is elaborated.
As shown in Figure 1, the disposal route of the web page contents that the embodiment of the invention provides comprises:
101, the Web page loading page judges in the process of the Web page loading page whether triggered the display condition that sets in advance.
Wherein, the described Web page loading page can be URL(uniform resource locator) (the Uniform Resource Locator that receives input, be called for short URL) after, load the webpage of website corresponding to described URL, in the process of the webpage that loads website corresponding to described URL, may trigger the described display condition that sets in advance, if otherwise the Web page loading page is successful, then show the web page contents of described Webpage.The described display condition that sets in advance is used for will obtaining content to be displayed after it triggers.Described display condition has multiple, and for example described URL(uniform resource locator) is in the mapping relations table that sets in advance, and for example the time of the Web page loading page exceeds Preset Time again, and perhaps the Web page loading page unsuccessfully waits, but not only is confined to this.Should be appreciated that, at the Web page loading page, when reaching described display condition, substitute the indicated web page contents of the described display condition that sets in advance by content to be displayed, all in covering scope of the present invention, in specific embodiment corresponding to follow-up Fig. 2, Fig. 4, Fig. 5, with specifically describing several display conditions that set in advance, repeat no more herein.
If triggered the display condition that sets in advance in the process of the 102 Web page loading pages, obtained content to be displayed.
Concrete, described content to be displayed is the local content that is stored in terminal device this locality, perhaps described content to be displayed is the Web content that is stored on the webserver.
Described local content is stored on the terminal device, has corresponding local storing path, by local storing path, can get access to described local content.Described Web content is stored on the webserver, has the corresponding network address, by the described network address, can get access to described Web content from the webserver.Described local content and described Web content can comprise picture material, audio content, word content etc.Described picture material can comprise static images, dynamic picture, video etc., for example can carry out advertisement by picture material, such as display advertising, video ads etc.Described audio content also can have various ways, such as music, audio advertisement etc.
103, in described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.
The described content to be displayed of described demonstration can be that the full page at Webpage shows, also can be to show in the part of described Webpage.
The method that the web page contents that the embodiment of the invention provides is processed, when the Web page loading page, judged in the process of the Web page loading page and whether triggered the display condition that sets in advance, and when in the process of the Web page loading page, having triggered the display condition that sets in advance, obtain content to be displayed, thereby, in described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.And in the prior art, Webpage only shows by obtaining content from the webserver corresponding to web page address that will load, and the limitation of demonstration is higher, and the demonstration dirigibility of Webpage is lower.The mode that web page contents provided by the invention is processed can show content to be displayed, and the demonstration of Webpage is comparatively versatile and flexible.
In order to make those skilled in the art better understand the present invention, the below provides a kind of concrete implementation environment, and specific embodiments of the invention are set forth:
As shown in Figure 2, the disposal route of the web page contents that further embodiment of this invention provides comprises:
201, the Web page loading page.
Wherein, the described Web page loading page can be after receiving the URL of input, loads the webpage of website corresponding to described URL.
202, judge that URL(uniform resource locator) in the Web page loading page is whether in the mapping relations table that sets in advance.If the URL(uniform resource locator) in the described Webpage in the described mapping relations table that sets in advance, execution in step 203.Otherwise, if the URL(uniform resource locator) in the described Webpage not in the described mapping relations table that sets in advance, execution in step 204.
It is local that described mapping relations table can be stored in described terminal device, carries the storing path of the local content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table; Perhaps carry the network address of the described Web content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table.
Concrete, described mapping relations table can be as shown in table 1 below:
The mapping relations table of table 1, URL(uniform resource locator) and described local content:
URI in the Webpage Local content is preserved the position
http://m.xxxx.com/logo/xxxx.png /sdcard/abcde_logo.png
http://www.xxxx.com.cn/pic/book.png /sdcard/cdefg_logo.png
As above shown in the table 1, if the http://m.xxxx.com/logo/xxxx.png in the UR I table 1 in the Webpage, then be mapped to local content, the local content storing path is/sdcard/abcde_logo.png to get access to the file of local content storing path.
In addition, described mapping relations table can also be as shown in table 2 below:
The mapping relations table of table 2, URL(uniform resource locator) and described Web content:
URI in the Webpage The network address of Web content
http://m.xxxx.com/logo/xxxx.png http://m.abcde.com/abcde_logo.png
http://www.xxxx.com.cn/pic/book.png http://www.zxcvb.com/cdefg_logo.png
As above shown in the table 2, if the http://m.xxxx.com/logo/xxxx.png in the URI table 2 in the Webpage, then be mapped to Web content, the network address of Web content is http://m.abcde.com/abcde_logo.png, will get access to file on the webserver by this network address.
The corresponding website of URL(uniform resource locator) in the described Webpage might be the illegal website, and this Browsing Safety while Using to browser impacts.By obtaining illegal website tabulation from the webserver, and safeguard this illegal website tabulation in terminal device this locality, in the tabulation of described illegal website with URL(uniform resource locator) corresponding to illegal website.For example the URL(uniform resource locator) of illegal website can be mapped to local content storing path place, form the as above mapping relations table shown in the table 1, thereby when the URL(uniform resource locator) that determines the Web page loading page is in this mapping relations table, get access to the content on the local content storing path.
203, obtain local content or Web content.After step 203, continue execution in step 205.
The local content that obtains herein can be storing path according to the corresponding local content of described URL(uniform resource locator), gets access to described local content.The Web content that obtains herein can be the network address according to the corresponding Web content of described URL(uniform resource locator), gets access to described Web content.
Concrete, described local content and Web content can comprise picture material, audio content, word content etc.Described picture material can comprise static images, dynamic picture, video etc., for example can carry out advertisement by picture material, such as display advertising, video ads etc.Described audio content also can have various ways, such as music, audio advertisement etc., but not only be confined to this.
Wherein, described local content can regularly obtain from the webserver, is display advertising, video ads etc. such as described local content, and terminal device can regularly get access to recent advertisement from the webserver, and be stored in the terminal device, form described local content.Certainly, also can be that terminal device is to the corresponding Web content of web server requests when determining in the mapping relations table that the URL(uniform resource locator) in the Web page loading page setting in advance.
204, show the corresponding web page contents of described URL(uniform resource locator).
If 205 get access to local content, in described Webpage, show described local content, if get access to Web content, in described Webpage, show described Web content, and substitute the indicated web page contents of the described display condition that sets in advance.
In Fig. 2, the described display condition that sets in advance be URL(uniform resource locator) in institute's Web page loading page in the mapping relations table that sets in advance, the indicated web page contents of the described display condition that sets in advance then is the corresponding content of URI in the Webpage in the described mapping relations table.
For the difference of the display web page content that makes step 204 and step 205 and local content or Web content more obvious, can be with reference to comparison diagram shown in Figure 3, as shown in Figure 3, to show that local content is as example, enumerated the schematic diagram that Webpage shows and local content shows, wherein, such as step 204, if do not obtain local content, show the corresponding web page contents of URL(uniform resource locator), such as the search website that Webpage shows, search website can search and webpage, picture, music etc.As step 205 as described in show in the Webpage as described in during local content, can display case such as the schematic diagram that shows of local content, for example a kind of mobile phone of lovers advertisement can show picture of mobile telephone, and has advertising words etc.By Fig. 3 as seen, the displaying contents of this search website is replaced by this mobile phone of lovers advertisement.
In addition, as shown in Figure 4, above-mentioned steps 202-step 203 can also be substituted by following steps:
401, judge that whether the time delay of the Web page loading page is greater than a Preset Time.If load the time delay of described Webpage greater than described Preset Time, execution in step 402.Otherwise, load the time delay of described Webpage less than or equal to described Preset Time, execution in step 204.
Represent that greater than a Preset Time Web page loading page is excessively slow the time delay of the Web page loading page, before can showing in the content of webpage, the local content of display terminal of elder generation this locality or elder generation are to other Web contents of web server requests, after the content obtaining of webpage arrives, show again the corresponding web page contents of URL(uniform resource locator).
For example, described local content or Web content can be display advertising, video ads etc.Time delay in the time of can effectively utilizing like this Webpage to load.
402, obtain the local content that is stored in terminal device this locality or obtain Web content from the webserver.After step 402, continue execution in step 205.
The concrete local content that is stored in terminal device this locality that obtains can be to adopt the mode of obtaining at random.For example, having a plurality of display advertisings in the local content, is during greater than a Preset Time in the time delay that determines the Web page loading page then, obtains at random one from a plurality of display advertisings.
In Fig. 4, in the described display condition that set in advance can set in advance the URI of the institute Web page loading page greater than a Preset Time time delay that the described display condition that sets in advance is the Web page loading page.When loading webpage corresponding to described URI, if greater than a Preset Time, then be equivalent to satisfy the described display condition that sets in advance time delay.And the indicated web page contents of the described display condition that sets in advance is described web page contents corresponding to URI that sets in advance institute's Web page loading page, but not only is confined to this.
In addition, as shown in Figure 5, above-mentioned steps 202-step 203 can also be substituted by following steps:
501, judge whether the Web page loading page is failed.If the failure of the Web page loading page, execution in step 502.Otherwise, execution in step 204.
Current, after Web page loading page failure, general browser all can send prompting message, with the failure of prompting webpage page open, can not find webpage etc.At this moment, can be after the failure of the Web page loading page, the local content of display terminal this locality or demonstration are to the Web content of web server requests.
502, obtain the local content that is stored in terminal device this locality or obtain Web content from the webserver.After step 502, continue execution in step 205.
Its specific implementation can referring to above-mentioned steps 402, repeat no more herein.
In Fig. 5, the described display condition that sets in advance is the failure of the Web page loading page, can set in advance the URI of institute's Web page loading page in the described display condition that sets in advance.When loading webpage corresponding to described URI, if the failure of the Web page loading page then is equivalent to satisfy the described display condition that sets in advance.And the indicated web page contents of the described display condition that sets in advance is described web page contents corresponding to URI that sets in advance institute's Web page loading page, but not only is confined to this.
What deserves to be explained is, the executive agent of the method that web page contents that the embodiment of the invention provides is processed can be the device that a kind of web page contents is processed, and the device that this web page contents is processed can arrange in the browser with terminal device, but not only is confined to this.
The method that the web page contents that further embodiment of this invention provides is processed, when the Web page loading page, judged in the process of the Web page loading page and whether triggered the display condition that sets in advance, and when in the process of the Web page loading page, having triggered the display condition that sets in advance, obtain content to be displayed, thereby, in described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.And in the prior art, Webpage only shows by obtaining content from the webserver corresponding to web page address that will load, and the limitation of demonstration is higher, and the demonstration dirigibility of Webpage is lower.The mode that web page contents provided by the invention is processed can show content to be displayed, and the demonstration of Webpage is comparatively versatile and flexible.
As shown in Figure 6, Fig. 6 is the schematic diagram of device embodiment of the disposal route of web page contents corresponding to Fig. 1 and Fig. 2, and in Fig. 6, the embodiment of the invention provides a kind for the treatment of apparatus of web page contents, comprising:
Loading unit 61 is used for the Web page loading page.
Judging unit 62 is used for judging whether the process of the described loading unit 61 Web page loading pages has triggered the display condition that sets in advance.
Acquiring unit 63 when having triggered the display condition that sets in advance for the process that determines the Web page loading page when described judging unit 62, obtains content to be displayed.
Display unit 64 is used for after described acquiring unit 63 gets access to described content to be displayed, shows described content to be displayed in described Webpage, and substitutes the indicated web page contents of the described display condition that sets in advance.
The described content to be displayed that described acquiring unit 63 obtains is the local content that is stored in terminal device this locality, and perhaps described content to be displayed is the Web content that is stored on the webserver.
Concrete, described judging unit 62 is used for:
Judge that URL(uniform resource locator) in the Web page loading page is whether in the mapping relations table that sets in advance.
It is local that described mapping relations table can be stored in described terminal device, carries the storing path of the described local content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table; Perhaps carry the network address of the described Web content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table.
Described acquiring unit 63 is used for:
When described judging unit 62 determines URL(uniform resource locator) in the described Webpage in the described mapping relations table that sets in advance the time, according to the storing path of the corresponding local content of described URL(uniform resource locator), get access to described local content.
Perhaps, described acquiring unit 63 is used for:
When described judging unit 62 determines URL(uniform resource locator) in the described Webpage in the described mapping relations table that sets in advance the time, according to the network address of the corresponding Web content of described URL(uniform resource locator), get access to described Web content.
Concrete, the corresponding website of the URL(uniform resource locator) in the described Webpage is the illegal website.
Described acquiring unit 63 also is used for:
Obtain the illegal website tabulation from the webserver.
Wherein, in the tabulation of described illegal website with URL(uniform resource locator) corresponding to illegal website.
Concrete, described judging unit 62 is used for:
Judge that whether the time delay of the Web page loading page is greater than a Preset Time.
Described acquiring unit 63 is used for:
When described judging unit 62 determines the time delay during greater than described Preset Time that loads described Webpage, obtain described content to be displayed.
Concrete, described judging unit 62 is used for:
Judge whether the Web page loading page is failed.
Described acquiring unit 63 is used for:
When described judging unit 62 determines the described Webpage failure of loading, obtain described content to be displayed.
What deserves to be explained is, the device that web page contents that the embodiment of the invention provides is processed, the device that this web page contents is processed can arrange in the browser with terminal device, but not only are confined to this.The specific implementation of the device that the web page contents that the embodiment of the invention provides is processed repeats no more referring to the specific implementation of Fig. 1 and Fig. 2 herein.
The device that the web page contents that the embodiment of the invention provides is processed, when the Web page loading page, judged in the process of the Web page loading page and whether triggered the display condition that sets in advance, and when in the process of the Web page loading page, having triggered the display condition that sets in advance, obtain content to be displayed, thereby, in described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.And in the prior art, Webpage only shows by obtaining content from the webserver corresponding to web page address that will load, and the limitation of demonstration is higher, and the demonstration dirigibility of Webpage is lower.The mode that web page contents provided by the invention is processed can show content to be displayed, and the demonstration of Webpage is comparatively versatile and flexible.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better embodiment in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computing machine, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.

Claims (10)

1. the disposal route of a web page contents is characterized in that, comprising:
The Web page loading page judges in the process of the Web page loading page whether triggered the display condition that sets in advance;
If triggered the display condition that sets in advance in the process of the Web page loading page, obtained content to be displayed;
In described Webpage, show described content to be displayed, and substitute the indicated web page contents of the described display condition that sets in advance.
2. method according to claim 1 is characterized in that, described content to be displayed is the local content that is stored in terminal device this locality, and perhaps described content to be displayed is the Web content that is stored on the webserver.
3. method according to claim 2 is characterized in that, whether has triggered the display condition that sets in advance in the described process of judging the Web page loading page, comprising:
Judge that URL(uniform resource locator) in the Web page loading page is whether in the mapping relations table that sets in advance; Carry the storing path of the described local content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table; Perhaps carry the network address of the described Web content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table;
If triggered the display condition that sets in advance in the process of the described Web page loading page, obtain content to be displayed, comprising:
If the URL(uniform resource locator) in the described Webpage according to the storing path of the corresponding local content of described URL(uniform resource locator), gets access to described local content in the described mapping relations table that sets in advance;
Perhaps, if the URL(uniform resource locator) in the described Webpage according to the network address of the corresponding Web content of described URL(uniform resource locator), gets access to described Web content in the described mapping relations table that sets in advance.
4. method according to claim 2 is characterized in that, whether has triggered the display condition that sets in advance in the described process of judging the Web page loading page, comprising:
Judge that whether the time delay of the Web page loading page is greater than a Preset Time;
If triggered the display condition that sets in advance in the process of the described Web page loading page, obtain content to be displayed, comprising:
If load the time delay of described Webpage greater than described Preset Time, obtain described content to be displayed.
5. method according to claim 2 is characterized in that, whether has triggered the display condition that sets in advance in the described process of judging the Web page loading page, comprising:
Judge whether the Web page loading page is failed;
If triggered the display condition that sets in advance in the process of the described Web page loading page, obtain content to be displayed, comprising:
If load described Webpage failure, obtain described content to be displayed.
6. the treating apparatus of a web page contents is characterized in that, comprising:
Loading unit is used for the Web page loading page;
Judging unit is used for judging whether the process of the described loading unit Web page loading page has triggered the display condition that sets in advance;
Acquiring unit is used for obtaining content to be displayed when described judgment unit judges has triggered the display condition that sets in advance to the process of the Web page loading page;
Display unit is used for after described acquiring unit gets access to described content to be displayed, shows described content to be displayed in described Webpage, and substitutes the indicated web page contents of the described display condition that sets in advance.
7. device according to claim 6 is characterized in that, the described content to be displayed that described acquiring unit obtains is the local content that is stored in terminal device this locality, and perhaps described content to be displayed is the Web content that is stored on the webserver.
8. device according to claim 7 is characterized in that, described judging unit is used for:
Judge that URL(uniform resource locator) in the Web page loading page is whether in the mapping relations table that sets in advance; Carry the storing path of the described local content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table; Perhaps carry the network address of the described Web content of described URL(uniform resource locator) and correspondence thereof in the described mapping relations table;
Described acquiring unit is used for:
When the URL(uniform resource locator) of described judgment unit judges in the described Webpage is in the described mapping relations table that sets in advance, according to the storing path of the corresponding local content of described URL(uniform resource locator), get access to described local content;
Perhaps, described acquiring unit is used for:
When the URL(uniform resource locator) of described judgment unit judges in the described Webpage is in the described mapping relations table that sets in advance, according to the network address of the corresponding Web content of described URL(uniform resource locator), get access to described Web content.
9. device according to claim 7 is characterized in that, described judging unit is used for:
Judge that whether the time delay of the Web page loading page is greater than a Preset Time;
Described acquiring unit is used for:
When described judgment unit judges to time delay that loads described Webpage during greater than described Preset Time, obtain described content to be displayed.
10. device according to claim 7 is characterized in that, described judging unit is used for:
Judge whether the Web page loading page is failed;
Described acquiring unit is used for:
When described judgment unit judges is failed to the described Webpage of loading, obtain described content to be displayed.
CN2013102502205A 2013-06-21 2013-06-21 Webpage content processing method and device Pending CN103309996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102502205A CN103309996A (en) 2013-06-21 2013-06-21 Webpage content processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102502205A CN103309996A (en) 2013-06-21 2013-06-21 Webpage content processing method and device

Publications (1)

Publication Number Publication Date
CN103309996A true CN103309996A (en) 2013-09-18

Family

ID=49135214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102502205A Pending CN103309996A (en) 2013-06-21 2013-06-21 Webpage content processing method and device

Country Status (1)

Country Link
CN (1) CN103309996A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036053A (en) * 2014-07-07 2014-09-10 广州金山网络科技有限公司 Invalid link address processing method and device
CN104657118A (en) * 2013-11-18 2015-05-27 中国移动通信集团公司 Native + Web mixed mobile application achieving method and device
CN105354187A (en) * 2015-09-30 2016-02-24 北京奇虎科技有限公司 Method for translating webpage contents and electronic device
CN105893426A (en) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 Webpage browsing method for mobile terminal and mobile terminal
CN106339501A (en) * 2016-09-13 2017-01-18 三星电子(中国)研发中心 Method and device for pushing media files
CN107451270A (en) * 2017-08-03 2017-12-08 掌阅科技股份有限公司 Page display method, electronic equipment and computer-readable storage medium
CN108307384A (en) * 2016-08-18 2018-07-20 百度在线网络技术(北京)有限公司 A kind of information display method and device
CN109618237A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
CN110096661A (en) * 2019-04-19 2019-08-06 上海车轮互联网服务有限公司 The page data processing method and device preloaded based on data
CN110311968A (en) * 2019-06-26 2019-10-08 北京小米移动软件有限公司 The method, apparatus and smart machine of streaming load document
CN113158112A (en) * 2021-05-10 2021-07-23 广州欢网科技有限责任公司 Page display method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425094A (en) * 2008-12-12 2009-05-06 腾讯科技(深圳)有限公司 Method and device for changing window of container
CN101771694A (en) * 2010-01-12 2010-07-07 深圳市五巨科技有限公司 Method for ensuring successful webpage browsing at client side and device therefor
US20100281357A1 (en) * 2009-04-30 2010-11-04 International Business Machines Corporation System and method for processing a widget at a web browser
CN102214223A (en) * 2011-06-15 2011-10-12 奇智软件(北京)有限公司 Method and system for browser access control
CN102929599A (en) * 2012-09-26 2013-02-13 广州市动景计算机科技有限公司 Method and device for modifying browser interface of mobile terminal, and mobile terminal
CN102999591A (en) * 2012-11-16 2013-03-27 北京奇虎科技有限公司 File management method and device
CN103034517A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for loading browser control tool

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425094A (en) * 2008-12-12 2009-05-06 腾讯科技(深圳)有限公司 Method and device for changing window of container
US20100281357A1 (en) * 2009-04-30 2010-11-04 International Business Machines Corporation System and method for processing a widget at a web browser
CN101771694A (en) * 2010-01-12 2010-07-07 深圳市五巨科技有限公司 Method for ensuring successful webpage browsing at client side and device therefor
CN102214223A (en) * 2011-06-15 2011-10-12 奇智软件(北京)有限公司 Method and system for browser access control
CN102929599A (en) * 2012-09-26 2013-02-13 广州市动景计算机科技有限公司 Method and device for modifying browser interface of mobile terminal, and mobile terminal
CN102999591A (en) * 2012-11-16 2013-03-27 北京奇虎科技有限公司 File management method and device
CN103034517A (en) * 2012-12-14 2013-04-10 北京奇虎科技有限公司 Method and device for loading browser control tool

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657118A (en) * 2013-11-18 2015-05-27 中国移动通信集团公司 Native + Web mixed mobile application achieving method and device
CN104036053A (en) * 2014-07-07 2014-09-10 广州金山网络科技有限公司 Invalid link address processing method and device
CN105354187A (en) * 2015-09-30 2016-02-24 北京奇虎科技有限公司 Method for translating webpage contents and electronic device
CN105893426A (en) * 2015-12-04 2016-08-24 乐视移动智能信息技术(北京)有限公司 Webpage browsing method for mobile terminal and mobile terminal
CN108307384A (en) * 2016-08-18 2018-07-20 百度在线网络技术(北京)有限公司 A kind of information display method and device
CN106339501A (en) * 2016-09-13 2017-01-18 三星电子(中国)研发中心 Method and device for pushing media files
CN107451270A (en) * 2017-08-03 2017-12-08 掌阅科技股份有限公司 Page display method, electronic equipment and computer-readable storage medium
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
CN110020278B (en) * 2017-09-08 2023-05-02 阿里巴巴集团控股有限公司 Page data display and provision method, client and server
CN109618237A (en) * 2018-11-26 2019-04-12 维沃移动通信有限公司 A kind of method for processing video frequency and mobile terminal
CN110096661A (en) * 2019-04-19 2019-08-06 上海车轮互联网服务有限公司 The page data processing method and device preloaded based on data
CN110311968A (en) * 2019-06-26 2019-10-08 北京小米移动软件有限公司 The method, apparatus and smart machine of streaming load document
CN113158112A (en) * 2021-05-10 2021-07-23 广州欢网科技有限责任公司 Page display method, device and equipment

Similar Documents

Publication Publication Date Title
CN103309996A (en) Webpage content processing method and device
US9443257B2 (en) Securing expandable display advertisements in a display advertising environment
US10026103B2 (en) Time-triggered advertisement replacement
CN106484862B (en) Page control method and device
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
JP2009531783A5 (en)
CN102929971B (en) Multimedia information playing method and system
JP2014534481A5 (en)
CN106250454B (en) Page script loading method and device
CN102932197A (en) Testing method and system
CN102999613B (en) A kind of method of the class of loading tool in a browser window and device thereof
US8682964B1 (en) Progressively loading network content
CN101799821B (en) Method and system for realizing webpage application by widget
CN104572843A (en) Page loading method and device
CN105574142A (en) Method and system for recommending content to user
US10783527B2 (en) Providing seamless online video advertisements
CN106980698A (en) Browser static resource loading method, browser program and readable storage medium storing program for executing
CN104598571A (en) Method and device for playing multimedia resource
US10193988B2 (en) Setting a first-party user ID cookie on a web servers domain
CN104881452B (en) Resource address sniffing method, device and system
CN101645090A (en) Page display method, server and network system
CN105224611A (en) Based on the operation processing method of browser, device and browser
CN105630310A (en) Method and device for displaying titles during graph group switching
CN104731817B (en) A kind of webpage exhibiting method and device
US11477158B2 (en) Method and apparatus for advertisement anti-blocking

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130918