CN104166545B - The sniff method and device of a kind of web page resources - Google Patents

The sniff method and device of a kind of web page resources Download PDF

Info

Publication number
CN104166545B
CN104166545B CN201410361637.3A CN201410361637A CN104166545B CN 104166545 B CN104166545 B CN 104166545B CN 201410361637 A CN201410361637 A CN 201410361637A CN 104166545 B CN104166545 B CN 104166545B
Authority
CN
China
Prior art keywords
resource
label
webpage
type
dom tree
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
CN201410361637.3A
Other languages
Chinese (zh)
Other versions
CN104166545A (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 CN201410361637.3A priority Critical patent/CN104166545B/en
Publication of CN104166545A publication Critical patent/CN104166545A/en
Application granted granted Critical
Publication of CN104166545B publication Critical patent/CN104166545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention, which discloses a kind of sniff method of web page resources and device, methods described, to be included:Instructed based on a web page access, access the first webpage;The document dbject model dom tree of first webpage is built, and during the dom tree is built, the first resource label in first webpage is identified;Based on the first resource label identified, first resource corresponding to the first resource label is obtained, and the first resource is presented to user;Monitor whether the dom tree changes;When the dom tree changes and the first resource label variations are Secondary resource label, obtain Secondary resource corresponding to the Secondary resource label, and the Secondary resource is presented to user, wherein, the Secondary resource label differs with the first resource label.

Description

The sniff method and device of a kind of web page resources
Technical field
The present invention relates to the sniff method and device of Internet technical field, more particularly to a kind of web page resources.
Background technology
With the continuous development of Internet technology, contacting for internet and people's daily life is increasingly closer, such as, people Can pass through all kinds of resources of the Internet download, such as video resource, audio resource.
At present, the webpage that website is provided includes many unrelated resource such as advertising resources etc., so as to which user can be caused unrestrained Take substantial amounts of time and energy and look for oneself practically necessary resource such as the place of resource may to be provided on webpage Some specific software etc..
In the prior art, in order to save user time, web browser software can carry out resource when opening some webpage Sniff, specifically, web data that can be acquired in whole scan web browser software, and to RAR, ZIP in web data, The keywords such as MP4 are matched, then judge whether matched data are resource network by using regular expression scheduling algorithm Location, if these network address are then recorded and are presented to user by resource network address, so as to avoid the user effort substantial amounts of time The resource required for oneself is looked on webpage with energy.
But due in the prior art to webpage carry out resource sniff when, it is necessary to web data carry out full text filtering, It result in efficiency lowly and matching accuracy rate be not high, meanwhile, can not obtaining webpage, (Java describes language by JavaScript Speech, a kind of script) dynamic obtain resource link address.
Therefore, in the prior art when carrying out resource sniff to webpage, exist because needing to carry out full text mistake to web data Filter and caused by efficiency it is low and the technology for the resource link address that webpage is obtained by JavaScript dynamics can not be obtained Problem.
The content of the invention
The embodiment of the present invention is solved and existed in the prior art by providing the sniff method and device of a kind of web page resources When carrying out resource sniff to webpage, exist because need to carry out web data full text filtering and caused by efficiency is low, Yi Jiwu Method obtains the technical problem for the resource link address that webpage is obtained by JavaScript dynamics.
On the one hand the embodiment of the present invention provides a kind of sniff method of web page resources, including:
Instructed based on a web page access, access the first webpage;
The document dbject model dom tree of first webpage is built, and during the dom tree is built, to described First resource label in first webpage is identified;
Based on the first resource label identified, first resource corresponding to the first resource label is obtained, and will The first resource is presented to user;
Monitor whether the dom tree changes;
When the dom tree changes and the first resource label variations are Secondary resource label, described the is obtained Secondary resource corresponding to two resource tags, and the Secondary resource is presented to user, wherein, the Secondary resource label and institute First resource label is stated to differ.
Alternatively, described before the document dbject model dom tree of first webpage is built, methods described also includes: Obtaining needs the resource type of sniff.
Alternatively, it is described to obtain the resource type for needing sniff, be specially:
Acquisition needs the generic resource type of sniff and/or non-universal resource type.
Alternatively, the first resource label in first webpage is identified, and is specially:
Generic resource label in first webpage and/or non-universal resource tag are identified, wherein described logical Corresponding with the generic resource type with resource tag, the non-universal resource tag is corresponding with the non-universal resource type.
Alternatively, after first resource corresponding to the acquisition first resource label, methods described also includes:
The first resource is saved in Hash set, to determine the uniqueness of the first resource.
On the other hand the embodiment of the present invention also provides a kind of sniff device of web page resources, including:
Access unit, for being instructed based on a web page access, access the first webpage;
Construction unit, for building the dom tree of first webpage;
First recognition unit, for based on the dom tree, knowing to the first resource label in first webpage Not;
First acquisition unit, for based on the first resource label identified, obtaining the first resource label pair The first resource answered, and the first resource is presented to user;
Monitoring unit, for monitoring whether the dom tree changes;
The first acquisition unit is additionally operable to determine that the dom tree changes and described first provides in the monitoring unit When source label variations are Secondary resource label, Secondary resource corresponding to the Secondary resource label is obtained, and described second is provided Source is presented to user, wherein, the Secondary resource label differs with the first resource label.
Alternatively, described device also includes second acquisition unit, and the second acquisition unit is used for described in the structure Before the document dbject model dom tree of first webpage, the resource type for needing sniff is obtained.
Alternatively, the second acquisition unit, which is specifically used for obtaining, needs the generic resource type of sniff and/or non-universal Resource type.
Alternatively, the construction unit is specifically used for the generic resource label in first webpage and/or non-universal Resource tag is identified, wherein, the generic resource label is corresponding with the generic resource type, the non-universal resource mark Label are corresponding with the non-universal resource type.
Alternatively, described device also includes storage unit, and the storage unit is used to obtain the first resource described After first resource corresponding to label, the first resource is saved in Hash set, to determine the first resource only One property.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
1st, as a result of when accessing the first webpage, the document dbject model dom tree of the first webpage is built, and is based on Dom tree, the first resource label in the first webpage is identified, and based on the first resource label identified, obtains first First resource corresponding to resource tag, and first resource is presented to the technical scheme of user, it is not necessary to the net of the first webpage Page data carries out whole filterings, so as to solve in the prior art because need to carry out web data full text filtering and caused by imitate The low technical problem of rate, improve the efficiency when carrying out resource sniff to webpage.
2nd, whether change as a result of monitoring dom tree, and changed and first resource label variations in dom tree For Secondary resource label when, obtain Secondary resource corresponding to Secondary resource label, and Secondary resource is presented to the technology of user Scheme, webpage can not be obtained in the prior art by avoiding is asked by the technology of the resource link address of JavaScript dynamic acquisitions Topic, realizes the technique effect in time, dynamically capturing the resource in the first webpage.
Brief description of the drawings
Fig. 1 is the flow chart of the sniff method of web page resources provided in an embodiment of the present invention;
Fig. 2 is the functional block diagram of the sniff device of web page resources provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is solved and existed in the prior art by providing the sniff method and device of a kind of web page resources When carrying out resource sniff to webpage, exist because need to carry out web data full text filtering and caused by efficiency is low, Yi Jiwu Method obtains the technical problem for the resource link address that webpage is obtained by JavaScript dynamics.
Technical scheme in the embodiment of the present invention is in order to solve the above technical problems, general thought is as follows:
The embodiment of the present invention provides a kind of sniff method of web page resources, including:
First, instructed based on a web page access, access the first webpage;
Secondly, the document dbject model dom tree of the first webpage is built, and is based on dom tree, to the first money in the first webpage Source label is identified;
Then, based on the first resource label identified, first resource corresponding to first resource label is obtained, and by first Resource is presented to user;
Then, whether monitoring dom tree changes;
Finally, when dom tree changes and first resource label variations are Secondary resource label, Secondary resource mark is obtained Secondary resource corresponding to label, and Secondary resource is presented to user, wherein, Secondary resource label and first resource label not phase Together.
It is can be seen that by above-mentioned part as a result of when accessing the first webpage, build the file pair of the first webpage As model dom tree, and dom tree is based on, the first resource label in the first webpage is identified, and based on first identified Resource tag, first resource corresponding to first resource label is obtained, and first resource is presented to the technical scheme of user, be not required to Whole filterings are carried out to the web data of the first webpage, so as to solve in the prior art because needing to carry out full web data Text filtering and caused by the low technical problem of efficiency, improve the efficiency when carrying out resource sniff to webpage.
Further, whether change as a result of monitoring dom tree, and changed and first resource in dom tree When label variations are Secondary resource label, Secondary resource corresponding to Secondary resource label is obtained, and Secondary resource is presented to use The technical scheme at family, the resource link address that webpage is obtained by JavaScript dynamics can not be obtained in the prior art by avoiding Technical problem, realize the technique effect in time, dynamically capturing the resource in the first webpage.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
Fig. 1 is refer to, Fig. 1 is the flow chart of the sniff method of web page resources provided in an embodiment of the present invention, such as Fig. 1 institutes Show, this method includes:
S101:Instructed based on a web page access, access the first webpage;
S102:Build the document dbject model (English of the first webpage:Document Object Model;Referred to as:DOM) Tree, and during dom tree is built, the first resource label in the first webpage is identified;
S103:Based on the first resource label identified, first resource corresponding to first resource label is obtained, and by first Resource is presented to user;
S104:Whether monitoring dom tree changes;
S105:When dom tree changes and first resource label variations are Secondary resource label, Secondary resource mark is obtained Secondary resource corresponding to label, and Secondary resource is presented to user, wherein, Secondary resource label and first resource label not phase Together.
In actual applications, the sniff method of web page resources provided in an embodiment of the present invention can apply to specially provide net On the web browser software such as browser of page browsing function, the fatware for being integrated with web page browsing function can also be applied to On, it is not limited herein.
In ensuing part, it will can be applied one in the sniff method of web page resources provided in an embodiment of the present invention Exemplified by browser, come description of being illustrated in detail.
In S101, it can refer to that the web page access that browser inputs according to user instructs, to access the first webpage, specifically For, can be that browser accesses first webpage according to user to the web page address of browser the first webpage of input, or Browser clicks on the clicking operation of some link according to user and accesses the first webpage, just repeats no more herein.Certainly, in reality In the application of border, the detailed process for accessing the first webpage is not limited to the two ways that the embodiment of the present invention is introduced.
In specific implementation process, before S102, the sniff method of web page resources provided in an embodiment of the present invention is also wrapped Include:Obtaining needs the resource type of sniff.
Specifically, can be that browser obtains and needs the resource type of sniff for generic resource type and/or non-universal Resource type, namely browser determine which resource of sniff, such as audio resource, video resource generic resource type needed, Either such as a sudden peal of thunder, electric donkey or bit seed download non-universal resource type of software etc., clear in specific implementation process Device of looking at can obtain the resource type list for needing sniff from server, so that it is determined that needing to provide which of first webpage Source Type carries out sniff, or can also determine to need to which of first webpage from the resource type inputted according to user Resource carries out sniff.
It should be noted that in specific implementation process, acquisition needs the resource type of sniff can be in browser access It is performed, can also be once run in browser during (refer to browser from run to close) only every time during different webpage It is executed once, just repeats no more herein.
In S102, the document dbject model dom tree of the first webpage is built, and during dom tree is built, to first First resource label in webpage is identified, and specifically, the first webpage can be parsed by DOM parser, from And dom tree corresponding to the first webpage can be generated.
It should be noted that all nodes in the dom tree are all that (Node objects are whole DOM masters from Node objects Want data type) inherit, Node object definitions some basic attributes and method, it can be realized using these methods To the traversal of dom tree, meanwhile, the title of node, value can also be learnt according to attribute and judge its type.Certainly, different solutions The implementation method of parser may also difference, just repeat no more herein.
During the dom tree of the first webpage is built, while the first resource label in the first webpage is identified, Specifically, it is that the generic resource label in the first webpage and/or non-universal resource tag are identified browser, it is general Resource tag is corresponding with generic resource type, generic resource label for example can be audio frequency resource tag (<audio>), video money Source label (<video>), inline element label (<a>) etc., non-universal resource tag and non-universal resource type are corresponding, non-through For example can be with resource tag sudden peal of thunder resource tag (<thunderhref>) and other such as electric donkeys, the download of bit seed Resource tag etc. used in software, i.e., can be according to institute in abovementioned steps during the dom tree of the first webpage is built What is got needs the resource type of sniff, and resource tag corresponding with the resource type in the first webpage is identified.Example Such as, it is clear when what is got in abovementioned steps needs the resource type of sniff to be generic resource type and non-universal resource type Look at device can in the first webpage audio frequency resource tag (<audio>), video resource label (<video>), inline element label (<a>) and sudden peal of thunder resource tag (<thunderhref>) etc. generic resource label and non-universal resource tag carry out simultaneously Identification.
After S102, the sniff method of web page resources provided in an embodiment of the present invention enters S103, i.e.,:Based on identifying First resource label, obtain first resource label corresponding to first resource, and first resource is presented to user.
It is according to the first resource label identified in S102, so as to obtain first specifically in S103 First resource corresponding to resource tag, and first resource information is sent to the upper strata of browser, pass through user mutual (UI) layer It is presented to user.Certainly, in actual applications, now browser to user present can be corresponding to first resource link, Confirm need which resource obtained by user.
It is can be seen that by above-mentioned part due to make use of the process of the dom tree of the first webpage of structure to enter the first webpage Go resource sniff, and without carrying out full text filtering to the web data of the first webpage, save the money of unnecessary processor Source is wasted, and saves the time, and the efficiency of resource sniff is being carried out to webpage so as to improve.
Certainly, in specific implementation process, in order to avoid the resource repetition that sniff goes out from the first webpage, the present invention is implemented The sniff method for the web page resources that example provides also includes:First resource is saved in Hash set (HashSet), to determine The uniqueness of one resource.
Specifically, it is to be stored in first resource in the HashSet of one setting, is not allow for repeating in HashSet Element exist, it can be ensured that the uniqueness of resource, is just repeated no more herein.
After S103, the sniff method of web page resources provided in an embodiment of the present invention enters S104, i.e.,:Monitor dom tree Whether change.
It is to monitor whether the first resource label in the first webpage changes specifically in S104.
When the dom tree of the first webpage changes and first resource label variations are Secondary resource label, the present invention is real The sniff method for applying the web page resources of example offer enters S105, i.e.,:Obtain Secondary resource corresponding to Secondary resource label, and by the Two resources are presented to user, wherein, Secondary resource label differs with first resource label.
In S105, specifically, in the resource link during Javascript has increased or have modified the first webpage newly, The dom tree of first webpage can change, and first resource label can become simultaneously turns to Secondary resource label, now can root According to Secondary resource label to obtain Secondary resource corresponding to Secondary resource label, and Secondary resource is presented to user.
Of course, as abovementioned steps are introduced, after Secondary resource is obtained, Secondary resource can be equally stored in Kazakhstan In uncommon set, just repeat no more herein.
Based on same inventive concept, the embodiment of the present invention also provides a kind of sniff device of web page resources, refer to Fig. 2, Fig. 2 is the functional block diagram of the sniff device of web page resources provided in an embodiment of the present invention, as shown in Fig. 2 the device includes:
Access unit 201, for being instructed based on a web page access, access the first webpage;
Construction unit 202, for building the dom tree of the first webpage;
First recognition unit 203, for based on dom tree, the first resource label in the first webpage to be identified;
First acquisition unit 204, for based on the first resource label identified, obtaining corresponding to first resource label the One resource, and first resource is presented to user;
Monitoring unit 205, for monitoring whether dom tree changes;
First acquisition unit 204 is additionally operable to change in the determination dom tree of monitoring unit 205 and first resource label variations For Secondary resource label when, obtain Secondary resource label corresponding to Secondary resource, and Secondary resource is presented to user, wherein, Secondary resource label differs with first resource label.
In specific implementation process, the device also includes second acquisition unit 206, and second acquisition unit 206 is used in structure Build before the document dbject model dom tree of the first webpage, obtain the resource type for needing sniff.
In specific implementation process, second acquisition unit 206 be specifically used for obtain need sniff generic resource type and/ Or non-universal resource type.
In specific implementation process, the first recognition unit 203 is specifically used for the generic resource mark in first webpage Label and/or non-universal resource tag are identified, wherein, generic resource label is corresponding with generic resource type, non-universal resource Label is corresponding with non-universal resource type.
In specific implementation process, the device also includes storage unit 207, for obtaining corresponding to first resource label After first resource, first resource is saved in Hash set, to determine the uniqueness of first resource.
The sniff device of web page resources in the present embodiment is to be based on the sniff method of the web page resources in preceding sections Two aspects under same inventive concept, are above being described in detail to the implementation process of method, so this area Technical staff according to the structure of the sniff device of the web page resources described above being apparent from the present embodiment and can implement Journey, it is succinct for specification, just repeat no more herein.
Technical scheme in the embodiments of the present invention, at least has the following technical effect that or advantage:
1st, as a result of when accessing the first webpage, the document dbject model dom tree of the first webpage is built, and is based on Dom tree, the first resource label in the first webpage is identified, and based on the first resource label identified, obtains first First resource corresponding to resource tag, and first resource is presented to the technical scheme of user, it is not necessary to the net of the first webpage Page data carries out whole filterings, so as to solve in the prior art because need to carry out web data full text filtering and caused by imitate The low technical problem of rate, improve the efficiency when carrying out resource sniff to webpage.
2nd, whether change as a result of monitoring dom tree, and changed and first resource label variations in dom tree For Secondary resource label when, obtain Secondary resource corresponding to Secondary resource label, and Secondary resource is presented to the technology of user Scheme, webpage can not be obtained in the prior art by avoiding is asked by the technology of the resource link address of JavaScript dynamic acquisitions Topic, realizes the technique effect in time, dynamically capturing the resource in the first webpage.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

1. a kind of sniff method of web page resources, it is characterised in that including:
Instructed based on a web page access, access the first webpage;
The document dbject model dom tree of first webpage is built, and during the dom tree is built, to described first First resource label in webpage is identified;
Based on the first resource label identified, first resource corresponding to the first resource label is obtained, and by described in First resource is presented to user;
Monitor whether the dom tree changes;
When the dom tree changes and the first resource label variations are Secondary resource label, second money is obtained Secondary resource corresponding to the label of source, and the Secondary resource is presented to user, wherein, the Secondary resource label and described the One resource tag differs;
The resource tag includes generic resource label and/or non-universal resource tag;
Wherein, the generic resource label is corresponding with generic resource type, the non-universal resource tag with it is non-universal resources-type Type is corresponding.
2. the method as described in claim 1, it is characterised in that described to build the document dbject model of first webpage Before dom tree, methods described also includes:
Obtaining needs the resource type of sniff.
3. method as claimed in claim 2, it is characterised in that it is described to obtain the resource type for needing sniff, be specially:
Acquisition needs the generic resource type of sniff and/or non-universal resource type.
4. method as claimed in claim 3, it is characterised in that the first resource label in first webpage is carried out Identification, it is specially:
Generic resource label in first webpage and/or non-universal resource tag are identified, wherein, the general money Source label is corresponding with the generic resource type, and the non-universal resource tag is corresponding with the non-universal resource type.
5. the method as described in claim 1, it is characterised in that obtain the first money corresponding to the first resource label described After source, methods described also includes:
The first resource is saved in Hash set (HashSet), to determine the uniqueness of the first resource.
A kind of 6. sniff device of web page resources, it is characterised in that including:
Access unit, for being instructed based on a web page access, access the first webpage;
Construction unit, for building the dom tree of first webpage;
First recognition unit, for based on the dom tree, the first resource label in first webpage to be identified;
First acquisition unit, for based on the first resource label identified, obtaining corresponding to the first resource label First resource, and the first resource is presented to user;
Monitoring unit, for monitoring whether the dom tree changes;
The first acquisition unit is additionally operable to determine that the dom tree changes and the first resource label becomes in monitoring unit When turning to Secondary resource label, Secondary resource corresponding to the Secondary resource label is obtained, and the Secondary resource is presented to User, wherein, the Secondary resource label differs with the first resource label;
The resource tag includes generic resource label and/or non-universal resource tag;
Wherein, the generic resource label is corresponding with generic resource type, the non-universal resource tag with it is non-universal resources-type Type is corresponding.
7. device as claimed in claim 6, it is characterised in that described device also includes second acquisition unit, and described second obtains Unit is taken to be used for before the document dbject model dom tree of structure first webpage, acquisition needs the resources-type of sniff Type.
8. device as claimed in claim 7, it is characterised in that the second acquisition unit, which is specifically used for obtaining, needs sniff Generic resource type and/or non-universal resource type.
9. device as claimed in claim 6, it is characterised in that first recognition unit is specifically used for first webpage In generic resource label and/or non-universal resource tag be identified, wherein, the generic resource label and the general money Source Type is corresponding, and the non-universal resource tag is corresponding with the non-universal resource type.
10. device as claimed in claim 6, it is characterised in that described device also includes storage unit, and the storage unit is used In after first resource corresponding to the acquisition first resource label, the first resource is saved in Hash set In, to determine the uniqueness of the first resource.
CN201410361637.3A 2014-07-25 2014-07-25 The sniff method and device of a kind of web page resources Active CN104166545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410361637.3A CN104166545B (en) 2014-07-25 2014-07-25 The sniff method and device of a kind of web page resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410361637.3A CN104166545B (en) 2014-07-25 2014-07-25 The sniff method and device of a kind of web page resources

Publications (2)

Publication Number Publication Date
CN104166545A CN104166545A (en) 2014-11-26
CN104166545B true CN104166545B (en) 2018-01-02

Family

ID=51910379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410361637.3A Active CN104166545B (en) 2014-07-25 2014-07-25 The sniff method and device of a kind of web page resources

Country Status (1)

Country Link
CN (1) CN104166545B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470360B (en) * 2015-08-20 2019-12-10 腾讯科技(深圳)有限公司 Video player calling method and device
CN106776634A (en) * 2015-11-23 2017-05-31 北京搜狗科技发展有限公司 A kind of method for network access, device and terminal device
CN106997353B (en) * 2016-01-22 2021-08-10 北京国双科技有限公司 Method and device for monitoring webpage version change
CN107239462B (en) * 2016-03-28 2021-12-21 北京搜狗科技发展有限公司 Searching method and device and browser
CN107968798B (en) * 2016-10-19 2023-04-07 中兴通讯股份有限公司 Network management resource label obtaining method, cache synchronization method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520796A (en) * 2009-02-16 2009-09-02 深圳市腾讯计算机系统有限公司 Method and system for extracting uniform resource locators from web page content
CN102129428A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and device for subscribing information from webpage
CN103248641A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Network download method, device and system
CN103455600A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Video URL (Uniform Resource Locator) grabbing method and device and server equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520796A (en) * 2009-02-16 2009-09-02 深圳市腾讯计算机系统有限公司 Method and system for extracting uniform resource locators from web page content
CN102129428A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Method and device for subscribing information from webpage
CN103248641A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Network download method, device and system
CN103455600A (en) * 2013-09-03 2013-12-18 小米科技有限责任公司 Video URL (Uniform Resource Locator) grabbing method and device and server equipment

Also Published As

Publication number Publication date
CN104166545A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US10394902B2 (en) Creating rules for use in third-party tag management systems
CN107729475B (en) Webpage element acquisition method, device, terminal and computer-readable storage medium
CN104166545B (en) The sniff method and device of a kind of web page resources
CN105677654B (en) Advertisement filtering method and device
US20150040098A1 (en) Systems and methods for developing and delivering platform adaptive web and native application content
CN102184184A (en) Method for acquiring webpage dynamic information
US20150227276A1 (en) Method and system for providing an interactive user guide on a webpage
JP6080866B2 (en) Computerized method, system, and computer program for mapping one or more dynamic visual objects of a network document
CN104598232B (en) A kind of Web applications striding equipment catches back method
US20190286687A1 (en) Identification of sequential browsing operations
CN108090104A (en) For obtaining the method and apparatus of webpage information
CN102375847B (en) Method and device for forming merge tree for generating document template
CN103077254A (en) Webpage acquiring method and device
US20190286672A1 (en) Portal connected to a social backend
CN105117434A (en) Webpage classification method and webpage classification system
CN104156421B (en) The page shows method, apparatus and system
US20200077160A1 (en) Hierarchical video concept tagging and indexing system for learning content orchestration
CN106708479B (en) A kind of page rendering method and device
CN108256078B (en) Information acquisition method and device
CN106294760A (en) Sheet disposal method and server, client
CN107451163A (en) A kind of cartoon display method and device
JP2017522639A5 (en)
US8607201B2 (en) Augmenting visualization of a call stack
CN104598554B (en) Webpage loading method and device
US20150067475A1 (en) Web Application Framework

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant