CN111368135A - Video sniffing method and device - Google Patents

Video sniffing method and device Download PDF

Info

Publication number
CN111368135A
CN111368135A CN202010111082.2A CN202010111082A CN111368135A CN 111368135 A CN111368135 A CN 111368135A CN 202010111082 A CN202010111082 A CN 202010111082A CN 111368135 A CN111368135 A CN 111368135A
Authority
CN
China
Prior art keywords
video
address
user
webpage
video address
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.)
Granted
Application number
CN202010111082.2A
Other languages
Chinese (zh)
Other versions
CN111368135B (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

Images

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

One embodiment of the present specification provides a video sniffing method and a video sniffing device, where the method is applied to a user terminal, and the method includes: 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 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. The problem that the video address obtained through the current video sniffing scheme is single in sniffing mode and insufficient in comprehensiveness and poor in accuracy 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
At present, more and more users browse videos through video websites, and in order to facilitate the users to download interested videos, the prior art provides a video sniffing scheme, by which a plurality of video addresses can be obtained from the video websites visited by the users, and the users can select the interested video addresses from the plurality of video addresses, thereby downloading corresponding videos.
However, in the prior art, a plurality of video addresses are mainly obtained from a video website in a way of calling back the video addresses, the way of obtaining the video addresses is relatively single, and if a certain video address is not obtained in a way of calling back, a user cannot browse the video address, so that the opportunity of downloading a corresponding video is lost. Therefore, the video sniffing scheme in the prior art has the problems of single sniffing mode, insufficient comprehensive sniffed video addresses and poor accuracy.
Disclosure of Invention
An embodiment of the present disclosure aims to provide a video sniffing method and a video sniffing device, so as to solve the problems in the prior art that a sniffing mode of a video sniffing scheme is single, a sniffed video address is not comprehensive enough, and accuracy is poor.
To solve the above technical problem, one embodiment of the present specification is implemented as follows:
in a first aspect, an embodiment of the present specification 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 following steps that a common video website of a user is determined according to the website access frequency of the user;
if so, acquiring a video sniffing rule configured for the 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 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;
and displaying the target video address preferred by the user so as to allow the user to download the corresponding video.
In a second aspect, another embodiment of the present specification provides a video sniffing apparatus applied to a user terminal, including:
the judging module is used for judging whether a website to which the webpage belongs is a common video website of the user or not after the webpage is accessed according to user operation; the method comprises the following 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 a video sniffing rule configured for a website to which the webpage belongs if the target video address preferred by the user is acquired, and sniffing the target video address preferred by the user in the webpage according to the video sniffing rule;
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 target video address preferred by the user, and screening the target video address preferred by the user 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;
and the display module is used for displaying the target video address preferred by the user so as to allow 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 that, when executed by a processor, implement the steps of the video sniffing method as described in the first aspect above.
In the embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is judged, 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 the target video address preferred by the user is screened 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, 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. It is thus clear that, through this embodiment, can combine multiple video to sniff the mode and sniff the target video address that obtains user's preference together to solve the video among the prior art and sniff that the mode of sniffing of scheme is single, sniff the video address that obtains not comprehensive enough, the poor problem of precision, improve video and sniff the comprehensiveness and the precision.
Drawings
In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without any creative effort.
Fig. 1 is a schematic flow chart of a video sniffing method provided in an embodiment of the present disclosure;
fig. 2 is a schematic block diagram of a video sniffing apparatus 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 make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
Fig. 1 is a schematic flowchart of a video sniffing method according to an embodiment of the present disclosure, and as shown in fig. 1, the flowchart includes the following steps:
step S102, after accessing a webpage according to user operation, judging whether the website to which the webpage belongs is a common video website of a user; the method comprises the following 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, 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 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;
and step S108, displaying the target video address preferred by the user so that the user can download the corresponding video.
In the embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is judged, 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 the target video address preferred by the user is screened 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, 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. It is thus clear that, through this embodiment, can combine multiple video to sniff the mode and sniff the target video address that obtains user's preference together to solve the video among the prior art and sniff that the mode of sniffing of scheme is single, sniff the video address that obtains not comprehensive enough, the poor problem of precision, improve video and sniff the comprehensiveness and the precision.
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 users are determined according to the website access frequency of the users.
Specifically, in this embodiment, the server counts a plurality of video websites that the user most frequently visits in a recent period of time according to the data of the websites that the user visits, and sends the identifiers of the plurality of video websites to the user terminal. The latest period of time may be, for example, one month before the current time. In one example, the server determines 50 video websites with the highest access frequency of the user 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 also runs 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 web page according to user operation, such as operation of inputting a website by a user, the user terminal judges whether the website to which the web page belongs is a common video website of the user according to the identification of the website to which the web page belongs.
After step S102 is executed, step S104 or step S106 is executed. In step S104, if the web page is a common video web page, a video sniffing rule configured for the web page belonging to the web page is acquired, 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 commonly used video websites of a user, the server respectively adapts each commonly used video website, that is, 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 source codes of the website, wherein the JS codes are video sniffing rules, and the target video website can be sniffed through the JS codes. The JS is a lightweight, interpreted or just-in-time programming language with function priority, and is a scripting language belonging to the network.
In step S104, the user terminal obtains the video sniffing rules configured for the website to which the web page belongs, specifically, after receiving the video sniffing rules configured for each commonly used video website by the server, 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, according to the video sniffing rule, sniffing a target video address preferred by the user in the web page specifically includes:
(a1) judging whether a video which is being played exists in a webpage or not according to a 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 being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
Specifically, in the action (a1), 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 determines whether the webpage has a video being played according to the attribute value of each webpage element.
In the action (a2), if there is a video being played in the web page, the video address of the video being played is extracted from the attribute values of the web page elements according to the video sniffing rule corresponding to the website to which the web page belongs, and the video address is used as the target video address preferred by the user.
In the action (a3), the general video website may be configured with the video address to be played in advance for saving time and resources. If the video which is being played does not exist in the webpage, extracting the video address to be played, configured for the webpage by the website to which the webpage belongs, from the attribute values of the webpage elements through the video sniffing rule corresponding to the website to which the webpage belongs, and taking the video address as the target video address preferred by the user.
In one example, when a user accesses a play page of a certain episode of drama, the episode of drama is played in the page, an address of the episode of drama is a target video address, when the user accesses an introduction page of the certain episode of drama, a video which is being played does not exist in the page, but the first episode of video address of the episode of drama is taken as a video address to be played by the web page and is written into an attribute value of a certain web page element, so that the user can play the first episode of drama quickly, and the address of the first episode of drama is taken as the target video address by the user terminal.
In step S106, if the website is not a common video website, a first video address in the webpage is obtained in a callback mode, and a target video address preferred by a user is screened 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. The preset video address screening factor comprises at least one of a video format, a video size and a loading sequence of a corresponding video in the webpage, wherein the video format and the video size correspond to the first video address.
In an example, if the user terminal does not sniff the target video address according to the video sniffing rule obtained in step S104, that is, the obtained video sniffing rule expires, the user terminal may also perform step S106.
In one case, in step S106, the user terminal may obtain the first video address in the webpage through a callback mode, and screen a target video address preferred by the user from the first video address according to a preset video address screening factor.
In another case, in step S106, the user terminal may obtain a second video address corresponding to an element clicking operation performed by the user in the web page, and determine a target video address preferred by the user according to the second video address.
In another case, in step S106, the user terminal may obtain a first video address in the web page in a callback manner, and according to a preset video address screening factor, screen a first target video address preferred by the user from the first video address, and obtain a second video address corresponding to an element click operation executed by the user in the web page, determine a second target video address preferred by the user 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 preferred by the user.
Next, a process of obtaining the first video address in the web page in the step S106 by means of callback, and screening a target video address preferred by the user from the first video address according to a preset video address screening factor is described.
Specifically, after the user terminal opens a web page, the operating system of the user terminal may itself obtain the addresses of all resources on the website, and a method for an application program or a script program in the user terminal to obtain the addresses of the resources through an interface of the operating system is called callback. In this embodiment, after the user terminal opens a certain webpage, if the webpage is not a webpage of a video website commonly used by the user, or the target video address is not obtained in step S104 by sniffing, the user terminal obtains addresses of all resources on the webpage in a callback manner, and views a path of the obtained address of the resource. If the path of the address of the resource is ended in a video format of mp4,. webm,. m3u8, and the like, trying to connect the server of the video address, if the connection with the server is possible, judging whether the media type of the resource returned by the server is the video type, if so, detecting whether the video size corresponding to the video address is larger than 100K, and if so, taking the video address as the first video address. In another case, if the path of the address of the resource ends at m3u8, the server attempting to connect to the video address, if the server can be connected, determining whether the media type of the resource returned by the server is a video type, and if the media type is a video type, using the video address as the first video address.
In step S106, the video address screening 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 a sequence in which the videos are loaded in the web page according to time sequence, where the sequence is generally proportional to the positions of the videos in the web page, for example, if a video is at the top of the web page, the video is loaded first, and if a video is at the bottom of the web page, 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:
the first scheme is as follows: and screening a first video address of which the corresponding video format meets the first format requirement from the first video addresses, and taking the first video address obtained by screening as a target video address of user preference. For example, the address of MP4 in the corresponding video format is selected from the first video addresses, and the address is used as the target video address.
Scheme II: and screening the first video addresses of which the corresponding video sizes are larger than a first threshold value. And taking the first video address obtained by screening as a target video address of user preference. For example, an address with a video size larger than 2M is screened from the first video addresses, and the address is used as a target video address.
The third scheme is as follows: and screening the first video addresses of which the loading sequence of the corresponding videos in the webpage is in a set sequence interval from the first video addresses, and taking the first video addresses obtained through screening as target video addresses preferred by the user. For example, the address of the webpage where the loading sequence of the corresponding video is between the 10 th loading and the 20 th loading is screened from the first video address, and the address is taken as the target video address.
And the scheme is as follows: and screening a first video address of which the corresponding video format meets the first format requirement and the corresponding video size is 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 format of MP4 and a corresponding video size greater than 2M is selected from the first video addresses, and the address is used as the target video address.
And a fifth scheme: and screening a first video address in which the corresponding video format meets the first format requirement and the loading sequence of the corresponding video in the webpage is in a set sequence interval from the first video address, and taking the first video address obtained by screening as a target video address of user preference. For example, the first video address is screened for an address with a corresponding video format of MP4 and the loading order of the corresponding video in the web page is between the 10 th loading and the 20 th loading, and the address is taken as the target video address.
Scheme six: and screening the first video addresses of which the corresponding video sizes are larger than a first threshold value and the loading sequence of the corresponding videos in the webpage is in a set sequence interval, and taking the screened first video addresses as target video addresses preferred by the user. For example, an address, in which the corresponding video size is larger than 2M and the loading order of the corresponding video in the web page is between the 10 th loading and the 20 th loading, is screened from the first video address, and the address is taken as a target video address.
The scheme is seven: and screening a first video address in which the corresponding video format meets a first format requirement, the corresponding video size is larger than a first threshold value and the loading sequence of the corresponding video in the webpage is in a set sequence interval, and taking the first video address obtained by screening as a target video address preferred by the user. Scheme seven is described in detail below.
Specifically, the first format requirement may refer to the video being an m3u8 address. Since there are typically both m3u8 and mp4 addresses for web pages for video websites, the m3u8 address is the real video address and the mp4 address is the advertisement. The first threshold for video size may be set to 2M, and in video websites, there is a greater likelihood that a video above this threshold is what the user really wants. The loading sequence of the videos in the webpage is the sequence of the videos in the webpage loading time. Since generally, the web page allows the user to load the advertisement before loading the actual video, the set sequence interval can be set to be loaded between the first N loaded videos and the last loaded video. In the seventh scheme, an address, which is loaded between the video that is loaded first and the last video that is loaded first and the video that is loaded last and the corresponding video that is loaded in the web page in the M3u8 format and has a video size greater than 2M, may be screened from the first video address, and the address is taken as the target video address.
Therefore, by the embodiment, on the basis of the video address callback, the video address obtained by the callback can be further screened according to the video address screening factor, so that the target video address most possibly required by the user is screened, and the problem of poor user experience caused by directly showing the video address obtained by the callback to the user is solved.
The following describes a process of acquiring a second video address corresponding to the element click operation performed by the user in the web page in step S106, and determining a target video address preferred by the user according to the second video address.
In this embodiment, acquiring 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.
(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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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 act (b1), the user terminal determines a target element clicked by the user according to an element clicking operation performed by the user in the web page, and determines whether the target element is a video element. 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 in a webpage opened by the user, and determine whether the user clicks the video element through the JS code, specifically, when the user clicks a certain element in the webpage, the user terminal may detect whether the video element is in an area clicked by the user at intervals of 3s, so as to determine whether the user clicks the video element, where the 3s detection is delayed because some websites insert the video element after the user clicks.
In act (b2), if the target element clicked by the user is a video element, the address of the video element is set as the second video address. In one example, whether the src attribute of the address of the video element is in the http protocol is determined, and if yes, the address of the video element is used as the second video address.
In the action (b3), if the target element clicked by the user is not a video element, acquiring a parent element within the range of the three upper layers of parent-child hierarchies corresponding to the target element according to the parent-child hierarchical relationship among the elements in the web page, if the parent element within the range of the three upper layers of parent-child hierarchies contains a video element, determining 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 the position range is the same, 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 right attribute and a width attribute, and the two attributes respectively set the width and the height of the element. 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 a 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:
the first scheme is as follows: and taking the second video address 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 format from the second video addresses, and taking the screened video addresses as target video addresses preferred by the user. The second format requirement may be the same as or different from the first format requirement mentioned earlier.
The third scheme is as follows: and screening the video addresses with the corresponding video sizes meeting the second threshold value in the second video addresses, and taking the screened video addresses as target video addresses preferred by the user. The second threshold may be the same as or different from the first threshold mentioned above. In one example, the second format requires an M3u8 address, and the second threshold is 2M.
Of course, in some implementation scenarios, the video address corresponding to the second video address with the video size larger than the second threshold and the video address with the corresponding video format meeting the requirement of the second format may also be used as the target video address.
In this embodiment, a first video address in a webpage is obtained in a callback manner, a target video address preferred by a user is screened from the first video address according to a preset video address screening factor, a second video address corresponding to an element click operation executed by the user in the webpage is obtained, and the target video address preferred by the user is determined according to the second video address, which may refer to the foregoing description and is not repeated here.
In an embodiment scenario, if the target video address is not obtained in step S104, the target video address is obtained in a callback manner in step S106, and if the target video address is not obtained in the callback manner, the target video address is obtained in a manner of obtaining the second video address in step S106.
After step S104 or step S106 is executed, step S108 is executed 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 addresses preferred by the user are acquired from the webpage opened by the user, the display button preset on the webpage is turned on, and each target video address preferred by the user is displayed beside the display button from top to bottom, so that the user can select and download the corresponding video. In one example, a download button is arranged below each target video address, and a user can download a video corresponding to the download button by clicking the download button.
In this embodiment, if the first video address is not obtained from the web page in a callback manner, or if the target video address is not obtained from the first video address in a filtering manner according to the video address filtering factor after the first video address is obtained in a callback manner, the video address of which the corresponding video format meets the third format requirement and the corresponding video size is greater than the third threshold value 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 webpage opened by the user belongs is a very-used website, or the video sniffing rule of the website to which the opened very-used webpage belongs has failed, the target video address can be acquired by using a callback method. If the first video address in the web page cannot be called back, or the target video address cannot be obtained by the first video address screening scheme described in step S106, all the addresses of mp4 are obtained from the source code of the web page and filtered, and the video address with the video size greater than 100k is selected as the target video address preferred by the user. The third format requirement may be, for example, an mp4 address, and the third threshold may be, for example, 100 k. The third format requirement may be the same as or different from the aforementioned second format requirement, and the third threshold may be the same as or different from the aforementioned second threshold. 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 acquired from the web page in a callback manner, a video address with a corresponding video format being mp4 format and a corresponding video size being larger than 2M is acquired from a source code of the web page, and the acquired video address is used as a target video address preferred by the user. If the target video address is not obtained by screening from the first video address according to preset video address screening factors after the first video address is obtained by callback, determining an average value of the sizes of the first video addresses obtained by callback, obtaining a video address of which the corresponding video format is mp4 format and the corresponding video size is larger than the average value by a certain multiple (for example, 5 times) from the source code of the webpage, and taking the obtained video address as the target video address preferred by the user.
Therefore, according to the embodiment, the first video address can be further obtained for the user under the condition that the target video address is not obtained from the first video address by screening according to the preset video address screening factor after the first video address is obtained by calling back, or the target video address is not obtained from the first video address by screening according to the preset video address screening factor, so that the video downloading experience of the user is improved.
In the 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 instructing the server to reconfigure the video sniffing rule for the website to which the webpage belongs.
Specifically, if a user opens a webpage of a certain common video website and the user terminal finds that a video sniffing rule configured for the website is expired, a message that the website adaptation rule is invalid is sent to the server. And the server judges whether to reconfigure the sniffing rule according to the number of times that the user accesses the website recently. If the user frequently visits the website 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 frequently visit the website in the near term, the video sniffing rule for the website is not needed any more, and when the user visits the website, the user terminal can acquire the target video address preferred by the user in the above step S106.
In summary, the method in the embodiment at least has the following technical effects:
(1) the method can be combined with a plurality of video sniffing modes to sniff together to obtain the target video address preferred by the user, so that the problems that the sniffing mode of the video sniffing scheme in the prior art is single, the video address obtained by sniffing is not comprehensive enough and the accuracy is poor are solved, and the comprehensiveness and the accuracy of video sniffing are improved;
(2) when the video sniffing rule of the common video website is invalid or overdue, the server can be informed in time, and videos can be sniffed in other modes, so that the video downloading experience of a user is improved;
(3) the video can be sniffed again in a supplementary mode under the condition that the target video address is not obtained through callback, and the video downloading experience of a user is improved;
(4) and screening and displaying the video addresses obtained by sniffing, thereby displaying the video addresses most possibly needed by the user.
Fig. 2 is a schematic block diagram of a video sniffing apparatus according to an embodiment of the present disclosure; as shown in fig. 2, an embodiment of the present specification provides a video sniffing apparatus applied to a user terminal, including:
the judging module 21 is configured to judge whether a website to which a webpage belongs is a common video website of the user after the webpage is accessed according to user operation; the method comprises the following 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, if yes, acquire a video sniffing rule configured for a website to which the webpage belongs, 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, if not, obtain the first video address in the webpage in a callback manner, and screen 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 the display module 24 is configured to display the target video address preferred by the user, so that the user can 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 preferred by the user; if the video being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the 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 screening factor includes a video format, a video size, and a loading sequence of a corresponding video in the web page, which correspond to the first video address; the second sniffing module 23 is specifically configured to: screening a first video address in which a corresponding video format meets a first format requirement, the size of a corresponding video is larger than a first threshold value, and the loading sequence of the corresponding video in the webpage is located in a set sequence interval from the first video address; and taking the first video address obtained by screening as a target video address of the user preference.
Optionally, the second sniffing module 23 is specifically configured to: 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; 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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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 a video address with a corresponding video format meeting the requirements of a second format from the second video address, and taking the screened video address as a target video address preferred by the user; or screening the video address with the corresponding video size larger than a second threshold value from the second video address, and taking the screened video address as the target video address of the user preference.
Optionally, the apparatus further comprises a backup module configured to: if the first video address is not obtained from the webpage in a callback mode, or if the target video address is not obtained from the first video address in a screening mode according to preset video address screening factors after the first video address is obtained in a callback mode, obtaining a video address of which the corresponding video format meets the requirement of a third format and the size of the corresponding video is larger than a third threshold value from the source code of the webpage, and taking the obtained video address as the preferred target video address of the user.
Optionally, the apparatus further comprises a re-adaptation module configured to: 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 instructing the server to reconfigure the video sniffing rule for the website to which the webpage belongs.
In the embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is judged, 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 the target video address preferred by the user is screened 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, 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. It is thus clear that, through this embodiment, can combine multiple video to sniff the mode and sniff the target video address that obtains user's preference together to solve the video among the prior art and sniff that the mode of sniffing of scheme is single, sniff the video address that obtains not comprehensive enough, the poor problem of precision, improve video and sniff the comprehensiveness and the precision.
The video sniffing device provided in an embodiment of the present specification can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
Further, an embodiment of the present specification 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 specification, as shown in fig. 3, the device includes: memory 301, processor 302, bus 303, and communication interface 304. The memory 301, processor 302, and communication interface 304 communicate via bus 303, and the communication interface 304 may include input and output interfaces including, but not limited to, a keyboard, mouse, display, microphone, and the like.
In fig. 3, the memory 301 stores thereon computer-executable instructions executable on the processor 302, and when executed by the processor 302, the following process is implemented:
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 following steps that a common video website of a user is determined according to the website access frequency of the user;
if so, acquiring a video sniffing rule configured for the 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 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;
and displaying the target video address preferred by the user so as to allow the user to download the corresponding video.
Optionally, the computer-executable instructions, when executed by the processor, sniff the user-preferred target video address in the web page according to the video sniffing rule, comprising: 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 preferred by the user; if the video being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the 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 screening factor includes a video format corresponding to the first video address, a video size, and a loading order of a corresponding video in the web page; according to preset video address screening factors, screening the target video address preferred by the user from the first video address, wherein the screening comprises the following steps: screening a first video address in which a corresponding video format meets a first format requirement, the size of a corresponding video is larger than a first threshold value, and the loading sequence of the corresponding video in the webpage is located in a set sequence interval from the first video address; and taking the first video address obtained by screening as a target video address of the user preference.
Optionally, when executed by the processor, the computer-executable instructions fetch a second video address corresponding to an element click operation performed by the user in the web page, including: 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; 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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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 user preferred target video address according to the second video address, comprising: taking the second video address as a target video address of the user preference; or screening a video address with a corresponding video format meeting the requirements of a second format from the second video address, and taking the screened video address as a target video address preferred by the user; or screening the video address with the corresponding video size larger than a second threshold value from the second video address, and taking the screened video address as the target video address of the user preference.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the first video address is not obtained from the webpage in a callback mode, or if the target video address is not obtained from the first video address in a screening mode according to preset video address screening factors after the first video address is obtained in a callback mode, obtaining a video address of which the corresponding video format meets the requirement of a third format and the size of the corresponding video is larger than a third threshold value from the source code of the webpage, and taking the obtained video address as the preferred target video address of 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 instructing the server to reconfigure the video sniffing rule for the website to which the webpage belongs.
In the embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is judged, 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 the target video address preferred by the user is screened 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, 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. It is thus clear that, through this embodiment, can combine multiple video to sniff the mode and sniff the target video address that obtains user's preference together to solve the video among the prior art and sniff that the mode of sniffing of scheme is single, sniff the video address that obtains not comprehensive enough, the poor problem of precision, improve video and sniff the comprehensiveness and the precision.
The video sniffing device provided in an embodiment of the present specification can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
Further, another embodiment of the present specification also provides a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the following process:
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 following steps that a common video website of a user is determined according to the website access frequency of the user;
if so, acquiring a video sniffing rule configured for the 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 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;
and displaying the target video address preferred by the user so as to allow the user to download the corresponding video.
Optionally, the computer-executable instructions, when executed by a processor, sniff the user-preferred target video address in the web page according to the video sniffing rule, comprising: 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 preferred by the user; if the video being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the 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 a processor, the video address screening factor includes a video format, a video size, and a loading order of a corresponding video in the web page, which correspond to the first video address; according to preset video address screening factors, screening the target video address preferred by the user from the first video address, wherein the screening comprises the following steps: screening a first video address in which a corresponding video format meets a first format requirement, the size of a corresponding video is larger than a first threshold value, and the loading sequence of the corresponding video in the webpage is located in a set sequence interval from the first video address; and taking the first video address obtained by screening as a target video address of the user preference.
Optionally, when executed by a processor, the computer-executable instructions obtain a second video address corresponding to an element clicking operation performed by the user in the web page, where the second video address includes: 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; 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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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 a processor, determine the user preferred target video address according to the second video address, comprising: taking the second video address as a target video address of the user preference; or screening a video address with a corresponding video format meeting the requirements of a second format from the second video address, and taking the screened video address as a target video address preferred by the user; or screening the video address with the corresponding video size larger than a second threshold value from the second video address, and taking the screened video address as the target video address of the user preference.
Optionally, the computer executable instructions, when executed by the processor, further comprise: if the first video address is not obtained from the webpage in a callback mode, or if the target video address is not obtained from the first video address in a screening mode according to preset video address screening factors after the first video address is obtained in a callback mode, obtaining a video address of which the corresponding video format meets the requirement of a third format and the size of the corresponding video is larger than a third threshold value from the source code of the webpage, and taking the obtained video address as the preferred target video address of 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 instructing the server to reconfigure the video sniffing rule for the website to which the webpage belongs.
In the embodiment, whether a website to which a webpage accessed by a user belongs is a common video website of the user is judged, 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 the target video address preferred by the user is screened 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, 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. It is thus clear that, through this embodiment, can combine multiple video to sniff the mode and sniff the target video address that obtains user's preference together to solve the video among the prior art and sniff that the mode of sniffing of scheme is single, sniff the video address that obtains not comprehensive enough, the poor problem of precision, improve video and sniff the comprehensiveness and the precision.
The storage medium provided in an embodiment of the present specification can implement the respective processes in the foregoing method embodiments, and achieve the same functions and effects, and will not be repeated here.
The computer-readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification and is not intended to limit the present document. Various modifications and changes may occur to the embodiments described herein, as will be apparent to those skilled in the art. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (14)

1. A video sniffing method applied to a user terminal comprises the following steps:
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 following steps that a common video website of a user is determined according to the website access frequency of the user;
if so, acquiring a video sniffing rule configured for the 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 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;
and displaying the target video address preferred by the user so as to allow the user to download the corresponding video.
2. The method of claim 1, wherein sniffing the user preferred target video address 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 preferred by the user;
if the video being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the 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 according to claim 1, wherein the video address screening factors include a video format, a video size and a loading order of the corresponding video in the web page corresponding to the first video address; according to preset video address screening factors, screening the target video address preferred by the user from the first video address, wherein the screening comprises the following steps:
screening a first video address in which a corresponding video format meets a first format requirement, the size of a corresponding video is larger than a first threshold value, and the loading sequence of the corresponding video in the webpage is located in a set sequence interval from the first video address;
and taking the first video address obtained by screening as a target video address of the user preference.
4. The method of claim 1, wherein obtaining a second video address corresponding to an element clicking operation performed by the user in the webpage comprises:
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;
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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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.
5. The method of claim 1, wherein determining the preferred target video address of the user based on the second video address comprises:
taking the second video address as a target video address of the user preference; alternatively, the first and second electrodes may be,
screening a video address with a corresponding video format meeting a second format requirement from the second video address, and taking the screened video address as a target video address preferred by the user; alternatively, the first and second electrodes may be,
and screening the video addresses with the corresponding video sizes meeting the second threshold value in the second video addresses, and taking the screened video addresses as the target video addresses preferred by the user.
6. The method of any one of claims 1-5, further comprising:
if the first video address is not obtained from the webpage in a callback mode, or if the target video address is not obtained from the first video address in a screening mode according to preset video address screening factors after the first video address is obtained in a callback mode, obtaining a video address of which the corresponding video format meets the requirement of a third format and the size of the corresponding video is larger than a third threshold value from the source code of the webpage, and taking the obtained video address as the preferred target video address of the user.
7. The method of any one of claims 1-5, 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 instructing the server to reconfigure the video sniffing rule for the website to which the webpage belongs.
8. A video sniffing device, for application to a user terminal, comprising:
the judging module is used for judging whether a website to which the webpage belongs is a common video website of the user or not after the webpage is accessed according to user operation; the method comprises the following 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 a video sniffing rule configured for a website to which the webpage belongs if the target video address preferred by the user is acquired, and sniffing the target video address preferred by the user in the webpage according to the video sniffing rule;
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 target video address preferred by the user, and screening the target video address preferred by the user 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;
and the display module is used for displaying the target video address preferred by the user so as to allow the user to download the corresponding video.
9. The apparatus of claim 8, 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 preferred by the user;
if the video being played does not exist in the webpage, acquiring a video address to be played configured for the webpage by the website to which the webpage belongs, and taking the video address to be played as a target video address preferred by the user.
10. The apparatus according to claim 8, wherein 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; the second sniffing module is specifically configured to:
screening a first video address in which a corresponding video format meets a first format requirement, the size of a corresponding video is larger than a first threshold value, and the loading sequence of the corresponding video in the webpage is located in a set sequence interval from the first video address;
and taking the first video address obtained by screening as a target video address of the user preference.
11. The apparatus of claim 8, wherein the second sniffing module is specifically configured to:
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;
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 hierarchical range corresponding to the target element according to a parent-child hierarchical relationship 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.
12. The apparatus of claim 8, wherein the second sniffing module is specifically configured to:
taking the second video address as a target video address of the user preference; alternatively, the first and second electrodes may be,
screening a video address with a corresponding video format meeting a second format requirement from the second video address, and taking the screened video address as a target video address preferred by the user; alternatively, the first and second electrodes may be,
and screening the video addresses with the corresponding video sizes meeting the second threshold value in the second video addresses, and taking the screened video addresses as the target video addresses preferred by the user.
13. The apparatus of any one of claims 8 to 12, further comprising a backup module for:
if the first video address is not obtained from the webpage in a callback mode, or if the target video address is not obtained from the first video address in a screening mode according to preset video address screening factors after the first video address is obtained in a callback mode, obtaining a video address of which the corresponding video format meets the requirement of a third format and the size of the corresponding video is larger than a third threshold value from the source code of the webpage, and taking the obtained video address as the preferred target video address of the user.
14. The apparatus according to any one of claims 8 to 12, wherein the apparatus further comprises a re-adaptation module configured to:
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 instructing the server to reconfigure the video sniffing rule 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 true CN111368135A (en) 2020-07-03
CN111368135B 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
尹亚光;张伟;袁敏;: "视频共享网站链接保护技术浅析及视频下载方法研究" *

Also Published As

Publication number Publication date
CN111368135B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
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
US20120102411A1 (en) Method and apparatus for monitoring user interactions with selectable segments of a content package
US20140052542A1 (en) Method, client and system for recommending software
US20120209987A1 (en) Monitoring Use Of Tracking Objects on a Network Property
WO2014026553A1 (en) Method, client, and system for recommending software
CN104144357A (en) Video playing method and system
EP3080722B1 (en) Web page rendering on wireless devices
CN111324836B (en) Page processing method and device, computer equipment and storage medium
CN106557584A (en) A kind of web site collection method and device
CN102959546A (en) Method and apparatus for converting content
CN104615770A (en) Recommendation method and recommendation device for data of bookmark of mobile terminal
KR101744696B1 (en) Method, device, program and recording medium for filtering information
CN105893584A (en) Method, client and system for displaying website label of favorites
CN108108381B (en) Page monitoring method and device
CN111368135B (en) Video sniffing method and device
EP3526668B1 (en) Systems and methods for reducing download requirements
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN113220296B (en) Android system interaction method and device
CN111245880A (en) Behavior trajectory reconstruction-based user experience monitoring method and device
CN107209670B (en) Configuration method and device of application attribute parameters and terminal
CN111143526B (en) Method and device for generating and controlling configuration information of counsel service control
CN114745146A (en) Skip interception method and device, readable storage medium and equipment
CN107979576B (en) Information processing method and server
CN111367703A (en) Troubleshooting 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