CN111368135B - Video sniffing method and device - Google Patents

Video sniffing method and device Download PDF

Info

Publication number
CN111368135B
CN111368135B CN202010111082.2A CN202010111082A CN111368135B CN 111368135 B CN111368135 B CN 111368135B CN 202010111082 A CN202010111082 A CN 202010111082A CN 111368135 B CN111368135 B CN 111368135B
Authority
CN
China
Prior art keywords
video
address
user
webpage
target
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
CN202010111082.2A
Other languages
Chinese (zh)
Other versions
CN111368135A (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.)
Zhengzhou Apas Digital Cloud Information Technology Co ltd
Original Assignee
Zhengzhou Apas Digital Cloud Information Technology 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 Zhengzhou Apas Digital Cloud Information Technology Co ltd filed Critical Zhengzhou Apas Digital Cloud Information Technology Co ltd
Priority to CN202010111082.2A priority Critical patent/CN111368135B/en
Publication of CN111368135A publication Critical patent/CN111368135A/en
Application granted granted Critical
Publication of CN111368135B publication Critical patent/CN111368135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the present specification provides a video sniffing method and apparatus, where the method is applied to a user terminal, the method including: after a webpage is accessed according to user operation, judging whether a website to which the webpage belongs is a common video website of a user, if so, acquiring a video sniffing rule configured for the website, and sniffing a target video address preferred by the user in the webpage according to the video sniffing rule; if not, acquiring a first video address in the webpage in a callback mode, and screening a target video address preferred by a user from the first video address according to a video address screening factor; and/or acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address. The problem that the sniffing mode is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor through the current video sniffing scheme can be solved through the embodiment.

Description

Video sniffing method and device
Technical Field
The present document relates to the field of computer devices, and in particular, to a video sniffing method and apparatus.
Background
Currently, more and more users browse videos through video websites, so as to facilitate the users to download the interesting videos, the prior art provides a video sniffing scheme, through which a plurality of video addresses can be obtained from the video websites accessed by the users, and the users can select the interesting video addresses from the plurality of video addresses, thereby downloading the corresponding videos.
However, in the prior art, a plurality of video addresses are obtained from a video website mainly through a callback video address mode, the video address obtaining mode is single, if a certain video address is not obtained through the callback mode, a user cannot browse the video address, and therefore the opportunity of downloading corresponding videos is lost. Therefore, the video sniffing scheme in the prior art has the problems of single sniffing mode, insufficient comprehensive video addresses obtained by sniffing and poor accuracy.
Disclosure of Invention
An embodiment of the present disclosure is to provide a video sniffing method and apparatus, so as to solve the problems in the prior art that a sniffing mode of a video sniffing scheme is single, and a sniffing obtained video address is not comprehensive enough and has poor accuracy.
To solve the above technical problems, an embodiment of the present specification is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a video sniffing method, applied to a user terminal, including:
after a webpage is accessed according to user operation, judging whether a website to which the webpage belongs is a common video website of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
if yes, acquiring a video sniffing rule configured for a website to which the webpage belongs, and sniffing a target video address preferred by the user in the webpage according to the video sniffing rule;
if not, acquiring a first video address in the webpage in a callback mode, and screening a target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
and displaying the target video address preferred by the user so as to enable the user to download the corresponding video.
In a second aspect, another embodiment of the present disclosure provides a video sniffing device, applied to a user terminal, including:
the judging module is used for judging whether the website to which the webpage belongs is a common video website of the user after the webpage is accessed according to the operation of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
the first sniffing module is used for acquiring video sniffing rules configured for websites to which the webpage belongs if the user prefers to sniff target video addresses in the webpage according to the video sniffing rules;
the second sniffing module is used for acquiring a first video address in the webpage in a callback mode if the first video address is not the first video address, and screening the target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
and the display module is used for displaying the target video address preferred by the user so as to enable the user to download the corresponding video.
In a third aspect, yet another embodiment of the present specification provides a video sniffing device, comprising: a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, which when executed by the processor, implement the steps of the video sniffing method as described in the first aspect above.
In a fourth aspect, a further embodiment of the present specification provides a computer-readable storage medium for storing computer-executable instructions which, when executed by a processor, implement the steps of the video sniffing method as described in the first aspect above.
In this embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is determined, if yes, a video sniffing rule configured for the website to which the webpage belongs is obtained, a target video address preferred by the user is sniffed in the webpage according to the video sniffing rule, if not, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by the user is screened from the first video addresses according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, determining a target video address preferred by the user according to the second video address, and finally, displaying the target video address preferred by the user for the user to download the corresponding video. Therefore, through the embodiment, the target video address preferred by the user can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved.
Drawings
In order to more clearly illustrate the technical solution in one or more embodiments of the present description, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments described in the present description, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a flow chart of a video sniffing method according to an embodiment of the present disclosure;
fig. 2 is a schematic block diagram of a video sniffing device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a video sniffing device according to an embodiment of the present disclosure.
Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the present disclosure.
Fig. 1 is a flow chart of a video sniffing method according to an embodiment of the present disclosure, as shown in fig. 1, the flow chart includes the following steps:
step S102, after the webpage is accessed according to the user operation, judging whether the website to which the webpage belongs is a common video website of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
step S104, if yes, acquiring a video sniffing rule configured for a website to which the webpage belongs, and sniffing a target video address preferred by a user in the webpage according to the video sniffing rule;
step S106, if not, obtaining a first video address in the webpage in a callback mode, and screening target video addresses preferred by users from the first video address according to preset video address screening factors; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
step S108, the target video address preferred by the user is displayed for the user to download the corresponding video.
In this embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is determined, if yes, a video sniffing rule configured for the website to which the webpage belongs is obtained, a target video address preferred by the user is sniffed in the webpage according to the video sniffing rule, if not, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by the user is screened from the first video addresses according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, determining a target video address preferred by the user according to the second video address, and finally, displaying the target video address preferred by the user for the user to download the corresponding video. Therefore, through the embodiment, the target video address preferred by the user can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved.
In the step S102, after accessing the web page according to the user operation, the user terminal determines whether the website to which the web page belongs is a common video website of the user; the common video websites of the user are determined according to the website access frequency of the user.
Specifically, in this embodiment, the server counts a plurality of video websites most commonly accessed by the user in a recent period of time according to data of the websites accessed by the user, and sends identifiers of the plurality of video websites to the user terminal. The last time may be exemplified by one month before the current time. In one example, the server determines the 50 video websites with the highest user access frequency according to the data of the websites accessed by the user in the last month, and sends the identifications of the 50 video websites to the user terminal.
The user terminal runs an application program, such as a browser, and can also run a script program, such as a browser plug-in, and the user terminal realizes a webpage access function by running the application program or the script program. After the user terminal accesses the webpage according to user operation, such as the operation of inputting a website by the user, the user terminal judges whether the website to which the webpage belongs is a common video website of the user according to the identifier of the website to which the webpage belongs.
After step S102 is executed, step S104 or step S106 is executed. In step S104, if the video website is a common video website, a video sniffing rule configured for the website to which the web page belongs is obtained, and a target video address preferred by the user is sniffed in the web page according to the video sniffing rule.
In one example, after counting a plurality of common video websites of a user, the server respectively adapts each common video website, i.e. configures a video sniffing rule, and issues the video sniffing rule to the user terminal. The adapting process is to write JS (JavaScript) codes of the website according to the source codes of the website, the JS codes are video sniffing rules, and target video websites can be sniffed through the JS codes. JS is a lightweight, interpreted or just-in-time compiled programming language with functional preference, a scripting language belonging to the network.
In step S104, the user terminal obtains the video sniffing rule configured for the website to which the web page belongs, specifically, after receiving the video sniffing rule configured by the server for each common video website, the user terminal searches for the video sniffing rule corresponding to the website to which the web page currently accessed by the user belongs from the received multiple video sniffing rules according to the identifier of the website to which the web page currently accessed by the user belongs.
In step S104, target video addresses preferred by the user are sniffed in the web page according to the video sniffing rule, specifically:
(a1) Judging whether a video which is being played exists in the webpage or not according to the video sniffing rule;
(a2) If the video which is being played exists in the webpage, taking the video address of the video which is being played as a target video address preferred by the user;
(a3) If the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured by the website to which the webpage belongs, for the webpage, and taking the video address to be played as a target video address preferred by the user.
Specifically, in the action (a 1), after receiving the video sniffing rule configured by the server for each commonly used video website, the user terminal determines the video sniffing rule corresponding to the website to which the webpage currently accessed by the user belongs, determines the attribute value of each webpage element in the webpage currently accessed by the user by using the video sniffing rule, and judges whether the video being played exists in the webpage according to the attribute value of each webpage element.
In the action (a 2), if the video being played exists in the webpage, extracting the video address of the video being played from the attribute value of the webpage element according to the video sniffing rule corresponding to the website to which the webpage belongs, and taking the video address as the target video address of the user preference.
In the action (a 3), the video address to be played is configured in advance for the general video website in view of time and resource saving. If the video which is being played does not exist in the webpage, extracting a video address to be played, configured for the webpage, of the website which the webpage belongs to from the attribute value of the webpage element through a video sniffing rule corresponding to the website which the webpage belongs to, and taking the video address as a target video address of user preference.
In one example, when a user accesses a playing page of a certain drama, the current drama is played in the page, the address of the current drama is the target video address, when the user accesses a description page of the certain drama, no video being played is present in the page, but the web page takes the first video address of the drama as the video address to be played and writes the first video address into an attribute value of a web page element, so that the user can play the first drama quickly, and the user terminal takes the address of the first drama as the target video address.
In step S106, if the video address is not a common video website, a first video address in the web page is obtained in a callback manner, and a target video address preferred by the user is selected from the first video address according to a preset video address screening factor; and/or acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address. The preset video address filtering factors comprise at least one of a video format, a video size and a loading sequence of the corresponding video in the webpage, wherein the video format corresponds to the first video address.
In one example, if the user terminal does not sniff to obtain the target video address by the video sniff rule obtained in step S104, that is, if the obtained video sniff rule expires, the user terminal may also execute step S106.
In one case, in step S106, the user terminal may obtain the first video address in the web page in a callback manner, and screen the target video address preferred by the user from the first video address according to the preset video address screening factor.
In another case, in step S106, the user terminal may acquire a second video address corresponding to the element clicking operation performed by the user in the web page, and determine the target video address preferred by the user according to the second video address.
In still another case, in step S106, the user terminal may obtain a first video address in the web page in a callback manner, screen a first target video address of the user preference from the first video address according to a preset video address screening factor, obtain a second video address corresponding to the element clicking operation performed by the user in the web page, determine a second target video address of the user preference according to the second video address, and use the first target video address and the second target video address together as the target video address of the user preference.
The process of obtaining the first video address in the web page in the callback manner in step S106 and selecting the target video address preferred by the user from the first video address according to the preset video address screening factor is described below.
Specifically, after the user terminal opens a web page, the operating system of the user terminal can obtain the addresses of all the resources on the web site, and the method that the application program or script program in the user terminal obtains the addresses of the resources through the interface of the operating system is called callback. In this embodiment, after the user terminal opens a certain webpage, if the webpage is not the webpage of the user' S common video website, or if the target video address is not obtained by sniffing in step S104, the user terminal obtains the addresses of all the resources on the webpage in a callback manner, and checks the path of the obtained addresses of the resources. If the path of the address of the resource ends in video formats such as mp4, webm, m3u8 and the like, the server of the video address is tried to be connected, if the server can be connected, whether the media type of the resource returned by the server is the video type is judged, if the media type is the video type, whether the video size corresponding to the video address is larger than 100K is detected, and if the video size is larger than 100K, the video address is taken as the first video address. In another case, if the path of the address of the resource is ending with m3u8, then the server of the video address is tried to be connected, if the server can be connected, then it is judged whether the media type of the resource returned by the server is the video type, if so, the video address is used as the first video address.
In step S106, the video address filtering factor includes at least one of a video format, a video size, and a loading order of the corresponding video in the web page corresponding to the first video address. The loading sequence of the videos in the web page may refer to the sequence of loading the videos in the web page according to time sequence, which is generally proportional to the position of the videos in the web page, for example, a certain video is at the top of the web page, the video is loaded first, a certain video is at the bottom of the web page, and the video is loaded last. According to the combination mode of the video address screening factors, the target video address preferred by the user is screened from the first video address, and the method comprises seven schemes:
scheme one: screening the first video addresses of which the corresponding video formats meet the first format requirements from the first video addresses, and taking the screened first video addresses as target video addresses preferred by users. For example, the address with the corresponding video format of MP4 is screened from the first video address, and the address is used as the target video address.
Scheme II: and screening the first video addresses with the corresponding video sizes larger than a first threshold value from the first video addresses. And taking the first video address obtained by screening as a target video address preferred by the user. For example, an address with a corresponding video size greater than 2M is selected from the first video addresses, and the address is used as a target video address.
Scheme III: and screening the first video addresses of which the loading sequence of the corresponding videos in the webpage is positioned in the set sequence interval from the first video addresses, and taking the screened first video addresses as target video addresses preferred by users. For example, the addresses of the corresponding videos in the loading sequence from the 10 th loading to the 20 th loading in the webpage are selected from the first video addresses, and the addresses are used as target video addresses.
Scheme IV: screening the first video addresses with the corresponding video formats meeting the first format requirement and the corresponding video sizes being larger than a first threshold value from the first video addresses, and taking the screened first video addresses as target video addresses preferred by users. For example, an address with a corresponding video format of MP4 and a corresponding video size greater than 2M is screened from the first video addresses, and the address is used as the target video address.
Scheme five: screening the first video addresses of which the corresponding video formats meet the first format requirement and the loading sequence of the corresponding videos in the webpage is positioned in a set sequence interval from the first video addresses, and taking the screened first video addresses as target video addresses preferred by users. For example, the first video address is selected to be the address with the corresponding video format of MP4 and the loading sequence of the corresponding video in the web page between the 10 th loading and the 20 th loading, and the address is used as the target video address.
Scheme six: and screening the first video addresses, wherein the size of the corresponding video is larger than a first threshold value, the loading sequence of the corresponding video in the webpage is positioned in a set sequence interval, from the first video addresses, and taking the screened first video addresses as target video addresses preferred by users. For example, the addresses of the corresponding videos with the sizes larger than 2M and the loading sequence of the corresponding videos in the webpage between the 10 th loading and the 20 th loading are selected from the first video addresses, and the addresses are used as target video addresses.
Scheme seven: screening the first video addresses of which the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value and the loading sequence of the corresponding videos in the webpage is located in a set sequence interval, and taking the screened first video addresses as target video addresses preferred by users. Scheme seven is described in detail below.
In particular, the first format requirement may refer to the video as an m3u8 address. Because for video websites in general there are web pages with m3u8 addresses and mp4 addresses at the same time, the m3u8 addresses are real video addresses and the mp4 addresses are advertisements. The first threshold of video size may be set to 2M, in a video website, the likelihood that a video greater than this threshold is one that the user really wants is greater. The loading sequence of the video in the webpage is the loading time sequence of the video in the webpage. Because, in general, the web page will allow the user to load the advertisement before loading the actual video, the set sequence interval may be set to load between the last N loaded videos and the last loaded video. In the seventh aspect, the addresses of the corresponding videos with the sizes greater than 2M, the corresponding video formats being M3u8, and the loading order of the corresponding videos in the web page being the addresses loaded between the last video after the last N loaded videos can be selected from the first video addresses, and the addresses are used as target video addresses.
Therefore, according to the embodiment, on the basis of the callback of the video address, the video address obtained by the callback can be further filtered according to the video address filtering factors, so that the most possibly needed target video address of the user is obtained through filtering, and the problem of poor user experience caused by directly displaying the video address obtained by the callback to the user is avoided.
The following describes the procedure of step S106, in which the second video address corresponding to the element clicking operation performed by the user in the web page is obtained, and the target video address preferred by the user is determined according to the second video address.
In this embodiment, obtaining a second video address corresponding to an element clicking operation performed by a user in a web page includes:
(b1) And determining a target element clicked by the user according to the element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not.
(b2) And if the target element is a video element, taking the address of the target element as a second video address.
(b3) If the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
In the action (b 1), the user terminal determines a target element clicked by the user according to the element clicking operation executed by the user in the webpage, and judges whether the target element is a video element or not. In one example, the video element includes a video element, and the user terminal may insert a JS code for detecting an attribute of the video element into a web page opened by the user, and determine whether the user clicks the video element through the code, specifically, when the user clicks a certain element in the web page, the user terminal may detect whether the area clicked by the user has the video element at intervals of 3s, so as to determine whether the user clicks the video element, and delay 3s detection because some websites insert the video element after clicking by the user.
In the action (b 2), if the target element clicked by the user is a video element, the address of the video element is taken as the second video address. In one example, it is determined whether the src attribute of the address of the video element is an http protocol, and if so, the address of the video element is used as the second video address.
In the action (b 3), if the target element clicked by the user is not a video element, according to the parent-child hierarchical relationship between the elements in the web page, obtaining parent elements in the upper three-layer parent-child hierarchical range corresponding to the target element, if the parent elements in the upper three-layer parent-child hierarchical range contain the video element, judging whether the position range occupied by the contained video element in the web page is the same as the position range of the target element clicked by the user, and if so, taking the address of the contained video element as the second video address. The position range of the element in the webpage is determined by a high attribute and a width attribute, and the width and the height of the element are respectively set by the two attributes. If the difference between the position range occupied by the included video element in the web page and the position range of the target element clicked by the user is within a preset difference range, for example, the width difference or the height difference is within the preset difference range, the address of the included video element may also be used as the second video address.
In step S106, the target video address preferred by the user is determined according to the second video address, which includes three schemes:
scheme one: the second video address is taken as a target video address preferred by the user.
Scheme II: and screening the video addresses of which the corresponding video formats meet the requirements of the second formats from the second video addresses, and taking the screened video addresses as target video addresses preferred by users. The second format requirement may be the same as or different from the first format requirement mentioned above.
Scheme III: and screening the video addresses with the corresponding video sizes meeting the video addresses larger than a second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by users. The second threshold may be the same as the first threshold mentioned above or may be different. In one example, the second format requirement is an M3u8 address and the second threshold is 2M.
Of course, in some implementation scenarios, the corresponding video size in the second video address is greater than the second threshold, and the video address of the corresponding video format meeting the second format requirement may be used as the target video address.
In this embodiment, a first video address in a web page is obtained by a callback manner, a target video address preferred by a user is selected from the first video address according to a preset video address screening factor, a second video address corresponding to an element clicking operation performed by the user in the web page is obtained, and the target video address preferred by the user is determined according to the second video address.
In an embodiment scenario, if the target video address is not acquired in step S104, the target video address is acquired in a callback manner in step S106, and if the target video address is not acquired in a callback manner, the target video address is acquired in a manner of acquiring the second video address in step S106.
After step S104 or step S106 is performed, step S108 is performed to display the target video address preferred by the user, so that the user can download the corresponding video.
Specifically, through step S104 or step S106, after the target video address preferred by the user is obtained on the web page opened by the user, the preset display button on the web page is lightened, and each target video address preferred by the user is displayed from top to bottom beside the display button, so that the user can select and download the corresponding video. In one example, a download button is disposed below each target video address, and a user clicks the download button to download a video corresponding to the button.
In this embodiment, if the first video address is not obtained from the web page in the callback manner, or if the target video address is not obtained from the first video address by screening according to the video address screening factor after the callback obtains the first video address, the video address that the corresponding video format satisfies the third format requirement and the corresponding video size is greater than the third threshold is obtained from the source code of the web page, and the obtained video address is used as the target video address preferred by the user.
Specifically, if the website to which the user opens the webpage is a very useful website, or the video sniffing rule of the website to which the opened common webpage belongs has failed, the callback method may be adopted to obtain the target video address. If the first video address in the webpage cannot be called back, or the target video address cannot be obtained by the first video address screening scheme of seven types described in the step S106, all the mp4 addresses are obtained from the source code of the webpage, the addresses are filtered, and the video address with the video size larger than 100k is selected as the target video address preferred by the user. The third format requirement may be exemplified by an mp4 address and the third threshold may be exemplified by 100k. The third format requirement may be the same as or different from the second format requirement mentioned above, and the third threshold may be the same as or different from the second threshold mentioned above. The third format requirement may be the same as or different from the first format requirement mentioned above, and the third threshold may be the same as or different from the first threshold mentioned above.
In a specific example, if the first video address is not obtained from the web page in the callback manner, a video address with the corresponding video format being mp4 format and the corresponding video size being greater than 2M is obtained from the source code of the web page, and the obtained video address is used as the target video address of the user preference. If the target video address is not obtained by screening from the first video address according to the preset video address screening factor after the callback obtains the first video address, determining an average value of the sizes of the first video addresses obtained by the callback, acquiring a video address which is in an mp4 format and has a corresponding video size which is larger than a certain multiple (such as 5 times) of the average value from the source code of the webpage, and taking the acquired video address as the target video address preferred by the user.
It can be seen that, through this embodiment, the first video address may not be obtained from the web page in the callback manner, or, after the callback obtains the first video address, the target video address may be further obtained for the user by screening according to the preset video address screening factor, under the condition that the target video address is not obtained by screening from the first video address, so as to improve the video downloading experience of the user.
In this embodiment, if the target video address is not sniffed according to the video sniffing rule, a notification message is sent to the server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
Specifically, if the user opens a webpage of a common video website, the user terminal finds that the video sniffing rule configured for the website has expired, and sends a message that the website adaptation rule is invalid to the server. The server determines whether to reconfigure the sniffing rule based on the number of times the user has recently accessed the website. If the user accesses the website frequently in the near term, the video sniffing rule is reconfigured for the website, and the reconfigured rule is sent to the user terminal. If the user does not access the website frequently in the near future, the video sniffing rule of the website is not used any more, and when the user accesses the website, the user terminal can acquire the target video address preferred by the user in the manner of the step S106.
In summary, the method in this embodiment has at least the following technical effects:
(1) Target video addresses preferred by users can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of a video sniffing scheme in the prior art is single, the sniffing obtained video addresses are not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved;
(2) The server can be timely notified when the video sniffing rule of the common video website fails or expires, and the video is sniffed in other modes, so that the experience of downloading the video by the user is improved;
(3) The video can be sniffed again in a supplementary mode under the condition that the callback does not obtain the target video address, and the experience of downloading the video by the user is improved;
(4) And screening the video addresses obtained by sniffing and then displaying the video addresses, thereby displaying the video addresses most probably needed by the user.
Fig. 2 is a schematic block diagram of a video sniffing device according to an embodiment of the present disclosure; as shown in fig. 2, an embodiment of the present disclosure provides a video sniffing device applied to a user terminal, where the device includes:
a judging module 21, configured to judge whether a website to which a webpage belongs is a commonly used video website of a user after the webpage is accessed according to a user operation; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
The first sniffing module 22 is configured to acquire a video sniffing rule configured for a website to which the webpage belongs if yes, and sniff a target video address preferred by the user in the webpage according to the video sniffing rule;
the second sniffing module 23 is configured to obtain, if not, a first video address in the web page in a callback manner, and screen, according to a preset video address screening factor, a target video address preferred by the user from the first video address; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
and the display module 24 is used for displaying the target video address preferred by the user so as to enable the user to download the corresponding video.
Optionally, the first sniffing module 22 is specifically configured to: judging whether a video which is being played exists in the webpage or not according to the video sniffing rule; if the video which is being played exists in the webpage, taking the video address of the video which is being played as the target video address of the user preference; if the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured for the webpage by a website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
Optionally, the video address filtering factor includes a video format, a video size, and a loading order of the corresponding video in the web page, where the video format and the video size correspond to the first video address; the second sniffing module 23 is specifically configured to: screening the first video addresses from the first video addresses, wherein the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value, and the loading sequence of the corresponding videos in the webpage is located in a first video address of a set sequence interval; and taking the first video address obtained by screening as the target video address preferred by the user.
Optionally, the second sniffing module 23 is specifically configured to: determining a target element clicked by the user according to element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not; if the target element is a video element, taking the address of the target element as a second video address; if the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
Optionally, the second sniffing module 23 is specifically configured to: taking the second video address as a target video address of the user preference; or screening the video addresses with the corresponding video formats meeting the second format requirement from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user; or screening the video addresses with the corresponding video sizes meeting a second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user.
Optionally, the device further comprises a standby module for: if the first video address is not acquired from the webpage in a callback mode, or if the target video address is not screened from the first video address according to a preset video address screening factor after the first video address is acquired in a callback mode, acquiring a video address which meets a third format requirement and has a corresponding video size larger than a third threshold from source codes of the webpage, and taking the acquired video address as the target video address preferred by the user.
Optionally, the apparatus further comprises a re-adaptation module for: if the target video address is not sniffed according to the video sniffing rule, sending a notification message to a server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
In this embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is determined, if yes, a video sniffing rule configured for the website to which the webpage belongs is obtained, a target video address preferred by the user is sniffed in the webpage according to the video sniffing rule, if not, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by the user is screened from the first video addresses according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, determining a target video address preferred by the user according to the second video address, and finally, displaying the target video address preferred by the user for the user to download the corresponding video. Therefore, through the embodiment, the target video address preferred by the user can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved.
The video sniffer provided in an embodiment of the present disclosure can implement the respective processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
Further, an embodiment of the present disclosure further provides a video sniffing device, and fig. 3 is a schematic structural diagram of the video sniffing device provided in an embodiment of the present disclosure, as shown in fig. 3, where the device includes: memory 301, processor 302, bus 303, and communication interface 304. The memory 301, processor 302, and communication interface 304 communicate over bus 303. Communication interface 304 may include input and output interfaces including, but not limited to, a keyboard, mouse, display, microphone, loudspeaker, and the like.
In fig. 3, the memory 301 stores computer executable instructions executable on the processor 302, which when executed by the processor 302 implement the following:
after a webpage is accessed according to user operation, judging whether a website to which the webpage belongs is a common video website of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
if yes, acquiring a video sniffing rule configured for a website to which the webpage belongs, and sniffing a target video address preferred by the user in the webpage according to the video sniffing rule;
If not, acquiring a first video address in the webpage in a callback mode, and screening a target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
and displaying the target video address preferred by the user so as to enable the user to download the corresponding video.
Optionally, when the computer executable instructions are executed by the processor, sniffing the target video address of the user preference in the web page according to the video sniffing rule, including: judging whether a video which is being played exists in the webpage or not according to the video sniffing rule; if the video which is being played exists in the webpage, taking the video address of the video which is being played as the target video address of the user preference; if the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured for the webpage by a website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
Optionally, when the computer executable instructions are executed by the processor, the video address filtering factor includes a video format, a video size, and a loading order of the corresponding video in the web page, corresponding to the first video address; screening the target video address preferred by the user from the first video address according to a preset video address screening factor, including: screening the first video addresses from the first video addresses, wherein the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value, and the loading sequence of the corresponding videos in the webpage is located in a first video address of a set sequence interval; and taking the first video address obtained by screening as the target video address preferred by the user.
Optionally, when the computer executable instructions are executed by the processor, the method further includes fetching a second video address corresponding to an element clicking operation performed by the user in the web page, including: determining a target element clicked by the user according to element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not; if the target element is a video element, taking the address of the target element as a second video address; if the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
Optionally, the computer executable instructions, when executed by the processor, determine a target video address of the user preference from the second video address, comprising: taking the second video address as a target video address of the user preference; or screening the video addresses with the corresponding video formats meeting the second format requirement from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user; or screening the video addresses with the corresponding video sizes meeting a second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the first video address is not acquired from the webpage in a callback mode, or if the target video address is not screened from the first video address according to a preset video address screening factor after the first video address is acquired in a callback mode, acquiring a video address which meets a third format requirement and has a corresponding video size larger than a third threshold from source codes of the webpage, and taking the acquired video address as the target video address preferred by the user.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the target video address is not sniffed according to the video sniffing rule, sending a notification message to a server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
In this embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is determined, if yes, a video sniffing rule configured for the website to which the webpage belongs is obtained, a target video address preferred by the user is sniffed in the webpage according to the video sniffing rule, if not, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by the user is screened from the first video addresses according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, determining a target video address preferred by the user according to the second video address, and finally, displaying the target video address preferred by the user for the user to download the corresponding video. Therefore, through the embodiment, the target video address preferred by the user can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved.
The video sniffing device provided in an embodiment of the present disclosure can implement the respective processes in the foregoing method embodiments and achieve the same functions and effects, and are not repeated here.
Further, another embodiment of the present specification also provides a computer-readable storage medium for storing computer-executable instructions that when executed by a processor implement the following:
after a webpage is accessed according to user operation, judging whether a website to which the webpage belongs is a common video website of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
if yes, acquiring a video sniffing rule configured for a website to which the webpage belongs, and sniffing a target video address preferred by the user in the webpage according to the video sniffing rule;
if not, acquiring a first video address in the webpage in a callback mode, and screening a target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
And displaying the target video address preferred by the user so as to enable the user to download the corresponding video.
Optionally, when the computer executable instructions are executed by the processor, sniffing the target video address of the user preference in the web page according to the video sniffing rule, including: judging whether a video which is being played exists in the webpage or not according to the video sniffing rule; if the video which is being played exists in the webpage, taking the video address of the video which is being played as the target video address of the user preference; if the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured for the webpage by a website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
Optionally, when the computer executable instructions are executed by the processor, the video address filtering factor includes a video format, a video size, and a loading order of the corresponding video in the web page, corresponding to the first video address; screening the target video address preferred by the user from the first video address according to a preset video address screening factor, including: screening the first video addresses from the first video addresses, wherein the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value, and the loading sequence of the corresponding videos in the webpage is located in a first video address of a set sequence interval; and taking the first video address obtained by screening as the target video address preferred by the user.
Optionally, when the computer executable instructions are executed by the processor, the method obtains a second video address corresponding to the element clicking operation executed by the user in the web page, including: determining a target element clicked by the user according to element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not; if the target element is a video element, taking the address of the target element as a second video address; if the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
Optionally, the computer executable instructions, when executed by the processor, determine the target video address of the user preference from the second video address, comprising: taking the second video address as a target video address of the user preference; or screening the video addresses with the corresponding video formats meeting the second format requirement from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user; or screening the video addresses with the corresponding video sizes meeting a second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the first video address is not acquired from the webpage in a callback mode, or if the target video address is not screened from the first video address according to a preset video address screening factor after the first video address is acquired in a callback mode, acquiring a video address which meets a third format requirement and has a corresponding video size larger than a third threshold from source codes of the webpage, and taking the acquired video address as the target video address preferred by the user.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the target video address is not sniffed according to the video sniffing rule, sending a notification message to a server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
In this embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is determined, if yes, a video sniffing rule configured for the website to which the webpage belongs is obtained, a target video address preferred by the user is sniffed in the webpage according to the video sniffing rule, if not, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by the user is screened from the first video addresses according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, determining a target video address preferred by the user according to the second video address, and finally, displaying the target video address preferred by the user for the user to download the corresponding video. Therefore, through the embodiment, the target video address preferred by the user can be obtained by sniffing in combination with various video sniffing modes, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the sniffing obtained video address is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved.
The storage medium provided in an embodiment of the present disclosure can implement each process in the foregoing method embodiment and achieve the same functions and effects, and will not be repeated here.
The computer readable storage medium includes Read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or optical disk, etc.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of the embodiments described herein will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.

Claims (12)

1. A video sniffing method, applied to a user terminal, comprising:
after a webpage is accessed according to user operation, judging whether a website to which the webpage belongs is a common video website of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
if yes, acquiring a video sniffing rule configured for a website to which the webpage belongs, and sniffing a target video address preferred by the user in the webpage according to the video sniffing rule;
if not, acquiring a first video address in the webpage in a callback mode, and screening a target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
displaying the target video address preferred by the user so as to enable the user to download the corresponding video;
the obtaining the second video address corresponding to the element clicking operation executed by the user in the webpage includes:
Determining a target element clicked by the user according to element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not;
if the target element is a video element, taking the address of the target element as a second video address;
if the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
2. The method of claim 1, wherein sniffing the target video address of the user preference in the web page according to the video sniffing rule comprises:
judging whether a video which is being played exists in the webpage or not according to the video sniffing rule;
if the video which is being played exists in the webpage, taking the video address of the video which is being played as the target video address of the user preference;
If the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured for the webpage by a website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
3. The method of claim 1, wherein the video address filtering factors include a video format, a video size, and a loading order of the corresponding video in the web page for the first video address; screening the target video address preferred by the user from the first video address according to a preset video address screening factor, including:
screening the first video addresses from the first video addresses, wherein the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value, and the loading sequence of the corresponding videos in the webpage is located in a first video address of a set sequence interval;
and taking the first video address obtained by screening as the target video address preferred by the user.
4. The method of claim 1, wherein determining the target video address for the user preference based on the second video address comprises:
taking the second video address as a target video address of the user preference; or alternatively, the process may be performed,
Screening video addresses with the corresponding video formats meeting the second format requirements from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user; or alternatively, the process may be performed,
and screening the video addresses with the corresponding video sizes meeting the second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user.
5. The method of any one of claims 1-4, further comprising:
if the first video address is not acquired from the webpage in a callback mode, or if the target video address is not screened from the first video address according to a preset video address screening factor after the first video address is acquired in a callback mode, acquiring a video address which meets a third format requirement and has a corresponding video size larger than a third threshold from source codes of the webpage, and taking the acquired video address as the target video address preferred by the user.
6. The method of any one of claims 1-4, further comprising:
if the target video address is not sniffed according to the video sniffing rule, sending a notification message to a server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
7. A video sniffing device, for use in a user terminal, comprising:
the judging module is used for judging whether the website to which the webpage belongs is a common video website of the user after the webpage is accessed according to the operation of the user; the method comprises the steps that a common video website of a user is determined according to the website access frequency of the user;
the first sniffing module is used for acquiring video sniffing rules configured for websites to which the webpage belongs if the user prefers to sniff target video addresses in the webpage according to the video sniffing rules;
the second sniffing module is used for acquiring a first video address in the webpage in a callback mode if the first video address is not the first video address, and screening the target video address preferred by the user from the first video address according to a preset video address screening factor; and/or, acquiring a second video address corresponding to the element clicking operation executed by the user in the webpage, and determining a target video address preferred by the user according to the second video address;
the display module is used for displaying the target video address preferred by the user so as to enable the user to download the corresponding video;
The second sniffing module is specifically configured to:
determining a target element clicked by the user according to element clicking operation executed by the user in the webpage, and judging whether the target element is a video element or not;
if the target element is a video element, taking the address of the target element as a second video address;
if the target element is not a video element, acquiring a parent element in a preset parent-child level range corresponding to the target element according to a parent-child level relation among elements in the webpage, and if the parent element comprises the video element and the position range occupied by the included video element in the webpage is matched with the position range occupied by the target element in the webpage, taking the address of the included video element as a second video address.
8. The apparatus of claim 7, wherein the first sniffing module is specifically configured to:
judging whether a video which is being played exists in the webpage or not according to the video sniffing rule;
if the video which is being played exists in the webpage, taking the video address of the video which is being played as the target video address of the user preference;
If the video which is being played does not exist in the webpage, acquiring a video address to be played, which is configured for the webpage by a website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
9. The apparatus of claim 7, wherein the video address filtering factors include a video format, a video size, and a loading order of the corresponding video in the web page for the first video address; the second sniffing module is specifically configured to:
screening the first video addresses from the first video addresses, wherein the corresponding video formats meet the first format requirement, the corresponding video sizes are larger than a first threshold value, and the loading sequence of the corresponding videos in the webpage is located in a first video address of a set sequence interval;
and taking the first video address obtained by screening as the target video address preferred by the user.
10. The apparatus of claim 7, wherein the second sniffing module is specifically configured to:
taking the second video address as a target video address of the user preference; or alternatively, the process may be performed,
screening video addresses with the corresponding video formats meeting the second format requirements from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user; or alternatively, the process may be performed,
And screening the video addresses with the corresponding video sizes meeting the second threshold value from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user.
11. The apparatus according to any one of claims 7 to 10, further comprising a backup module for:
if the first video address is not acquired from the webpage in a callback mode, or if the target video address is not screened from the first video address according to a preset video address screening factor after the first video address is acquired in a callback mode, acquiring a video address which meets a third format requirement and has a corresponding video size larger than a third threshold from source codes of the webpage, and taking the acquired video address as the target video address preferred by the user.
12. The apparatus according to any one of claims 7 to 10, further comprising a re-adaptation module for:
if the target video address is not sniffed according to the video sniffing rule, sending a notification message to a server; the notification message is used for indicating the server to reconfigure video sniffing rules for the website to which the webpage belongs.
CN202010111082.2A 2020-02-24 2020-02-24 Video sniffing method and device Active CN111368135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010111082.2A CN111368135B (en) 2020-02-24 2020-02-24 Video sniffing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010111082.2A CN111368135B (en) 2020-02-24 2020-02-24 Video sniffing method and device

Publications (2)

Publication Number Publication Date
CN111368135A CN111368135A (en) 2020-07-03
CN111368135B true CN111368135B (en) 2023-09-05

Family

ID=71210116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010111082.2A Active CN111368135B (en) 2020-02-24 2020-02-24 Video sniffing method and device

Country Status (1)

Country Link
CN (1) CN111368135B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594241A (en) * 2009-06-26 2009-12-02 北京大学 A kind of method for down loading of Internet video and system
CN102098327A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for downloading online video sniffer
CN103905915A (en) * 2010-12-15 2014-07-02 百度在线网络技术(北京)有限公司 Online video sniffing downloading method and device
CN104881452A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Resource locator sniffing method, device and system
CN105447197A (en) * 2015-12-29 2016-03-30 腾讯科技(深圳)有限公司 Video downloading processing method and device, and intelligent terminal
WO2017097039A1 (en) * 2015-12-10 2017-06-15 腾讯科技(深圳)有限公司 Method and apparatus for detecting whether video can be played

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594241A (en) * 2009-06-26 2009-12-02 北京大学 A kind of method for down loading of Internet video and system
CN102098327A (en) * 2010-12-15 2011-06-15 百度在线网络技术(北京)有限公司 Method and device for downloading online video sniffer
CN103905915A (en) * 2010-12-15 2014-07-02 百度在线网络技术(北京)有限公司 Online video sniffing downloading method and device
CN104881452A (en) * 2015-05-18 2015-09-02 百度在线网络技术(北京)有限公司 Resource locator sniffing method, device and system
WO2017097039A1 (en) * 2015-12-10 2017-06-15 腾讯科技(深圳)有限公司 Method and apparatus for detecting whether video can be played
CN105447197A (en) * 2015-12-29 2016-03-30 腾讯科技(深圳)有限公司 Video downloading processing method and device, and intelligent terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尹亚光 ; 张伟 ; 袁敏 ; .视频共享网站链接保护技术浅析及视频下载方法研究.广播与电视技术.2010,(11),全文. *

Also Published As

Publication number Publication date
CN111368135A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US11032388B2 (en) Methods for prerendering and methods for managing and configuring prerendering operations
CN107784516B (en) Advertisement putting method and device
CN106503134B (en) Browser jumps to the method for data synchronization and device of application program
KR102455232B1 (en) Method and electronic device for tab management based on context
US10262341B2 (en) Resource downloading method and device
US20150058407A1 (en) Systems, methods, and apparatuses for implementing the simultaneous display of multiple browser client cursors at each browser client common to a shared browsing session
US20140052542A1 (en) Method, client and system for recommending software
US20120209987A1 (en) Monitoring Use Of Tracking Objects on a Network Property
US11122142B2 (en) User behavior data processing method and device, and computer-readable storage medium
CN109948077A (en) User behavior data acquisition method, device, equipment and computer storage medium
US20140331142A1 (en) Method and system for recommending contents
CN109684576A (en) Web page resources lazyness loads monitoring method, device, equipment and storage medium
WO2014026553A1 (en) Method, client, and system for recommending software
CN103810176A (en) Pre-fetching accessing method and device of webpage information
EP3080722B1 (en) Web page rendering on wireless devices
CN102959546A (en) Method and apparatus for converting content
CN108600780A (en) Method for pushed information
CN104615770A (en) Recommendation method and recommendation device for data of bookmark of mobile terminal
KR20130026558A (en) System and providing method for integration of reply comment
CN103164213A (en) Method, device and system of testing compatibility of Web browser
CN107526748A (en) A kind of method and apparatus for identifying user and clicking on behavior
CN105893584A (en) Method, client and system for displaying website label of favorites
CN110647634A (en) Method and device for searching media resource, storage medium and electronic device
CN111368135B (en) Video sniffing method and device
CN110334301B (en) Page restoration method and device

Legal Events

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