CN101930448B - Method and device for subscribing webpage information - Google Patents

Method and device for subscribing webpage information Download PDF

Info

Publication number
CN101930448B
CN101930448B CN2010101118411A CN201010111841A CN101930448B CN 101930448 B CN101930448 B CN 101930448B CN 2010101118411 A CN2010101118411 A CN 2010101118411A CN 201010111841 A CN201010111841 A CN 201010111841A CN 101930448 B CN101930448 B CN 101930448B
Authority
CN
China
Prior art keywords
zone
subscribing
subscription
content
user
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
CN2010101118411A
Other languages
Chinese (zh)
Other versions
CN101930448A (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN2010101118411A priority Critical patent/CN101930448B/en
Publication of CN101930448A publication Critical patent/CN101930448A/en
Application granted granted Critical
Publication of CN101930448B publication Critical patent/CN101930448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and a device for subscribing webpage information. The method comprises the following steps: identifying area coverage of the subscription area selected by a user in a webpage; monitoring whether the content in the subscription area indicated by the area coverage changes; and if so, informing the user of change information, and/or displaying the subscription area with the changed content, and/or displaying the webpage on which the subscription area with the changed content is located. The embodiment of the invention improves the flexibility of subscribing the webpage information for the user.

Description

A kind of method for subscribing of info web and device
Technical field
The present invention relates to the browser technology field, particularly relate to a kind of info web method for subscribing and device.
Background technology
In current networked information era, the user can obtain various information through visiting various types of websites.If the user need understand the information on certain website, then need import the network address of this website in browser's address bar, perhaps, obtain the website links of this website, click the back and get into this website.But in some cases, the user possibly repeatedly visit same website, and at this moment, if do not carry out special processing, the user just need repeatedly repeat to import the operation that network address is perhaps obtained website links, makes the efficient of the information of obtaining reduce.
In order to improve the efficient that the user obtains information, the method for subscribing to info web is provided in the prior art.Say from implementation, can be divided into following two kinds of implementations substantially: have the subscription of prompting and not with the subscription (also being called as collection usually) of prompting.For example, RSS (Really Simple Syndication, aggregated content) subscription technology is exactly a kind of subscribing manner that has prompting; Under this mode, the user is webpage of being concerned about or channel collecting or preserve, when the content of subscribed website takes place to upgrade or changes; The user can obtain notice or prompting; Like this, the user also can obtain fresh information under the situation of access websites not.Under the subscribing manner that does not have prompting; The user can be with webpage own interested and that hope can be visited in the future once more; Add in the collection of browser, like this, in the time of need visiting this webpage more later on; Just can directly visit these webpages, and not need to import once more the network address of this webpage or obtain its website links through collection.
But; The application of method for subscribing of the prior art is also dumb; Be mainly reflected in following aspect: no matter be in the subscription technology of band promptings such as RSS, still in the common not subscription technology with prompting, the user can be that unit is subscribed to webpage even channel (comprising a plurality of webpages) only; But this can make the user that the subscription of info web is lacked dirigibility, also possibly cause the unnecessary wasting of resources simultaneously.
Summary of the invention
The embodiment of the invention provides a kind of info web method for subscribing and device, to improve the dirigibility that the user subscribes to info web.
Embodiments of the invention provide following technical scheme:
The embodiment of the invention discloses a kind of method for subscribing of info web, comprising:
The regional extent in the subscription zone that the identification user chooses on webpage;
Whether the content of monitoring the indicated subscription zone of said regional extent changes;
If said content of subscribing to the zone changes, then,
Change information is prompted to the user, and/or, the subscription zone after the content change is shown, and/or the page that the zone of the subscription after the content change is belonged to shows;
Whether the content in the subscription zone that said monitoring subscription zone is indicated changes and comprises:
Read said all page elements that the zone is comprised of subscribing to;
Search the public father node of the child node in the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with the outermost layer element of said public father node corresponding page element as said subscription zone;
Whether inquire about the said HTML code of subscribing to the outermost layer element in zone and change, if the HTML code of the HTML code of the outermost layer element in said subscription zone and preservation is inconsistent, variation has taken place in then said content of subscribing to the zone.
Preferably, the regional extent in the subscription zone on webpage, chosen of said identification user comprises:
The area coordinate of identification user regional frame of intercepting on current web page;
Perhaps,
Identification includes the area coordinate of the page elements region of mouse position.
Preferably, said page elements comprises: page text, link, button and/or picture.
Preferably, if said content of subscribing to the zone changes, then change information is prompted to the user and comprises:
Point out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location;
Perhaps,
Eject prompting frame at the screen ad-hoc location, variation has taken place in the said content of subscribing to the zone of prompting in said prompting frame.
A kind of subscription device of info web comprises:
Recognition unit is used to discern the regional regional extent of subscription that the user chooses on webpage;
Whether monitoring unit is used to monitor the regional content of the indicated subscription of said regional extent and changes; And,
Tip element changes if be used for said content of subscribing to the zone, then change information is prompted to the user; And/or first display unit is used for the subscription zone after the content change is shown; And/or second display unit is used for the page at place, the zone of the subscription after the content change is shown;
Said monitoring unit comprises:
Read subelement, be used to read said all page elements that the zone is comprised of subscribing to; Search subelement, be used for searching the public father node of the child node of the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with said public father node corresponding page element as the said outermost layer element of subscribing to the zone; The second inquiry subelement; Whether be used to inquire about the said HTML code of subscribing to the outermost layer element in zone changes; If the HTML code of the outermost layer element in said subscription zone and the HTML code of preservation are inconsistent, variation has taken place in then said content of subscribing to the zone.。
Preferably, said recognition unit comprises:
The first recognin unit is used to discern the area coordinate of user's regional frame of intercepting on current page;
Perhaps,
The second recognin unit is used to discern the area coordinate that comprises by the page elements region of mouse position.
Preferably, said Tip element comprises:
The first prompting subelement is used for pointing out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location;
Perhaps,
The second prompting subelement is used for ejecting prompting frame at the screen ad-hoc location, and variation has taken place the said content of subscribing to the zone of prompting in said prompting frame.
Can find out through the foregoing description; Browser can be analyzed the subscription zone that the user chooses on webpage; Therefore, the user can freely choose the subscription zone according to the interest of oneself and subscribe on webpage, realized that with a certain zone on the webpage be the subscription of unit; Thereby enlarged subscription range and the freedom of user, improved the dirigibility that the user subscribes to info web info web.Further, subscribe to the content change in zone, and the user is carried out prompting when taking place to upgrade subscribing to the zone through monitoring, can be so that the user be known the up-to-date information of subscribing to the zone timely, and can not subscribe to the variation in zone and bothered because of non-.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of an embodiment of a kind of info web method for subscribing of the present invention;
Fig. 2 is the process flow diagram of another embodiment of a kind of info web method for subscribing of the present invention;
Fig. 3 chooses the synoptic diagram of subscribing to the zone for user among the present invention;
Fig. 4 among the present invention the user choose subscribe to the zone after, be shown to the synoptic diagram of user's subscribe option dialog box;
Fig. 5 among the present invention when subscribing to the zone when changing, eject the synoptic diagram that prompting frame is pointed out the user;
The subscription area schematic of Fig. 6 for showing among the present invention;
Fig. 7 subscribes to the structural drawing of an embodiment of device for a kind of info web among the present invention.
Embodiment
For make above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Embodiment one
See also Fig. 1, it is the process flow diagram of an embodiment of a kind of info web method for subscribing of the present invention, and this method may further comprise the steps:
Step 101: the regional extent in the subscription zone that the identification user chooses;
Wherein, the identification user comprises in the regional extent in the subscription zone of choosing on the webpage: the area coordinate of identification user regional frame of intercepting on current page; Perhaps, identification includes the area coordinate of the page elements region of mouse position.
Wherein, page elements comprises: page text, link, button and/or picture.One skilled in the art will appreciate that these are common page elements, in practical application, page elements also possibly comprise Flash, audio/video player or the like, in a word so long as the content that is presented in the webpage all belongs to page elements.In other words, the content in the webpage that common people say, or the content in the webpage zone are said the page elements that all is meant the webpage from technological layer, perhaps the page elements in the webpage zone.Wherein, a node during each page elements is all set with DOM (Document Object Model, DOM Document Object Model) is corresponding, and has unique node identification.DOM is a kind of and browser, the irrelevant interface of platform language, can accession page other standard package.
Need to prove that any zone that the user can freely choose on the webpage is regional as subscribing to, therefore, the present invention does not do qualification to how choosing the subscription zone.
Step 102: whether the content of monitoring the indicated subscription zone of said regional extent changes;
Whether change can comprise: read said all page elements that the zone is comprised of subscribing to if wherein, monitoring the regional content of the indicated subscription of said regional extent; Whether the HTML HTML code of inquiring about said page elements changes, if exist the HTML code of HTML code and preservation of page elements of predetermined number inconsistent, variation has taken place then said content of subscribing to the zone.Perhaps, read said all page elements that the zone is comprised of subscribing to; Search the public father node of the child node in the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with the outermost layer element of said public father node corresponding page element as said subscription zone; Whether inquire about the said HTML code of subscribing to the outermost layer element in zone and change, if the HTML code of the HTML code of the outermost layer element in said subscription zone and preservation is inconsistent, variation has taken place in then said content of subscribing to the zone.
Wherein, When choosing the subscription zone on user's webpage, browser reads said all page elements that comprised in the zone of subscribing to, and on dom tree, searches and the corresponding child node of above-mentioned page elements; And search the father node of said child node successively; Till the public father node that finds all child nodes, and will with the pairing page elements of this public father node as the said outermost layer element of subscribing to the zone, whether the HTML code of further inquiring about the outermost layer element changes; If the HTML code of said outermost layer element and the HTML code of preservation are inconsistent, judge that variation has taken place said content of subscribing to the zone.
The HTML code of above-mentioned preservation is the HTML code of the interior outermost layer element of being preserved of a last monitoring period; After current monitoring period finishes; Variation has taken place if judge said content of subscribing to the zone; Then the HTML code of outermost layer element in the current monitoring period is preserved, for next monitoring period in the HTML code contrast of outermost layer element, whether the HTML code of inquiring about outermost layer element in the next monitoring period changes.After current period finishes, do not change if judge said content of subscribing to the zone, then can continue to preserve the HTML code of the outermost layer element of being preserved in the monitoring period.
Step 103: when said content of subscribing to the zone changes, change information is prompted to the user with preset mode.
Wherein, When said content of subscribing to the zone changes; Change information is prompted to the user can be comprised: point out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location, show such as background colour or the font color flicker that will collect button at dynamic collection place, hurdle; Perhaps, eject prompting frame at the screen ad-hoc location, variation has taken place in the said subscription of prompting zone in said prompting frame, such as eject prompting frame in the screen lower right corner.
Can know to have only when the content of subscribing to the zone changes according to foregoing, just can point out to the user.That is, owing to only the content of subscribing to the zone is monitored, and whether the content of being indifferent to beyond the subscription zone changes; Therefore; Change if subscribe to the other guide of subscribing to beyond the zone on the webpage of place, zone, and the content in this subscription zone does not change, and then can not point out.Like this, can guarantee that the information of pointing out out all is that the user needs, can improve the utilization factor of information, simultaneously, the interference of avoiding too much information that the user is caused.
Need to prove that when the content of subscribing to the zone changes, can adopt any-mode that change information is prompted to the user, the present invention does not limit this.
The embodiment of the invention can further include: the subscription zone after the content change is shown perhaps, the page that the zone of the subscription after the content change is belonged to shows.
Can find out through the foregoing description; Browser can be regularly to the user according to oneself interest and the subscription zone on webpage, freely chosen is analyzed; And be implemented in when subscribing to regional content generation renewal; The user is carried out prompting, enlarged subscription range and the freedom of user, thereby improved the dirigibility that the user subscribes to info web info web.
In addition; In the existing RSS technology; The RSS source data is the interface document of a set form providing specially of backstage, and the RSS reader is downloaded this file, compares with the original file description in this locality; Only be prompting when the data of this corresponding region, RSS source change, setting type to wait to represent can not get prompting when form changes.And the embodiment of the invention is when analyzing the HTML HTML code of subscribing to regional outermost layer element; Not only subscribe to the corresponding data in zone prompting user when changing, change and also can point out the user in case subscribe to the form that represents in zone.Simultaneously, the embodiment of the invention need not provide as the special interface in the RSS technology to the website and can realize subscribing to, and is more prone to thereby realize disposing.
Embodiment two
See also Fig. 2, it is the process flow diagram of another embodiment of a kind of info web method for subscribing of the present invention, and it is application scenarios that present embodiment is browsed a web portal pages with the user, and the method for the realization info web subscription of present embodiment is described, may further comprise the steps:
Step 201: when user's browsing page, and need subscribe to certain zone in the webpage time, on webpage, choose through the form of a regional frame of intercepting by the user and to subscribe to the zone;
Wherein, see also shown in Figure 3ly, it chooses the synoptic diagram of subscribing to the zone for user among the present invention.The user subscribes to the zone except can on webpage, choosing through the form of a regional frame of intercepting, can also be on the page chooses the subscription zone that the page elements region by the mouse position place constitutes through the form of click.
Need to prove that when user's browsing page, can point out the user to carry out the zone through modes such as the button in the browser toolbar, shortcut, ejection Toolbars Panel or right button popup menus and select, the present invention limit this.
Step 202: the regional frame of browser identification user intercepting on current web page, the area coordinate of storage area frame and the network address of current page;
Wherein, when the user chose the subscription zone that the page elements region by the mouse position place constitutes through the form of click on the page, then browser identification included the page elements zone of mouse position; Preserve the network address of the area coordinate and the said page elements place page of said region.
Browser is after identifying the area coordinate of subscribing to the zone; Can also be with the form of dynamic ejection subscribe option dialog box; The area coordinate of subscribing to the zone is shown to the user; And renewal frequency is set by the user, and after the user sets renewal frequency, the network address of the area coordinate of storage area frame and current page again.See also shown in Figure 4, its among the present invention the user choose subscribe to the zone after, be shown to the synoptic diagram of user's subscribe option dialog box.
Can find out from above; Because the area coordinate that can the storage area frame and the network address of current page; Therefore; The embodiment of the invention can also provide a kind of like this method of subscribing to info web: when the user need browse the content in said subscription zone, read the content in said subscription zone according to the website information of place, said subscription zone webpage and the regional extent information in subscription zone, and be shown to the user.Promptly; After the network address of the area coordinate of storage area frame and current page; Whether the content that also can monitor this subscription zone changes, but when the user need check the content in this subscription zone, just directly will subscribe to the current content in zone and be shown to the user; Variation constantly possibly take place with respect to subscribing in the current content in this subscription zone, also possibly not change.
Wherein, Specifically reading said content of subscribing to the zone, and when being shown to the user, can at first read the current content of said webpage according to said website information of subscribing to place, zone webpage; Then; According to belonging to the content of subscribing in the regional extent in the regional extent information acquisition web page contents of subscribing to the zone, last, the content that will subscribe to the zone again is shown to the user.
Adopt such scheme; Can make the user see it and subscribe to the what be new in zone, the subscription zone of collecting originally such as the user is the trend graph or the stock market views on broad market movements figure of certain stock, because this trend graph is constantly to change; Therefore; When the user browsed the subscription zone once more, what see had been up-to-date trend graph, promptly can let the user be concerned about up-to-date information.Certainly, for the subscription of some webpage zone, its content generally can not change, and is the part of one piece of article such as subscribing to zone, so in such cases, and the content that the user sees sees when being exactly initial subscription.
Embodiment is corresponding with this method, and the embodiment of the invention also provides a kind of subscription device of info web, and this device comprises:
Recognition unit is used to discern the regional regional extent of subscription that the user chooses on webpage;
The first preservation unit is used to preserve the said website information of place, zone webpage and the regional extent information in said subscription zone of subscribing to;
The 3rd display unit is used for when the user need browse the content in said subscription zone, reads the content in said subscription zone according to the website information of place, said subscription zone webpage and the regional extent information in subscription zone, and is shown to the user.
Wherein, said the 3rd display unit comprises:
Read subelement, read the content of current said webpage according to said website information of subscribing to place, zone webpage;
Search subelement, be used for belonging to the content in the said subscription regional extent according to the said said web page contents of regional extent information acquisition of subscribing to the zone;
Show subelement, be used for said content of subscribing to the zone is shown to the user.
Step 203: browser regularly browses the webpage of subscribing to the place, zone according to the network address of the webpage of subscribing to the place, zone with the renewal frequency that the user sets;
Wherein, When the user is choosing a plurality of subscription zone or on different webpages, choosing a plurality of subscription when regional on the webpage; Can also be database of User Defined; And each area coordinate of subscribing to the zone is kept in the User Defined database with the network address of current page, browser is browsed each in a certain order successively and is subscribed to the webpage that the zone belongs to.
Step 204: browser obtains and the corresponding subscription of area coordinate zone according to area coordinate, reads said all page elements that the zone is comprised of subscribing to;
Step 205: whether the HTML HTML code that browser is inquired about said page elements changes; If exist the HTML code of HTML code and preservation of page elements of predetermined number inconsistent, if get into step 206; If, do not continue to carry out this step;
Wherein, Above-mentioned steps can also be searched the public father node of the child node in the DOM Document Object Model dom tree that constitutes with above-mentioned page elements by browser; With the outermost layer element of said public father node corresponding page element as said subscription zone; And whether the HTML code of further inquiring about the outermost layer element in said subscription zone changes; If the HTML code of the outermost layer element in said subscription zone and the HTML code of preservation are inconsistent, variation has taken place in then said content of subscribing to the zone.
Thus; When the HTML code of subscribing to regional page elements is inquired about; Whether can analyze the data of subscribing in the zone changes; When the HTML HTML code of outermost layer element of subscribing to the zone is inquired about, can analyze and subscribe to representing form and whether can changing of zone.
Can find out from above; The embodiment of the invention can also provide a kind of like this method of subscribing to info web: after the regional extent that identifies the subscription zone that the user chooses on webpage; Preserve the content in this subscription zone; When the user need browse the content of subscribing to the zone, the content in the subscription zone that directly will preserve offered the user.Promptly; After the step of accomplishing identification; Need not preserve the website information of subscribing to place, zone webpage, also need not subscribe to the zone and carry out policer operation, but directly preserve the regional content of this subscription of the subscribed moment this; When the user need check the content in this subscription zone, directly the content of preserving is shown to the user.In other words, when the user need check,, also be that the content with the subscribed moment of preserving is shown to the user even variation has taken place the content in this subscription zone.
During concrete the realization; Can preserve the content of subscribing to the zone in the following manner: preserve the said content of place, zone webpage when subscribed and the regional extent information in said subscription zone of subscribing to; Accordingly; Can obtain in the content of said webpage when subscribed according to said regional extent information of subscribing to the zone, belong to said content of subscribing to the zone; And with said when subscribed said content of subscribing to the zone offer the user.Wherein, Can preserve the HTML code of place, said subscription zone webpage when subscribed and the regional extent information in said subscription zone, preserve and subscribe to regional content, certainly in the subscribed moment; Also can adopt other modes to realize, not limit here.
This situation can be applied to following scene: when the user sees certain bar news on certain webpage; Maybe be interested in it; But, in the time after after a while, need checking this news again, possibly can't in this webpage, find along with the continuous increase of news new in the webpage.At this moment, the user just can subscribe to the zone at this news place, no matter when, as long as when the user wants to check this subscriptions zone, can browse to easily and subscribe to the news that the moment should the zone.
Corresponding with this method, the embodiment of the invention also provides the subscription device of another kind of info web, and this device comprises:
Recognition unit is used to discern the regional regional extent of subscription that the user chooses on webpage;
The second preservation unit is used to preserve said content of subscribing to the zone;
The 4th display unit is used for when the user need browse the content in said subscription zone, and the content that the subscription of said preservation is regional offers the user.
Wherein, the said second preservation unit specifically is used to preserve the said content of place, zone webpage when subscribed and the regional extent information in said subscription zone of subscribing to;
Accordingly, said the 4th display unit specifically is used for the regional extent information according to said subscription zone, obtains in the content of said webpage when subscribed, belongs to said content of subscribing to the zone; With said when subscribed said content of subscribing to the zone offer the user.
Step 206: browser ejects prompting frame at the screen ad-hoc location, and variation has taken place the said content of subscribing to the zone of prompting in said prompting frame;
Wherein, see also shown in Figure 5, its among the present invention when the content of subscribing to the zone changes, eject the synoptic diagram that prompting frame is pointed out the user.When the content of subscribing to the zone changed, browser can also point out said subscription zone that variation has taken place through the mode of flicker.
Step 207: the user clicks the clauses and subclauses of subscribing in the collection hurdle, zone, and the subscription zone after browser will change is shown to the user.
Wherein, after the user clicked the clauses and subclauses of subscribing in the collection hurdle, zone, browser also can be shown to the user with the page at place, the zone of the subscription after changing.See also shown in Figure 6, its subscription area schematic for showing among the present invention.
Can find out through the foregoing description; Browser can be regularly to the user according to oneself interest and the subscription zone on webpage, freely chosen is analyzed; And be implemented in when subscribing to zone generation renewal; The user is carried out prompting, enlarged subscription range and the freedom of user, thereby improved the dirigibility that the user subscribes to info web info web.
In addition; In the existing RSS technology; The RSS source data is the interface document of a set form providing specially of backstage, and the RSS reader is downloaded this file, compares with the original file description in this locality; Only be prompting when the data of this corresponding region, RSS source change, setting type to wait to represent can not get prompting when form changes.And the embodiment of the invention is when analyzing the HTML HTML code of subscribing to regional outermost layer element; Not only subscribe to the corresponding data in zone prompting user when changing, change and also can point out the user in case subscribe to the form that represents in zone.Simultaneously, the embodiment of the invention need not provide as the special interface in the RSS technology to the website and can realize subscribing to, and is more prone to thereby realize disposing.
Need to prove; One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium, and this program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (RanDOM Access Memory, RAM) etc.
Embodiment three
Corresponding with the method for subscribing of above-mentioned info web shown in Figure 1, the embodiment of the invention also provides a kind of subscription device of info web.Said device particularly can be a browser.See also Fig. 7, it is an example structure figure of the subscription device of a kind of info web of the present invention, and this device comprises: recognition unit 701, monitoring unit 702 and Tip element 703.Principle of work below in conjunction with this device is further introduced its inner structure and annexation.
Recognition unit 701 is used to discern the regional regional extent of subscription that the user chooses on webpage;
Whether monitoring unit 702 is used to monitor the regional content of the indicated subscription of said regional extent and changes;
Tip element 703 changes if be used for said content of subscribing to the zone, then change information is prompted to the user.
Wherein, above-mentioned recognition unit 701 can comprise: the first recognin unit or the second recognin unit,
The first recognin unit is used to discern the area coordinate of user's regional frame of intercepting on current page;
The second recognin unit is used to discern the area coordinate that comprises by the page elements region of mouse position.
Above-mentioned monitoring unit 702 comprises: read the subelement 7021 and the first inquiry subelement 7022,
Read subelement 7021, be used to read said all page elements that the zone is comprised of subscribing to;
Inquiry subelement 7022, whether the HTML code that is used to inquire about said page elements changes, if exist the HTML code of page elements of predetermined number inconsistent with the HTML code of preservation, then saidly subscribes to regional content variation has taken place.
Perhaps, monitoring unit 702 comprises: read subelement, search the subelement and the second inquiry subelement, wherein,
Read subelement, be used to read said all page elements that the zone is comprised of subscribing to;
Search subelement, be used for searching the public father node of the child node of the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with said public father node corresponding page element as the said outermost layer element of subscribing to the zone;
The second inquiry subelement; Whether be used to inquire about the said HTML code of subscribing to the outermost layer element in zone changes; If the HTML code of the outermost layer element in said subscription zone and the HTML code of preservation are inconsistent, variation has taken place in then said content of subscribing to the zone.
Above-mentioned Tip element 703 comprises: the first prompting subelement or the second prompting subelement, wherein,
The first prompting subelement is used for pointing out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location;
The second prompting subelement is used for ejecting prompting frame at the screen ad-hoc location, and variation has taken place the said content of subscribing to the zone of prompting in said prompting frame.
Said device can further include: first display unit is used for the subscription zone after the content change is shown that perhaps, second display unit is used for the page at place, the zone of the subscription after the content change is shown.In practical application; Tip element 703 can and be deposited also with this first display unit or second display unit can distinguish individualism; For example, can both change, show to the user that subscribing to the interior of zone perhaps showed place, the zone of the subscription after content change webpage again to user prompt; Again for example, can not point out to the user, and directly the subscription zone after the content change is shown, perhaps, directly the page with place, the zone of the subscription after the content change shows.
Can find out through the foregoing description; Browser can be regularly to the user according to oneself interest and the subscription zone on webpage, freely chosen is analyzed; And be implemented in when subscribing to zone generation renewal; The user is carried out prompting, enlarged subscription range and the freedom of user, thereby improved the dirigibility that the user subscribes to info web info web.
In addition; In the existing RSS technology; The RSS source data is the interface document of a set form providing specially of backstage, and the RSS reader is downloaded this file, compares with the original file description in this locality; Only be prompting when the data of this corresponding region, RSS source change, setting type to wait to represent can not get prompting when form changes.And the embodiment of the invention is when analyzing the HTML HTML code of subscribing to regional outermost layer element; Not only subscribe to the corresponding data in zone prompting user when changing, change and also can point out the user in case subscribe to the form that represents in zone.Simultaneously, the embodiment of the invention need not provide as the special interface in the RSS technology to the website and can realize subscribing to, and is more prone to thereby realize disposing.
System described in the present invention, apparatus and method are applicable in diverse network or the client environment; For example can be implemented in the computer equipment such as PC device, perhaps can be implemented in such as in other electronic equipments such as mobile phone, mobile communication equipment, PDA(Personal Digital Assistant).
More than a kind of page method for subscribing provided by the present invention and device have been carried out detailed introduction; Used specific embodiment among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (7)

1. the method for subscribing of an info web is characterized in that, comprising:
The regional extent in the subscription zone that the identification user chooses on webpage;
Whether the content of monitoring the indicated subscription zone of said regional extent changes;
If said content of subscribing to the zone changes, then,
Change information is prompted to the user, and/or, the subscription zone after the content change is shown, and/or the page that the zone of the subscription after the content change is belonged to shows;
Whether the content in the subscription zone that said guarded region scope is indicated changes and comprises:
Read said all page elements that the zone is comprised of subscribing to; Search the public father node of the child node in the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with the outermost layer element of said public father node corresponding page element as said subscription zone; Whether inquire about the said HTML code of subscribing to the outermost layer element in zone and change, if the HTML code of the HTML code of the outermost layer element in said subscription zone and preservation is inconsistent, variation has taken place in then said content of subscribing to the zone.
2. method according to claim 1 is characterized in that, the regional extent in the subscription zone that said identification user chooses on webpage comprises:
The area coordinate of identification user regional frame of intercepting on current web page;
Perhaps,
Identification includes the area coordinate of the page elements region of mouse position.
3. method according to claim 1 is characterized in that, said page elements comprises: page text, link, button and/or picture.
4. method according to claim 1 is characterized in that, if said content of subscribing to the zone changes, then change information is prompted to the user and comprises:
Point out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location;
Perhaps,
Eject prompting frame at the screen ad-hoc location, variation has taken place in the said content of subscribing to the zone of prompting in said prompting frame.
5. the subscription device of an info web is characterized in that, comprising:
Recognition unit is used to discern the regional regional extent of subscription that the user chooses on webpage;
Whether monitoring unit is used to monitor the regional content of the indicated subscription of said regional extent and changes; And,
Tip element changes if be used for said content of subscribing to the zone, then change information is prompted to the user; And/or first display unit is used for the subscription zone after the content change is shown; And/or second display unit is used for the page at place, the zone of the subscription after the content change is shown;
Said monitoring unit comprises:
Read subelement, be used to read said all page elements that the zone is comprised of subscribing to; Search subelement, be used for searching the public father node of the child node of the DOM Document Object Model dom tree that constitutes with above-mentioned page elements, with said public father node corresponding page element as the said outermost layer element of subscribing to the zone; The second inquiry subelement; Whether be used to inquire about the said HTML code of subscribing to the outermost layer element in zone changes; If the HTML code of the outermost layer element in said subscription zone and the HTML code of preservation are inconsistent, variation has taken place in then said content of subscribing to the zone.
6. device according to claim 5 is characterized in that, said recognition unit comprises:
The first recognin unit is used to discern the area coordinate of user's regional frame of intercepting on current page;
Perhaps,
The second recognin unit is used to discern the area coordinate that comprises by the page elements region of mouse position.
7. device according to claim 5 is characterized in that, said Tip element comprises:
The first prompting subelement is used for pointing out said content of subscribing to the zone that variation has taken place through the mode of glimmering at the screen ad-hoc location;
Perhaps,
The second prompting subelement is used for ejecting prompting frame at the screen ad-hoc location, and variation has taken place the said content of subscribing to the zone of prompting in said prompting frame.
CN2010101118411A 2009-06-23 2010-02-05 Method and device for subscribing webpage information Active CN101930448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101118411A CN101930448B (en) 2009-06-23 2010-02-05 Method and device for subscribing webpage information

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200910087504 2009-06-23
CN200910087504.0 2009-06-23
CN2010101118411A CN101930448B (en) 2009-06-23 2010-02-05 Method and device for subscribing webpage information

Publications (2)

Publication Number Publication Date
CN101930448A CN101930448A (en) 2010-12-29
CN101930448B true CN101930448B (en) 2012-08-29

Family

ID=43369628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101118411A Active CN101930448B (en) 2009-06-23 2010-02-05 Method and device for subscribing webpage information

Country Status (1)

Country Link
CN (1) CN101930448B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI468951B (en) * 2011-01-06 2015-01-11 Tencent Tech Shenzhen Co Ltd A method and device for implementing subscription information from a web page
CN102637175B (en) * 2011-02-11 2014-12-03 联想(北京)有限公司 Terminal equipment, server and method for determining target region
CN102739562B (en) * 2011-04-15 2015-05-20 阿里巴巴集团控股有限公司 Method and device for sending collection information
CN102314314B (en) * 2011-08-29 2015-08-26 上海量明科技发展有限公司 The method and system of cursor when in document reading conversion
CN102880654B (en) * 2012-08-28 2017-02-08 深圳Tcl新技术有限公司 Method for dynamically updating favorites of information terminal browser
CN103034716A (en) * 2012-12-11 2013-04-10 北京奇虎科技有限公司 Subscribing method and device for page content
CN104063379A (en) * 2013-03-18 2014-09-24 联想(北京)有限公司 Display control method and electronic equipment
CN104123301B (en) * 2013-04-27 2018-06-01 中兴通讯股份有限公司 The method and apparatus for controlling browser execution
CN103678623A (en) * 2013-12-18 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for displaying browser page and terminal for displaying browser page
CN103678628B (en) * 2013-12-19 2018-01-19 贝壳网际(北京)安全技术有限公司 Information-pushing method and system
CN104142987A (en) * 2014-07-24 2014-11-12 腾讯科技(深圳)有限公司 Page content management method and device and terminal device
CN104199983B (en) * 2014-09-25 2019-03-26 北京国双科技有限公司 The recording method of data and device
US10423706B2 (en) 2014-10-31 2019-09-24 Xiaomi Inc. Method and device for selecting information
CN104461348B (en) * 2014-10-31 2018-09-04 小米科技有限责任公司 Information choosing method and device
CN107450903B (en) * 2017-05-31 2020-06-30 阿里巴巴集团控股有限公司 Information processing method and device
CN107741957A (en) * 2017-09-20 2018-02-27 厦门盈趣科技股份有限公司 A kind of webpage subscription method and system
CN110502299B (en) * 2019-08-12 2021-05-14 南京大众书网图书文化有限公司 Method and equipment for providing novel information
CN111105226B (en) * 2019-11-19 2024-02-13 上海连尚网络科技有限公司 Method and equipment for subscribing novel chapter
CN113779357A (en) * 2021-09-29 2021-12-10 南开大学 Information subscription method based on intelligent crawler
CN115186198B (en) * 2022-09-09 2022-12-20 中国中金财富证券有限公司 Stock market pushing method and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369826A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for supporting dynamic updating of page
CN1808435A (en) * 2006-02-14 2006-07-26 北京北大方正电子有限公司 Automatic information data update method
CN1841381A (en) * 2005-03-31 2006-10-04 微软公司 Live graphical preview with text summaries

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369826A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for supporting dynamic updating of page
CN1841381A (en) * 2005-03-31 2006-10-04 微软公司 Live graphical preview with text summaries
CN1808435A (en) * 2006-02-14 2006-07-26 北京北大方正电子有限公司 Automatic information data update method

Also Published As

Publication number Publication date
CN101930448A (en) 2010-12-29

Similar Documents

Publication Publication Date Title
CN101930448B (en) Method and device for subscribing webpage information
CN108334536B (en) Information recommendation method, device and storage medium
CN101782911B (en) A kind of prompting network resource content method and system
CN101278287B (en) A method and a device for browsing information feeds
CN102663135B (en) Method and device for implementing graphical bookmark for embedded browser, and terminal
US10515142B2 (en) Method and apparatus for extracting webpage information
US20140046938A1 (en) History records sorting method and apparatus
CN104899220A (en) Application program recommendation method and system
CN104035753A (en) Double-WebView customized page display method and system
EP3226159A1 (en) System and method for managing browsing histories of web browser
CN101882162A (en) Method and system for transmitting network information
CN104216898A (en) Browser navigation method and device and terminal equipment
CN101782913A (en) Update notifying method and browser
JP2012529688A (en) Update notification method and system
CN101782914A (en) Method and system for prompting web page information
CN101996193A (en) Processing method and system for expressing network resource link and internet terminal
CN104765746B (en) Data processing method and device for mobile communication terminal browser
CN105488205A (en) Page generation method and page generation apparatus
CN104025083A (en) Method and apparatus for providing web pages
CN102129428A (en) Method and device for subscribing information from webpage
CN103365877B (en) Method and server to establishing catalogue after webpage progress transcoding
CN102769641A (en) Method and system for displaying webpage content by means of self-adaption control
CN105224611A (en) Based on the operation processing method of browser, device and browser
CN104731817B (en) A kind of webpage exhibiting method and device
US20160371237A1 (en) Media content presentation by categorizing and formatting media types

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