CN106598993B - A kind of information-pushing method and device - Google Patents
A kind of information-pushing method and device Download PDFInfo
- Publication number
- CN106598993B CN106598993B CN201510676261.XA CN201510676261A CN106598993B CN 106598993 B CN106598993 B CN 106598993B CN 201510676261 A CN201510676261 A CN 201510676261A CN 106598993 B CN106598993 B CN 106598993B
- Authority
- CN
- China
- Prior art keywords
- target
- video
- played
- preset
- url
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 description 8
- 230000009471 action Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000007943 implant Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000003826 tablet Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
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)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a kind of information-pushing method and devices.In this method, the destination Uniform Resource finger URL URL of the currently-loaded target webpage of browser is obtained;Judge whether target URL obtained is URL about video playing webpage, if so, advertisement duration meets the target video website of predetermined recommendation condition when determining broadcasting target video from multiple predetermined video websites, wherein, the target video is the video played in the target webpage;Prompt information is pushed by the browser, wherein advertisement duration meets predetermined recommendation condition when the prompt information is at least used to that the target video played in the target webpage to be prompted to play in the target video website.As it can be seen that advertisement duration meets the prompt information of the particular video frequency website of predetermined recommendation condition when can push the viewing video needed for playing to user, to improve the video viewing experience of user by this programme.
Description
Technical Field
The invention relates to the technical field of browsers, in particular to an information pushing method and device.
Background
Nowadays, the main network platform for users to browse videos is a video website, and each video website usually implants corresponding advertisements when playing videos to obtain benefits.
However, when a user watches a video on a certain video website, the user cannot know the related information of other video websites, for example: the advertisement duration of which video websites is shorter than the advertisement duration of the current video website when the video is played or the advertisement duration of which video website is the shortest when the video is played, and the like, so that the user can generally wait for the advertisement to be played and then continue to watch the video on the current video website, and the experience of watching the video by the user is low.
Disclosure of Invention
The embodiment of the invention aims to provide an information pushing method and device, which are used for pushing prompt information of a specific video website with advertising duration meeting a preset recommendation condition when a video required to be watched is played to a user, so that the video watching experience of the user is improved. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information pushing method, including:
acquiring a target Uniform Resource Locator (URL) of a target webpage loaded by a browser currently;
judging whether the obtained target URL is a URL related to a video playing webpage or not, if so, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage;
and pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length of the target video played in the target webpage is in accordance with a preset recommendation condition when the target video is played in the target video website.
Optionally, the determining, from among the plurality of predetermined video websites, a target video website for which an advertisement duration meets a predetermined recommendation condition when the target video is played includes:
determining a reference video website corresponding to the target URL from a pre-constructed database, wherein the pre-constructed database stores a corresponding relation between the URL and the reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
and determining the reference video website as a target video website with the advertisement duration meeting a preset recommendation condition when the target video is played.
Optionally, the determining, from among the plurality of predetermined video websites, a target video website for which an advertisement duration meets a predetermined recommendation condition when the target video is played includes:
judging whether a pre-constructed database stores a corresponding relation related to a target URL or not, if so, determining a reference video website corresponding to the target URL from the pre-constructed database, and determining the reference video website as the target video website with the advertising duration meeting a preset recommendation condition when a target video is played, wherein the pre-constructed database stores the corresponding relation between the URL and the reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
if not, then,
acquiring a target identifier of a target video played in the target webpage and a corresponding target advertisement duration;
obtaining the reference advertisement time length when a preset video website except the video website where the target webpage is located plays the target video with the target identification;
determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration;
and taking the video website corresponding to the advertisement duration meeting the preset recommendation condition as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
Optionally, the predetermined recommendation condition includes:
the time length value is minimum;
or,
and the time length value is smaller than the target advertisement time length corresponding to the target video.
Optionally, the determining whether the obtained target URL is a URL of a video playing webpage includes:
and judging whether the obtained target URL is a URL conforming to a preset character format.
In a second aspect, an embodiment of the present invention further provides an information pushing apparatus, including:
the target URL obtaining module is used for obtaining a target Uniform Resource Locator (URL) of a target webpage loaded by the browser currently;
the judging module is used for judging whether the obtained target URL is the URL related to the video playing webpage or not, and if so, the target video website determining module is triggered;
the target video website determining module is used for determining a target video website with the advertising time length meeting a preset recommendation condition when a target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage;
and the prompt information pushing module is used for pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length meets a preset recommendation condition when the target video played in the target webpage is played in the target video website.
Optionally, the target video website determining module includes:
a reference video website determining unit, configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, where a correspondence between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
and the target video website determining unit is used for determining the reference video website as a target video website with the advertisement duration meeting a preset recommendation condition when the target video is played.
Optionally, the target video website determining module includes:
the judging unit is used for judging whether the pre-constructed database stores the corresponding relation related to the target URL or not, if so, the first determining unit is triggered, and otherwise, the second determining unit is triggered;
the first determining unit is configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, and determine the reference video website as a target video website whose advertisement duration meets a predetermined recommendation condition when the target video is played, where a correspondence relationship between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
the second determining unit is used for obtaining a target identifier of a target video played in the target webpage and a corresponding target advertisement duration; obtaining the reference advertisement time length when a preset video website except the video website where the target webpage is located plays the target video with the target identification; determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration; and taking the video website corresponding to the advertisement duration meeting the preset recommendation condition as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
Optionally, the predetermined recommendation condition includes:
the time length value is minimum;
or,
and the time length value is smaller than the target advertisement time length corresponding to the target video.
Optionally, the determining module is specifically configured to:
and judging whether the obtained target URL is a URL conforming to a preset character format.
In the embodiment of the invention, a target Uniform Resource Locator (URL) of a target webpage loaded by a browser at present is obtained; judging whether the obtained target URL is a URL related to a video playing webpage or not, if so, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage; and pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length of the target video played in the target webpage is in accordance with a preset recommendation condition when the target video is played in the target video website. Therefore, through the scheme, the prompt information about the specific video website with the advertisement duration meeting the preset recommendation condition when the video required to be watched is played can be pushed to the user, so that the video watching experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an information pushing method according to an embodiment of the present invention;
fig. 2 is another flowchart of an information pushing method according to an embodiment of the present invention;
fig. 3 is another flowchart of an information pushing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an information pushing method and device, which are used for pushing prompt information of a specific video website with the advertising duration meeting a preset recommendation condition when a video required to be watched is played to a user, so that the video watching experience of the user is improved.
First, an information pushing method provided by an embodiment of the present invention is described below.
It should be noted that the information pushing method provided by the embodiment of the present invention may be applied to a browser in a terminal, and may also be applied to a server corresponding to the browser, which is reasonable. In practical applications, the terminal may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, or the like.
In addition, the execution main body of the information pushing method provided by the embodiment of the invention can be an information pushing device; further, it is emphasized that, in the case that the information pushing method provided by the embodiment of the present invention is applied to a browser in a terminal, the information pushing apparatus may be the browser itself or a function plug-in the browser, and in the case that the information pushing method provided by the embodiment of the present invention is applied to a server, the information pushing apparatus may be function software in the server.
As shown in fig. 1, an information pushing method provided in an embodiment of the present invention may include the following steps:
s101, obtaining a target Uniform Resource Locator (URL) of a target webpage loaded by a browser currently;
when the browser outputs any one target webpage, the information pushing device can obtain a target Uniform Resource Locator (URL) of the target webpage loaded by the browser currently, and further execute subsequent processing by using the obtained URL.
It can be understood that, for the case that the information pushing method provided by the embodiment of the present invention is applied to a browser in a terminal, since the information pushing device may be the browser itself or a functional plug-in the browser, the information pushing device may directly extract a target URL of a target web page currently loaded by the browser; for the case that the information pushing method provided by the embodiment of the present invention is applied to the server, since the information pushing device may be functional software in the server, the information pushing device may obtain the target URL of the currently loaded target webpage extracted by the browser, that is, the target URL of the currently loaded target webpage extracted by the browser itself by the browser, and send the target URL to the information pushing device in the server.
It should be emphasized that the target web page is any web page output by the browser, that is, as long as the browser loads a web page, the loaded web page is the target web page; moreover, the extraction manner of the target URL of the target webpage currently loaded by the browser may be an existing manner, which is not described herein again.
S102, judging whether the obtained target URL is the URL of the video playing webpage or not, and if so, executing S103; otherwise, not processing;
after obtaining the target URL, the information pushing apparatus may determine whether the obtained target URL is a URL related to a video playback web page, and perform different operations according to different determination results. Specifically, when it is determined that the obtained target URL is a URL related to the video playback web page, S103 may be performed; when the obtained target URL is determined not to be the URL of the video playback web page, the process may not be performed, that is, the subsequent steps are not performed.
It is to be understood that, since the URL of the video playing web page in the video website usually has a predetermined character format for the convenience of resource management, the determining whether the obtained target URL is a URL of the video playing web page may specifically include: judging whether the obtained target URL is a URL conforming to a preset character format; the predetermined character formats of different video websites can be analyzed in advance, and then the predetermined character formats can be directly used as the judgment standard in the following process, and the predetermined character formats corresponding to different video websites are different, and the specific formats are not limited herein.
It should be understood that the specific implementation manner of determining whether the obtained target URL is a URL of a video playing web page is merely an example, and should not be construed as a limitation to the embodiment of the present invention.
S103, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is the video played in the target webpage;
when the obtained target URL is judged to be the URL related to the video playing webpage, the target video website with the advertising duration meeting the preset recommendation condition when the target video is played can be determined from a plurality of preset video websites, and then subsequent pushing processing is executed, wherein the target video is the video played in the target webpage. It is understood that, in practical applications, the plurality of predetermined video websites may be video websites with a higher degree of access, and the predetermined video websites may include the video website corresponding to the target web page or may not include the video website corresponding to the target web page.
In practical applications, the predetermined recommendation condition may include: the time length value is minimum; or the time length value is smaller than the target advertisement time length corresponding to the target video. The specific content of the predetermined recommendation condition is only an example, and should not be construed as limiting the embodiment of the present invention.
It should be noted that there are various specific implementation manners for determining, from among a plurality of predetermined video websites, a target video website whose advertisement duration meets a predetermined recommendation condition when playing a target video, and for clarity of layout and solution, two specific implementation manners are described below by way of example.
S104, prompting information is pushed through the browser, wherein the prompting information is at least used for prompting that the advertisement duration accords with a preset recommendation condition when the target video played in the target webpage is played in the target video website.
After the target video is determined, prompt information can be pushed through the browser, wherein the prompt information is at least used for prompting that the advertisement duration accords with a preset recommendation condition when the target video played in the target webpage is played in the target video website. The specific form of the prompt message includes, but is not limited to, a pop-up window form.
It can be understood that, for the case that the information pushing method provided by the embodiment of the present invention is applied to a browser in a terminal, since the information pushing apparatus is the browser itself or a plug-in the browser, the information pushing apparatus can directly push the prompt information; in the case that the information pushing method provided by the embodiment of the present invention is applied to a server, since the information pushing device is functional software in the server, the information pushing device needs to send the prompt information to a browser in a terminal, so that the browser pushes the prompt information to a user after receiving the prompt information.
Furthermore, in order to facilitate the user's access to the target video website, the prompt message may further include a link address of the target video website, so that the user may enter the corresponding target video website by clicking the link address.
In the embodiment of the invention, a target Uniform Resource Locator (URL) of a target webpage loaded by a browser at present is obtained; judging whether the obtained target URL is a URL related to a video playing webpage or not, if so, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage; and pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length of the target video played in the target webpage is in accordance with a preset recommendation condition when the target video is played in the target video website. Therefore, through the scheme, the prompt information about the specific video website with the advertisement duration meeting the preset recommendation condition when the video required to be watched is played can be pushed to the user, so that the video watching experience of the user is improved.
Two specific implementation manners of determining a target video website with an advertisement duration meeting a predetermined recommendation condition when a target video is played from a plurality of predetermined video websites are described below by way of example.
In one implementation, as shown in fig. 2, the determining, from among a plurality of predetermined video websites, a target video website for which an advertisement duration meets a predetermined recommendation condition when the target video is played may include:
s201, determining a reference video website corresponding to the target URL from a pre-constructed database;
the pre-constructed database stores the corresponding relation between the URL and a reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising time length meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
s202, the reference video website is determined as a target video website with the advertising time length meeting the preset recommendation condition when the target video is played.
In this implementation, the process of constructing the correspondence between the URL stored in the database and the reference video website is a pre-executed process, and in an implementation, the process may specifically include: acquiring a Uniform Resource Locator (URL) of a webpage loaded by a browser currently; judging whether the database stores the corresponding relation related to the URL, if so, not processing, and if not, executing the following steps: obtaining the identification of the video played in the webpage and the corresponding first advertisement duration; acquiring a second advertisement time length when a predetermined video website other than the video website where the webpage is located plays the video with the identifier; determining the advertisement duration meeting the preset recommendation condition from the first advertisement duration and the second advertisement duration; taking a video website corresponding to the advertisement duration meeting the preset recommendation condition as a reference video website; and storing the corresponding relation between the reference video website and the URL in a database.
Of course, it is also reasonable that the correspondence relationship between the URL stored in the database and the reference video website is constructed by a simulation test.
In another implementation manner, as shown in fig. 3, the determining, from among a plurality of predetermined video websites, a target video website for which an advertisement duration meets a predetermined recommendation condition when the target video is played may include:
s301, judging whether a pre-constructed database stores a corresponding relation related to the target URL or not, and if so, executing S302; otherwise, executing S304;
s302, determining a reference video website corresponding to the target URL from a pre-constructed database;
s303, determining the reference video website as a target video website with the advertising duration meeting the preset recommendation condition when the target video is played;
the pre-constructed database stores the corresponding relation between the URL and a reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising time length meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
s304, obtaining a target identification of a target video played in the target webpage and a corresponding target advertisement duration;
s305, obtaining the reference advertisement duration when the target video with the target identification is played by a predetermined video website other than the video website where the target webpage is located;
s306, determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration;
s307, the video website corresponding to the advertisement duration meeting the preset recommendation condition is used as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
In this implementation manner, the specific implementation manner of obtaining the target identifier of the target video played in the target webpage and the corresponding target advertisement duration adopts the prior art, for example: extracted from the web page code of the target web page, and so on. The specific implementation manner of obtaining the reference advertisement time length when the predetermined video website other than the video website where the target webpage is located plays the target video with the target identifier may also adopt the prior art, for example: and simulating to access the target video in a predetermined video website except the video website where the target webpage is located, further extracting the reference advertisement time length from the webpage code of the webpage loaded by the browser, and the like. In addition, in this implementation, the construction of the correspondence between the stored URL and the reference video website in the database may refer to the above implementation, and details are not described herein.
Based on the foregoing method embodiment, an embodiment of the present invention further provides an information pushing apparatus, as shown in fig. 4, the apparatus may include:
a target URL obtaining module 410, configured to obtain a target uniform resource locator URL of a target webpage currently loaded by a browser;
a judging module 420, configured to judge whether the obtained target URL is a URL of a video playing webpage, and if so, trigger the target video website determining module 430;
the target video website determining module 430 is configured to determine, from a plurality of predetermined video websites, a target video website for which an advertisement duration meets a predetermined recommendation condition when a target video is played, where the target video is a video played in the target webpage;
and a prompt information pushing module 440, configured to push prompt information through the browser, where the prompt information is at least used to prompt that an advertisement duration of a target video played in the target webpage when the target video is played in the target video website meets a predetermined recommendation condition.
In the embodiment of the invention, a target Uniform Resource Locator (URL) of a target webpage loaded by a browser at present is obtained; judging whether the obtained target URL is a URL related to a video playing webpage or not, if so, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage; and pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length of the target video played in the target webpage is in accordance with a preset recommendation condition when the target video is played in the target video website. Therefore, through the scheme, the prompt information about the specific video website with the advertisement duration meeting the preset recommendation condition when the video required to be watched is played can be pushed to the user, so that the video watching experience of the user is improved.
Specifically, in an implementation manner, the target video website determining module 430 may include:
a reference video website determining unit, configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, where a correspondence between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
and the target video website determining unit is used for determining the reference video website as a target video website with the advertisement duration meeting a preset recommendation condition when the target video is played.
Specifically, in another implementation manner, the target video website determining module 430 may include:
the judging unit is used for judging whether the pre-constructed database stores the corresponding relation related to the target URL or not, if so, the first determining unit is triggered, and otherwise, the second determining unit is triggered;
the first determining unit is configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, and determine the reference video website as a target video website whose advertisement duration meets a predetermined recommendation condition when the target video is played, where a correspondence relationship between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
the second determining unit is used for obtaining a target identifier of a target video played in the target webpage and a corresponding target advertisement duration; obtaining the reference advertisement time length when a preset video website except the video website where the target webpage is located plays the target video with the target identification; determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration; and taking the video website corresponding to the advertisement duration meeting the preset recommendation condition as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
Specifically, the predetermined recommendation condition includes:
the time length value is minimum;
or,
and the time length value is smaller than the target advertisement time length corresponding to the target video.
Specifically, the determining module 420 is specifically configured to:
and judging whether the obtained target URL is a URL conforming to a preset character format.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be 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 for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. An information pushing method, comprising:
acquiring a target Uniform Resource Locator (URL) of a target webpage loaded by a browser currently;
judging whether the obtained target URL is a URL related to a video playing webpage or not, if so, determining a target video website with the advertising time length meeting a preset recommendation condition when the target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage;
and pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length of the target video played in the target webpage is in accordance with a preset recommendation condition when the target video is played in the target video website.
2. The method according to claim 1, wherein the determining the target video website with the advertisement duration meeting the predetermined recommendation condition when the target video is played from the plurality of predetermined video websites comprises:
determining a reference video website corresponding to the target URL from a pre-constructed database, wherein the pre-constructed database stores a corresponding relation between the URL and the reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
and determining the reference video website as a target video website with the advertisement duration meeting a preset recommendation condition when the target video is played.
3. The method according to claim 1, wherein the determining the target video website with the advertisement duration meeting the predetermined recommendation condition when the target video is played from the plurality of predetermined video websites comprises:
judging whether a pre-constructed database stores a corresponding relation related to a target URL or not, if so, determining a reference video website corresponding to the target URL from the pre-constructed database, and determining the reference video website as the target video website with the advertising duration meeting a preset recommendation condition when a target video is played, wherein the pre-constructed database stores the corresponding relation between the URL and the reference video website, and the reference video website is as follows: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
if not, then,
acquiring a target identifier of a target video played in the target webpage and a corresponding target advertisement duration;
obtaining the reference advertisement time length when a preset video website except the video website where the target webpage is located plays the target video with the target identification;
determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration;
and taking the video website corresponding to the advertisement duration meeting the preset recommendation condition as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
4. The method of claim 1, wherein the predetermined recommendation condition comprises:
the time length value is minimum;
or,
and the time length value is smaller than the target advertisement time length corresponding to the target video.
5. The method according to any one of claims 1 to 4, wherein the determining whether the obtained target URL is a URL of a video playing webpage comprises:
and judging whether the obtained target URL is a URL conforming to a preset character format.
6. An information pushing apparatus, comprising:
the target URL obtaining module is used for obtaining a target Uniform Resource Locator (URL) of a target webpage loaded by the browser currently;
the judging module is used for judging whether the obtained target URL is the URL related to the video playing webpage or not, and if so, the target video website determining module is triggered;
the target video website determining module is used for determining a target video website with the advertising time length meeting a preset recommendation condition when a target video is played from a plurality of preset video websites, wherein the target video is a video played in the target webpage;
and the prompt information pushing module is used for pushing prompt information through the browser, wherein the prompt information is at least used for prompting that the advertisement time length meets a preset recommendation condition when the target video played in the target webpage is played in the target video website.
7. The apparatus of claim 6, wherein the target video website determining module comprises:
a reference video website determining unit, configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, where a correspondence between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
and the target video website determining unit is used for determining the reference video website as a target video website with the advertisement duration meeting a preset recommendation condition when the target video is played.
8. The apparatus of claim 6, wherein the target video website determining module comprises:
the judging unit is used for judging whether the pre-constructed database stores the corresponding relation related to the target URL or not, if so, the first determining unit is triggered, and otherwise, the second determining unit is triggered;
the first determining unit is configured to determine, from a pre-constructed database, a reference video website corresponding to the target URL, and determine the reference video website as a target video website whose advertisement duration meets a predetermined recommendation condition when the target video is played, where a correspondence relationship between the URL and the reference video website is stored in the pre-constructed database, and the reference video website is: the method comprises the steps that video websites which are determined from a plurality of preset video websites and have advertising duration meeting preset recommendation conditions when preset videos are played are determined, wherein the preset videos are videos played in webpages with corresponding URLs;
the second determining unit is used for obtaining a target identifier of a target video played in the target webpage and a corresponding target advertisement duration; obtaining the reference advertisement time length when a preset video website except the video website where the target webpage is located plays the target video with the target identification; determining the advertisement duration meeting the preset recommendation condition from the target advertisement duration and the reference advertisement duration; and taking the video website corresponding to the advertisement duration meeting the preset recommendation condition as the target video website with the advertisement duration meeting the preset recommendation condition when the target video is played.
9. The apparatus of claim 6, wherein the predetermined recommendation condition comprises:
the time length value is minimum;
or,
and the time length value is smaller than the target advertisement time length corresponding to the target video.
10. The apparatus according to any one of claims 6 to 9, wherein the determining module is specifically configured to:
and judging whether the obtained target URL is a URL conforming to a preset character format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510676261.XA CN106598993B (en) | 2015-10-16 | 2015-10-16 | A kind of information-pushing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510676261.XA CN106598993B (en) | 2015-10-16 | 2015-10-16 | A kind of information-pushing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598993A CN106598993A (en) | 2017-04-26 |
CN106598993B true CN106598993B (en) | 2019-02-12 |
Family
ID=58554386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510676261.XA Active CN106598993B (en) | 2015-10-16 | 2015-10-16 | A kind of information-pushing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598993B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109547814B (en) * | 2018-12-13 | 2021-07-16 | 北京达佳互联信息技术有限公司 | Video recommendation method and device, server and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656617A (en) * | 2009-08-18 | 2010-02-24 | 成都市华为赛门铁克科技有限公司 | Method for promoting advertisement, device and system thereof |
CN103024464A (en) * | 2011-12-31 | 2013-04-03 | 中国科学院计算技术研究所 | System and method for providing information related to video playing content |
CN103699669A (en) * | 2013-12-30 | 2014-04-02 | 北京奇虎科技有限公司 | Method for message pushing in browser and browser terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011217209A (en) * | 2010-03-31 | 2011-10-27 | Sony Corp | Electronic apparatus, content recommendation method, and program |
-
2015
- 2015-10-16 CN CN201510676261.XA patent/CN106598993B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656617A (en) * | 2009-08-18 | 2010-02-24 | 成都市华为赛门铁克科技有限公司 | Method for promoting advertisement, device and system thereof |
CN103024464A (en) * | 2011-12-31 | 2013-04-03 | 中国科学院计算技术研究所 | System and method for providing information related to video playing content |
CN103699669A (en) * | 2013-12-30 | 2014-04-02 | 北京奇虎科技有限公司 | Method for message pushing in browser and browser terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106598993A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109819284B (en) | Short video recommendation method and device, computer equipment and storage medium | |
CN108419138B (en) | Live broadcast interaction device and method and computer readable storage medium | |
CN105843815B (en) | Page comment processing method and device and browser | |
US10402479B2 (en) | Method, server, browser, and system for recommending text information | |
US10262341B2 (en) | Resource downloading method and device | |
US20150154303A1 (en) | System and method for providing content recommendation service | |
CN101714164A (en) | Methods and apparatus to automatically crawl the internet using image analysis | |
CN105979353A (en) | Method and device for controlling video playing of play device | |
CN112000884B (en) | User content recommendation method and device, server and storage medium | |
WO2014194689A1 (en) | Method, server, browser, and system for recommending text information | |
CN104243273A (en) | Method and device for displaying information on instant messaging client and information display system | |
CN109451333B (en) | Bullet screen display method, device, terminal and system | |
CN110442286B (en) | Page display method and device and electronic equipment | |
WO2015000383A1 (en) | Method, apparatus and system for information recommending | |
CN107566906B (en) | Video comment processing method and device | |
CN104866591B (en) | Video recommendation method and device | |
CN103345421A (en) | Method and device for pushing application program | |
CN103955495B (en) | The method for down loading and device of page child resource | |
CN104581396A (en) | Processing method and device for promotion information | |
CN104731869B (en) | The page shows method and device | |
WO2014176906A1 (en) | Online video playing method and apparatus and computer readable medium | |
WO2014154033A1 (en) | Method and apparatus for extracting web page content | |
CN104010035A (en) | Method and system for application program distribution | |
WO2016045606A1 (en) | Method and apparatus for recommending media content | |
CN106162362A (en) | A kind of video broadcasting method and player |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20181211 Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province Applicant after: Zhuhai Leopard Technology Co.,Ltd. Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong. Applicant before: Zhuhai Juntian Electronic Technology Co.,Ltd. Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |