Video management method, device, system and storage medium

文档序号:1219053 发布日期:2020-09-04 浏览:29次 中文

阅读说明:本技术 一种视频管理方法、装置、系统及存储介质 (Video management method, device, system and storage medium ) 是由 李斌超 于 2020-04-14 设计创作,主要内容包括:本发明涉及一种视频管理方法、装置、系统及存储介质。方法包括:获取播放中的视频的视频信息;根据视频信息和预存储的广告信息,得到视频信息和预存储的广告信息的关联度;获取与视频信息的关联度符合预设条件的广告信息,并展示广告信息。本方案通过获取视频的视频信息,并分别得到视频信息和广告信息的关联度,将与视频信息关联度符合预设条件的广告信息进行展示,使得所展示的广告信息与视频具有强相关性,在不影响用户体验的前提下,保证视频网站的广告收入和投放广告的广告商的收益。(The invention relates to a video management method, a video management device, a video management system and a storage medium. The method comprises the following steps: acquiring video information of a video in play; obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information; and acquiring advertisement information of which the association degree with the video information meets a preset condition, and displaying the advertisement information. According to the scheme, the video information of the video is obtained, the association degrees of the video information and the advertisement information are obtained respectively, and the advertisement information with the association degree of the video information meeting the preset conditions is displayed, so that the displayed advertisement information has strong correlation with the video, and the advertisement income of a video website and the income of an advertiser who puts in the advertisement are guaranteed on the premise that the user experience is not influenced.)

1. A method for video management, the method comprising:

acquiring video information of a video in play;

obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and acquiring advertisement information of which the association degree with the video information meets a preset condition, and displaying the advertisement information.

2. The video management method according to claim 1, wherein the obtaining of the advertisement information whose association degree with the video information meets a preset condition comprises:

judging whether the video information exists in a prestored advertisement mapping table or not; the advertisement mapping table stores video information and advertisement information of which the association degree with the video information meets a preset condition;

if the video information exists in the advertisement mapping table, acquiring advertisement information corresponding to the video information from the advertisement mapping table;

if the video information does not exist in the advertisement mapping table, sorting the association degrees of the video information and the prestored advertisement information in a descending order, taking the prestored advertisement information corresponding to the association degree with the sorting ranking greater than the preset ranking as the advertisement information meeting the preset condition, and correspondingly storing the advertisement information and the video information into the advertisement mapping table.

3. The video management method according to claim 2, wherein obtaining the association between the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information comprises:

acquiring a video description statement in the video information;

extracting keywords from the video description sentences to obtain video keywords;

acquiring an advertisement description sentence of each piece of prestored advertisement information;

and according to the video keywords, calculating the similarity between the video description sentences and the advertisement description sentences to serve as the association degree between the video information and each piece of pre-stored advertisement information.

4. The video management method according to claim 3, wherein the calculating the similarity between the video description sentence and the advertisement description sentence according to the video keyword comprises:

acquiring the word number of the video keywords;

acquiring a preset score corresponding to each word number, wherein the size of the word number is in direct proportion to the size of the preset score;

acquiring the occurrence times of the video keywords with each word number in the advertisement description statement;

the similarity is calculated by the following calculation formula:

r=m1×f1+m2×f2......+mn×fn

wherein r is the similarity, m1The number of times of the video keywords with the word number of 1 appearing in the advertisement description sentence is set; f. of1The number of words is a preset fraction corresponding to 1; m is2The number of times of occurrence of the video keyword with the word number of 2 in the advertisement description statement is shown; f. of2The number of words is a preset fraction corresponding to 2; m isnThe number of times of the video keywords with the word number of n in the advertisement description statement is shown; f. ofnIs a preset fraction corresponding to n words.

5. The video management method according to claim 1, wherein before the obtaining the video information of the video being played, the method further comprises:

judging whether the video is played to a preset time point or not;

and when the video is played to a preset time point, executing the step of acquiring the video information of the video in playing.

6. The video management method according to claim 1, wherein before obtaining the association between the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information, the method further comprises:

acquiring user information of an account playing the video;

judging whether the video played by the account needs to play an advertisement or not according to the user information;

when the account plays the video and needs to play the advertisement, executing the step of obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and when the video played by the account does not need to play the advertisement, constructing data information with empty data, and feeding back the data information to the front end for playing the video.

7. The video management method according to any one of claims 1 to 6, wherein said displaying the advertisement information comprises:

and the front end playing the video executes a preset asynchronous callback method, and renders and displays the advertisement information.

8. A video management apparatus, characterized in that the apparatus comprises:

the acquisition unit is used for acquiring video information of a video in playing;

the processing unit is used for obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and the display unit is used for acquiring the advertisement information of which the association degree with the video information meets the preset condition and displaying the advertisement information.

9. The video management system is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;

a memory for storing a computer program;

a processor for implementing the video management method according to any one of claims 1 to 7 when executing a program stored in a memory.

10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the video management method of any of claims 1-7.

Technical Field

The present invention relates to the field of online video technologies, and in particular, to a method, an apparatus, a system, and a storage medium for video management.

Background

At present, a video website refers to a network media for enabling internet users to smoothly publish, browse and share video works online under the support of a perfect technical platform. In addition to the traditional understanding of video websites, in recent years, whether P2P live websites, BT download stations, or local video playing software is also becoming a strategic importance to extend to video on demand.

However, no matter which video website, inserting advertisements in videos is an important profit point for network video operators, and for advertisers, the required consideration is not only the traffic of the video websites, but also how much the conversion rate of products can be after advertisements are placed on the video websites, and in order to ensure that the advertisers can continuously place advertisements, the video operators have to consider how to ensure the benefits of the advertisers, and the advertisements inserted during the existing video playing are disordered, so that users may have no interest if seeing completely unrelated advertisements when watching videos, and even have a sense of dislike for the products of the advertisements, which is a disadvantage for the network video operators and the advertisers.

Disclosure of Invention

In order to solve the problems in the prior art, at least one embodiment of the present invention provides a video management method, apparatus, system and storage medium.

In a first aspect, an embodiment of the present invention provides a video management method, where the method includes:

acquiring video information of a video in play;

obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and acquiring advertisement information of which the association degree with the video information meets a preset condition, and displaying the advertisement information.

Based on the above technical solutions, the embodiments of the present invention may be further improved as follows.

With reference to the first aspect, in a first embodiment of the first aspect, the obtaining advertisement information whose association with the video information meets a preset condition includes:

judging whether the video information exists in a prestored advertisement mapping table or not; the advertisement mapping table stores video information and advertisement information of which the association degree with the video information meets a preset condition;

if the video information exists in the advertisement mapping table, acquiring advertisement information corresponding to the video information from the advertisement mapping table;

if the video information does not exist in the advertisement mapping table, sorting the association degrees of the video information and the prestored advertisement information in a descending order, taking the prestored advertisement information corresponding to the association degree with the sorting ranking greater than the preset ranking as the advertisement information meeting the preset condition, and correspondingly storing the advertisement information and the video information into the advertisement mapping table.

With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the obtaining a degree of association between the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information includes:

acquiring a video description statement in the video information;

extracting keywords from the video description sentences to obtain video keywords;

acquiring an advertisement description sentence of each piece of prestored advertisement information;

and according to the video keywords, calculating the similarity between the video description sentences and the advertisement description sentences to serve as the association degree between the video information and each piece of pre-stored advertisement information.

With reference to the second embodiment of the first aspect, in a third embodiment of the first aspect, the calculating, according to the video keyword, a similarity between the video description statement and the advertisement description statement includes:

acquiring the word number of the video keywords;

acquiring a preset score corresponding to each word number, wherein the size of the word number is in direct proportion to the size of the preset score;

acquiring the occurrence times of the video keywords with each word number in the advertisement description statement;

the similarity is calculated by the following calculation formula:

r=m1×f1+m2×f2......+mn×fn

wherein r is the similarity, m1The number of times of the video keywords with the word number of 1 appearing in the advertisement description sentence is set; f. of1The number of words is a preset fraction corresponding to 1; m is2The number of times of occurrence of the video keyword with the word number of 2 in the advertisement description statement is shown; f. of2The number of words is a preset fraction corresponding to 2; m isnThe number of times of the video keywords with the word number of n in the advertisement description statement is shown; f. ofnIs a preset fraction corresponding to n words.

With reference to the first aspect, in a fourth embodiment of the first aspect, before the obtaining the video information of the video in play, the method further includes:

judging whether the video is played to a preset time point or not;

and when the video is played to a preset time point, executing the step of acquiring the video information of the video in playing.

With reference to the first aspect, in a fifth embodiment of the first aspect, before obtaining, according to the video information and the pre-stored advertisement information, a degree of association between the video information and the pre-stored advertisement information, the method further includes:

acquiring user information of an account playing the video;

judging whether the video played by the account needs to play an advertisement or not according to the user information;

when the account plays the video and needs to play the advertisement, executing the step of obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and when the video played by the account does not need to play the advertisement, constructing data information with empty data, and feeding back the data information to the front end for playing the video.

With reference to the first aspect or the first, second, third, fourth or fifth embodiment of the first aspect, in a sixth embodiment of the first aspect, the presenting the advertisement information includes:

and the front end playing the video executes a preset asynchronous callback method, and renders and displays the advertisement information.

In a second aspect, an embodiment of the present invention provides a video management apparatus, where the apparatus includes:

the acquisition unit is used for acquiring video information of a video in playing;

the processing unit is used for obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and the display unit is used for acquiring the advertisement information of which the association degree with the video information meets the preset condition and displaying the advertisement information.

In a third aspect, an embodiment of the present invention provides a video management system, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;

a memory for storing a computer program;

a processor, configured to implement the video management method according to any embodiment of the first aspect when executing a program stored in a memory.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the video management method described in any one of the first aspects.

Compared with the prior art, the technical scheme of the invention has the following advantages: according to the scheme, the video information of the video is obtained, the association degrees of the video information and the advertisement information are obtained respectively, and the advertisement information with the association degree of the video information meeting the preset conditions is displayed, so that the displayed advertisement information has strong correlation with the video, and the advertisement income of a video website and the income of an advertiser who puts in the advertisement are guaranteed on the premise that the user experience is not influenced.

Drawings

Fig. 1 is a schematic flow chart of a video management method according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a video management method according to another embodiment of the present invention;

fig. 3 is a flowchart illustrating a video management method according to another embodiment of the present invention;

fig. 4 is a flowchart illustrating a video management method according to another embodiment of the present invention;

fig. 5 is a third schematic flowchart of a video management method according to another embodiment of the present invention;

FIG. 6 is a schematic structural diagram of a video management apparatus according to another embodiment of the present invention;

fig. 7 is a schematic structural diagram of a video management system according to yet another embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.

As shown in fig. 1, an embodiment of the present invention provides a video management method. Referring to fig. 1, the video management method includes the steps of:

and S11, acquiring video information of the video in playing.

In the present embodiment, Video (Video) generally refers to various techniques for capturing, recording, processing, storing, transmitting and reproducing a series of still images as electrical signals. When the continuous image changes more than 24 frames (frames) of pictures per second, human eyes cannot distinguish a single static picture according to the persistence of vision principle; it appears as a smooth continuous visual effect, so that the continuous picture is called a video. Video technology was originally developed for television systems, but has now evolved into a variety of different formats to facilitate consumer recording of video. Advances in networking technology have also enabled recorded segments of video to be streamed over the internet and received and played by computers.

In this embodiment, the video played on the existing video website generally plays the advertisement at the beginning and the middle of the video to ensure the income of the video website to support the operation, but the conditions for attracting the advertiser to place the advertisement on the video website are not limited to the traffic of the video website, and also the conditions include that after the advertisement is placed on the video website, the change of the income finally obtained by the advertiser also affects the subsequent cooperation between the advertiser and the video website, and the higher the income of the advertiser, the larger the fund that can be invested into the video website, and finally a good cycle is formed.

According to the scheme, the video information of the video in playing is obtained, so that the advertisements related to the video can be found and played conveniently, the acceptance degree of the user on the advertisements inserted in the video is improved, and the economic benefit of the video website is guaranteed under the condition that the influence on the user experience is reduced.

In this embodiment, the video information may be a content introduction of a played video, or a title of the video, or a channel introduction of the video, or a tag added to the video, where the content introduction of the video may be freely imported by a user, or may be added in advance by a video publisher.

And S12, obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information.

In this embodiment, the video information and the pre-stored advertisement information are processed to obtain the association degree between the video information and the advertisement information, where the association degree is higher, that is, the similarity between the video information and the advertisement information is higher, and the advertisement information similar to the video information is less likely to cause the user's dislike, for example, a certain video is a cosmetic introducing a certain brand, and the advertisement pushed at this time is just a cosmetic changing the brand, so that for the user, not only is a related purchase channel provided, but also the acceptance degree of the user for the advertisement is improved, and not only the advertisement will not be disliked, but also the advertisement pushed by the website will be perceived as being satisfactory.

In this embodiment, based on the function implemented by the open-source third-party software package, text recognition and comparison may be performed on the video information and the advertisement information to obtain the association degree between the video information and the advertisement information, for example, the advertisements matching in the advertisement library may be found through descriptive information such as a title, a tag, or an introduction of the video, where each advertisement may carry a tag, and the association degree between the video and the advertisement is determined according to the matching degree by matching the descriptive information in the video and the tag, so as to find the advertisement with high association degree with the video.

And S13, acquiring the advertisement information of which the association degree with the video information meets the preset condition, and displaying the advertisement information.

In this embodiment, the advertisement information whose association with the video information meets the preset condition may be obtained by taking the advertisement information with the highest association as the advertisement information whose association with the video information meets the preset condition, combining the advertisement information whose association is greater than a preset threshold, and displaying the combined advertisement information in a carousel manner, or selecting the advertisement information whose association is three bits before the association is too much when the association is greater than the preset threshold, or certainly selecting two or more bits of advertisement information for combined display, which is not particularly limited in this embodiment.

In this embodiment, video information may be obtained according to a video id, card data may be constructed according to entities of a video and an advertisement, the card data may be called according to an asynchronous callback method, and then advertisement information may be rendered and displayed.

In this embodiment, by acquiring video information of a video, and obtaining association degrees of the video information and advertisement information respectively, advertisement information whose association degree with the video information meets a preset condition is displayed, so that the displayed advertisement information has strong correlation with the video, and under the premise of not affecting user experience, the advertisement income of a video website and the income of an advertiser who puts advertisements are ensured.

In this embodiment, before step S11, the method further includes: judging whether the video is played to a preset time point or not; when the video is played to a preset time point, step S11 is executed.

In this embodiment, the step of displaying the advertisement is determined by determining a preset time point when the video is played, so as to realize time control for playing the advertisement on the video, for example, when the user watches the game video, the advertisement related to the game video may be pushed to the user, but in order to avoid the problem that the watching of the user is not well embodied due to the advertisement pushed when the user watches the highlight in the game video, the advertisement may be played at a specific time, such as an intermittent time when the player plays the game in the game video, or a time period or a time point when a fighting scene does not appear in the game picture, so as to reduce the influence on the user, and in some videos that need to increase the user viscosity different from the game, such as a world cup game and an olympic game, which are not frequently updated, the advertisement may be played at some critical time points, for example, at the time of goal or the time of prize awarding, the user can be ensured to continue watching the advertisement, and the economic benefit of the video website is improved by ensuring the income of the advertiser.

As shown in fig. 2, an embodiment of the present invention provides a video management method. Referring to fig. 2, the management method includes the steps of:

and S21, acquiring video information of the video in playing.

Regarding step S21, refer to the description in step S11 for details, which are not repeated herein.

And S22, obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information.

Regarding step S22, refer to the description in step S12 for details, which are not repeated herein.

S23, judging whether the video information exists in a prestored advertisement mapping table or not; the advertisement mapping table stores video information and advertisement information, wherein the association degree of the advertisement information and the video information meets preset conditions.

In this embodiment, it is determined whether the video information exists in a pre-stored advertisement mapping table, that is, it is determined whether a video corresponding to the video information is processed in advance, for example, corresponding advertisement information is added to the video.

S24a, if the video information exists in the advertisement mapping table, acquiring the advertisement information corresponding to the video information from the advertisement mapping table.

In this embodiment, when the video information exists in the advertisement mapping table, the advertisement information corresponding to the video information is directly obtained from the advertisement mapping table and is displayed.

S24b, if the video information does not exist in the advertisement mapping table, sorting the association degrees of the video information and the prestored advertisement information in a descending order, taking the prestored advertisement information corresponding to the association degree with the sorting ranking greater than the preset ranking as the advertisement information meeting the preset condition, and correspondingly storing the advertisement information and the video information into the advertisement mapping table.

In this embodiment, when there is no video information in the advertisement mapping table, the association degrees of the video information and the advertisement information are sorted, the advertisement information with higher association degree is obtained as the advertisement information meeting the preset condition, and the advertisement information meeting the preset condition and the video information are correspondingly stored in the advertisement mapping table, so that when a video corresponding to the video information is subsequently played, the advertisement information corresponding to the video information is quickly obtained and displayed.

As shown in fig. 3, the step S22 of obtaining the association degree between the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information includes the following steps:

and S31, acquiring the video description sentences in the video information.

In this embodiment, the video description sentence may be a content introduction of a played video, or a title of the video, or a channel introduction of the video, or a tag added to the video, where the content introduction of the video may be freely imported by a user, or may be added in advance by a video publisher.

And S32, extracting keywords of the video description sentence to obtain video keywords.

In this embodiment, by extracting keywords from a video description sentence, interference of words without specific meanings, such as a mood word and a structural help word, in the video description sentence is reduced, and a video keyword is obtained to replace the video description sentence to find a best-matching advertisement.

And S33, obtaining the advertisement description sentence of each piece of prestored advertisement information.

In this embodiment, since the advertisement generally exists in a video, animation, or picture manner, in order to implement matching of the video and the advertisement, in the present solution, an advertisement description statement of the advertisement is obtained, for example, the advertisement description statement may be information of a product name, a type, an advertiser, and the like advertised by the advertisement, or a statement added to advertisement information in advance by the advertiser or a related worker, or text data in the video may be identified by an image identification technology, so as to obtain the advertisement description statement.

And S34, calculating the similarity between the video description sentences and the advertisement description sentences according to the video keywords, and taking the similarity as the association degree between the video information and each piece of pre-stored advertisement information.

In this embodiment, the similarity between each group of the video keywords and each advertisement description sentence can be obtained by respectively calculating through a sentence similarity calculation method in the prior art, and since the video description sentences have been subjected to keyword extraction, keyword extraction on the advertisement description sentences is not required, and the mood words in the advertisement description sentences do not have a great influence on the calculation result and the calculation efficiency.

As shown in fig. 4, in this embodiment, the step S34 of calculating the similarity between the video description sentence and the advertisement description sentence according to the video keyword includes:

and S41, acquiring the word number of the video keyword.

In this embodiment, since at least one video keyword can be obtained after filtering and word segmentation are performed on the video description sentence, the word count of each video keyword is obtained in this step.

And S42, acquiring a preset score corresponding to each word number, wherein the size of the word number is in direct proportion to the size of the preset score.

In this step, a preset score is respectively preset for each word number, for example, the preset score corresponding to the word number 1 is 1, the preset score corresponding to the word number 2 is 3, and the specific preset score may be set in advance in a direct ratio.

And S43, acquiring the occurrence times of the video keywords of each word number in the advertisement description sentence.

In the present embodiment, the number of occurrences of each of the video keywords of the word count in the advertisement description sentence is acquired, for example, an accumulated value of the number of occurrences of each of the video keywords of the word count 1 in the advertisement description sentence, an accumulated value of the number of occurrences of each of the video keywords of the word count 2 in the advertisement description sentence, and if a video keyword of a larger word count occurs in the advertisement description sentence, it may be considered that the similarity between the video description sentence and the advertisement description sentence is higher, or it may be considered that a contribution value of the occurrence of the video keyword of a larger word count in the advertisement description sentence to the similarity between the video description sentence and the advertisement description sentence is larger.

S44, calculating the similarity through the following calculation formula:

r=m1×f1+m2×f2......+mn×fn

wherein r is the similarity, m1The number of times of the video keywords with the word number of 1 appearing in the advertisement description sentence is set; f. of1The number of words is a preset fraction corresponding to 1; m is2The number of times of occurrence of the video keyword with the word number of 2 in the advertisement description statement is shown; f. of2The number of words is a preset fraction corresponding to 2; m isnThe number of times of the video keywords with the word number of n in the advertisement description statement is shown; f. ofnIs a preset fraction corresponding to n words.

In this embodiment, the similarity between the video description sentence and the advertisement description sentence is obtained according to the number of times that the video keywords with different word numbers appear in the advertisement description sentence.

As shown in fig. 5, an embodiment of the present invention provides a video management method. Referring to fig. 5, the method includes the steps of:

and S51, acquiring video information of the video in playing.

Regarding step S51, refer to the description in step S11 for details, which are not repeated herein.

And S52, acquiring the user information of the account playing the video.

And S53, judging whether the video played by the account needs to be played with advertisements or not according to the user information.

In this embodiment, the user information is acquired, and whether the account needs to play the advertisement is determined according to the user information, for example, when the user information is a guest, an administrator, or an account with a higher authority level that can avoid the advertisement, the advertisement is not played, and the advertisement playing is controlled.

S54a, when the video played by the account needs to be advertised, obtaining the association degree between the video information and the pre-stored advertising information according to the video information and the pre-stored advertising information; and acquiring advertisement information of which the association degree with the video information meets a preset condition, and displaying the advertisement information.

Regarding step S54a, refer to the descriptions in steps S12 and S13 for details, which are not repeated herein.

S54b, when the video played by the account does not need to play the advertisement, constructing data information with null data, and feeding back the data information to the front end playing the video.

In this embodiment, an empty data message is constructed and fed back to the front end of the playing video, so that the advertisement is not popped up when the video is played.

As shown in fig. 6, an embodiment of the present invention provides a video management apparatus. Referring to fig. 6, the apparatus includes: an acquisition unit 11, a processing unit 12 and a presentation unit 13.

In this embodiment, the acquiring unit 11 is configured to acquire video information of a video being played.

In this embodiment, the processing unit 12 is configured to obtain a degree of association between the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information.

In this embodiment, the display unit 13 is configured to obtain advertisement information whose association degree with the video information meets a preset condition, and display the advertisement information.

In this embodiment, the presentation unit 13 is specifically configured to determine whether the video information exists in a pre-stored advertisement mapping table; the advertisement mapping table stores video information and advertisement information of which the association degree with the video information meets a preset condition; if the video information exists in the advertisement mapping table, acquiring advertisement information corresponding to the video information from the advertisement mapping table; if the video information does not exist in the advertisement mapping table, sorting the association degrees of the video information and the prestored advertisement information in a descending order, taking the prestored advertisement information corresponding to the association degree with the sorting ranking greater than the preset ranking as the advertisement information meeting the preset condition, and correspondingly storing the advertisement information and the video information into the advertisement mapping table.

In this embodiment, the processing unit 12 is specifically configured to obtain a video description statement in the video information; extracting keywords from the video description sentences to obtain video keywords; acquiring an advertisement description sentence of each piece of prestored advertisement information; and according to the video keywords, calculating the similarity between the video description sentences and the advertisement description sentences to serve as the association degree between the video information and each piece of pre-stored advertisement information.

In this embodiment, the processing unit 12 is specifically configured to obtain the word number of the video keyword; acquiring a preset score corresponding to each word number, wherein the size of the word number is in direct proportion to the size of the preset score; acquiring the occurrence times of the video keywords with each word number in the advertisement description statement;

in this embodiment, the processing unit 12 is specifically configured to calculate the similarity according to the following calculation formula:

r=m1×f1+m2×f2......+mn×fn

wherein r is the similarity, m1Of word number 1The occurrence frequency of the video keywords in the advertisement description sentences; f. of1The number of words is a preset fraction corresponding to 1; m is2The number of times of occurrence of the video keyword with the word number of 2 in the advertisement description statement is shown; f. of2The number of words is a preset fraction corresponding to 2; m isnThe number of times of the video keywords with the word number of n in the advertisement description statement is shown; f. ofnIs a preset fraction corresponding to n words.

In this embodiment, the video management system further includes: the timing unit is used for acquiring a video playing time point and judging whether the video is played to a preset time point or not; and when the video is played to a preset time point, executing the step of acquiring the video information of the video in playing.

In this embodiment, the video management system further includes: a user information obtaining unit 11, configured to obtain user information of an account for playing the video; judging whether the video played by the account needs to play an advertisement or not according to the user information; when the account plays the video and needs to play the advertisement, executing the step of obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information; and when the video played by the account does not need to play the advertisement, constructing data information with empty data, and feeding back the data information to the front end for playing the video.

In this embodiment, the presentation unit 13 may be a front end for playing the video, and is configured to execute a preset asynchronous callback method, render and present the advertisement information.

As shown in fig. 7, an embodiment of the present invention provides a video management system, which includes a processor 1110, a communication interface 1120, a memory 1130, and a communication bus 1140, wherein the processor 1110, the communication interface 1120, and the memory 1130 complete communication with each other through the communication bus 1140;

a memory 1130 for storing computer programs;

the processor 1110, when executing the program stored in the memory 1130, implements a video management method as follows:

acquiring video information of a video in play;

obtaining the association degree of the video information and the pre-stored advertisement information according to the video information and the pre-stored advertisement information;

and acquiring advertisement information of which the association degree with the video information meets a preset condition, and displaying the advertisement information.

In the electronic device provided by the embodiment of the present invention, the processor 1110 implements that the video information of the video is obtained, the association degrees of the video information and the advertisement information are respectively obtained, and the advertisement information whose association degree with the video information meets the preset condition is displayed by executing the program stored in the memory 1130, so that the displayed advertisement information has strong correlation with the video, and the advertisement income of the video website and the income of an advertiser who puts the advertisement are ensured on the premise of not affecting the user experience.

The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 1140 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.

The communication interface 1120 is used for communication between the electronic device and other devices.

The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 1130 may also be at least one memory device located remotely from the processor 1110.

The processor 1110 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.

An embodiment of the present invention provides a computer-readable storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors to implement the video management method according to any of the above embodiments.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (ssd)), among others.

Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种分布式视频控制方法、系统、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类