CN110198491B - Video sharing method and device - Google Patents

Video sharing method and device Download PDF

Info

Publication number
CN110198491B
CN110198491B CN201910450528.1A CN201910450528A CN110198491B CN 110198491 B CN110198491 B CN 110198491B CN 201910450528 A CN201910450528 A CN 201910450528A CN 110198491 B CN110198491 B CN 110198491B
Authority
CN
China
Prior art keywords
bullet screen
video
shared
content
pool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910450528.1A
Other languages
Chinese (zh)
Other versions
CN110198491A (en
Inventor
王潇瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910450528.1A priority Critical patent/CN110198491B/en
Publication of CN110198491A publication Critical patent/CN110198491A/en
Application granted granted Critical
Publication of CN110198491B publication Critical patent/CN110198491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Abstract

The embodiment of the invention provides a video sharing method and device. The scheme is as follows: determining a video to be shared selected by a user, determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared, wherein the target bullet screen pool comprises at least one bullet screen content, selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted, inserting the bullet screen content to be inserted into the video to be shared, and sharing the video to be shared after the bullet screen content to be inserted is inserted. According to the technical scheme provided by the embodiment of the invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.

Description

Video sharing method and device
Technical Field
The present invention relates to the field of streaming media video technologies, and in particular, to a video sharing method and apparatus.
Background
With the continuous development of streaming video technology and network technology, more and more users tend to share some videos in the social circles of the network. However, when different users choose to share the same video, the video shared by each user is the same, and the personality of each user cannot be shown.
Disclosure of Invention
The embodiment of the invention aims to provide a video sharing method and device, so that the personality of a user can be shown when the user shares videos, and the experience of the user is enhanced. The specific technical scheme is as follows:
the embodiment of the invention provides a video sharing method, which comprises the following steps:
determining a video to be shared selected by a user;
determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared, wherein the target bullet screen pool comprises at least one bullet screen content;
selecting bullet screen content from the target bullet screen pool as bullet screen content to be inserted;
inserting the bullet screen content to be inserted into the video to be shared;
and sharing the video to be shared after the bullet screen content to be inserted is inserted.
Optionally, the step of determining the target barrage pool according to the feature information of the user and the attribute information of the video to be shared includes:
performing text analysis on the first bullet screen content and the second bullet screen content according to the characteristic information of the user to obtain a first bullet screen pool;
performing text analysis on the third bullet screen content according to the attribute information of the video to be shared to obtain a second bullet screen pool;
the target bullet screen pool comprises a first bullet screen pool and a second bullet screen pool; the first barrage content is barrage content published by the user; the second barrage content is barrage content published by other users praised by the user; the third barrage content is barrage content contained in the video to be shared.
Optionally, the feature information includes: one or more of age information, personality information, and interest information of the user;
the attribute information includes: and one or more of the label information, the category information and the content information of the video to be shared.
Optionally, the step of selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted includes:
and selecting bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively according to a preset proportion to obtain a preset number of bullet screen contents to be inserted, wherein the preset proportion is the proportion of the number of the bullet screen contents selected from the first bullet screen pool and the number of the bullet screen contents selected from the second bullet screen pool.
Optionally, the method further includes:
acquiring a first time point of inserting third barrage content into the video to be shared; the third barrage content is barrage content contained in the video to be shared;
selecting a second time point with the watching heat degree larger than a preset watching heat degree threshold value according to the watching heat degrees of the video to be shared at different time points;
generating a time pool according to the first time point and the second time point;
the step of inserting the bullet screen content to be inserted into the video to be shared includes:
selecting a time point from the time pool as a time point to be inserted;
and inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
Optionally, the method further includes:
acquiring a sticker with the use frequency larger than a preset frequency value and/or acquiring a sticker used by the user as a sticker to be inserted;
inserting the paster to be inserted into the video to be shared;
the step of sharing the video to be shared after the bullet screen content to be inserted is inserted includes:
and sharing and inserting the bullet screen content to be inserted and the video to be shared of the sticker to be inserted.
An embodiment of the present invention further provides a video sharing apparatus, including:
the first determining module is used for determining the video to be shared selected by the user;
the second determining module is used for determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared, wherein the target bullet screen pool comprises at least one bullet screen content;
the selection module is used for selecting the bullet screen content from the target bullet screen pool as bullet screen content to be inserted;
the first inserting module is used for inserting the bullet screen content to be inserted into the video to be shared;
and the sharing module is used for sharing the video to be shared after the bullet screen content to be inserted is inserted.
Optionally, the second determining module is specifically configured to perform text analysis on the first bullet screen content and the second bullet screen content according to the feature information of the user, so as to obtain a first bullet screen pool; performing text analysis on the third bullet screen content according to the attribute information of the video to be shared to obtain a second bullet screen pool; the target bullet screen pool comprises a first bullet screen pool and a second bullet screen pool; the first barrage content is barrage content published by the user; the second barrage content is barrage content published by other users praised by the user; the third barrage content is barrage content contained in the video to be shared.
Optionally, the feature information includes: one or more of age information, personality information, and interest information of the user;
the attribute information includes: and one or more of the label information, the category information and the content information of the video to be shared.
Optionally, the selection module is specifically configured to select, according to a preset ratio, the bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively to obtain a preset number of bullet screen contents to be inserted, where the preset ratio is a ratio of the number of the bullet screen contents selected from the first bullet screen pool to the number of the bullet screen contents selected from the second bullet screen pool.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring a first time point of inserting the third barrage content into the video to be shared; the third barrage content is barrage content contained in the video to be shared;
the selecting module is used for selecting a second time point with the watching heat degree larger than a preset watching heat degree threshold value according to the watching heat degrees of the video to be shared at different time points;
the generating module is used for generating a time pool according to the first time point and the second time point;
the first inserting module is specifically configured to select a time point from the time pool as a time point to be inserted; and inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the paster with the use frequency greater than the preset frequency value and/or acquiring the paster used by the user as the paster to be inserted;
the second inserting module is used for inserting the paster to be inserted into the video to be shared;
the sharing module is specifically used for sharing the to-be-shared videos which are inserted with the bullet screen content to be inserted and the to-be-shared videos which are inserted with the stickers.
The embodiment of the invention also provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the video sharing method steps when executing the program stored in the memory.
The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above-mentioned video sharing methods are implemented.
An embodiment of the present invention further provides a computer program product including instructions, which when run on a computer, causes the computer to execute any one of the video sharing methods described above.
The video sharing method and device provided by the embodiment of the invention can determine a video to be shared selected by a user, determine a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared, select bullet screen content from the target bullet screen pool as bullet screen content to be inserted, insert the bullet screen content to be inserted into the video to be shared, and share the video to be shared after the bullet screen content to be inserted is inserted. According to the technical scheme provided by the embodiment of the invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
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.
Fig. 1 is a schematic flowchart of a video sharing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a text analysis process according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a video sharing method according to a second embodiment of the present invention;
fig. 4 is a schematic view illustrating a third process of a video sharing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a video sharing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
At present, a user can share videos which the user likes or dislikes in a social network circle, so that other users can watch the videos shared by the user, the user can be prompted to find more network friends, communication and communication between the user and other users are deepened, and the like. However, when different users share the same video in the social networking circles, the video shared by each user is the same, and the personality of each user cannot be reflected, such as the preference degree of the video, the reason for sharing the video, and the like. For example, user A and user B share a video 1 in the social circle at the same time. User a does not like video 1 and shares video 1 in order to let other users know his or her dislike of video 1. But user B likes video 1 quite a lot, and the video 1 is shared in order to let other users know their own liking for video 1. If the user a and the user B only share the video 1 in the social networking circle, other users will not know the reason why the user a and the user B share the video 1. If the user a and the user B are provided with the reason for the text description sharing for the behavior of sharing the video 1, the video sharing behavior is complicated, the social cost is increased, and the user experience is poor.
In order to solve the problem that the shared video cannot reflect the personality of the user and brings poor experience to the user in the video sharing process, the embodiment of the invention provides a video sharing method, and the method is suitable for any electronic device. The electronic equipment is provided with video software and/or social software and the like. The method includes the steps of determining a video to be shared selected by a user, determining a target bullet screen pool according to characteristic information of the user and attribute information of the video to be shared, wherein the target bullet screen pool comprises at least one bullet screen content, selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted, inserting the bullet screen content to be inserted into the video to be shared, and sharing the video to be shared after the bullet screen content to be inserted is inserted.
According to the method provided by the embodiment of the invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
The following examples illustrate the present invention. For ease of understanding, the following description will be given taking an execution subject as an electronic device as an example.
As shown in fig. 1, fig. 1 is a first flowchart of a video sharing method according to an embodiment of the present invention. The method comprises the following steps.
Step S101, determining a video to be shared selected by a user.
In this step, the video to be shared may be a video that the user is watching, a video that the user has already watched, or a video that is shared by other users. The electronic equipment can select the video to be shared from videos stored in the electronic equipment according to the operation behaviors of the user, and can also acquire the video to be shared from a network.
For example, a user a watches a video 1 through a video software on a mobile phone, and at a certain moment, it is detected that the user a clicks a video sharing key in a current video playing page of the mobile phone. According to the click operation, the mobile phone can determine that the video 1 is a video to be shared selected by the user a for sharing.
In the embodiment of the present invention, the video to be shared selected by the user, which is determined by the electronic device, may include bullet screen content. The barrage content may include barrage content published by the user in the process of watching the video to be shared, and/or barrage content published by other users in the process of watching the video to be shared. The video to be shared selected by the user and determined by the electronic device may not include any barrage content.
And S102, determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared. Wherein, the target barrage pool at least comprises one barrage content.
In this step, the characteristic information of the user may include: one or more of age information, character information, interest information, user Identification (ID) information, and academic information. The video attribute information to be shared may include: one or more of tag information, category information, content information, video ID information, director information, and actor information. The electronic equipment can determine the target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared. In the embodiment of the present invention, the characteristic information of the user and the attribute information of the video to be shared are not specifically limited.
In the embodiment of the invention, different modes can be selected according to the storage space and the working environment of the electronic equipment to generate the target bullet screen pool.
In one embodiment, the generation manner of the target barrage pool may be: the electronic equipment generates the bullet screen pools corresponding to the videos and the user in advance according to the characteristic information of the user and the attribute information of the videos, and stores the bullet screen pools corresponding to the videos. Each bullet screen pool can at least comprise one bullet screen content. After the video to be shared is determined, the electronic equipment determines a target bullet screen pool required currently from the stored multiple bullet screen pools according to the characteristic information of the user and the attribute information of the video to be shared. Therefore, the efficiency of determining the target bullet screen pool can be effectively improved.
Taking the user a and the video 1 as an example for explanation, according to the feature information of the user a and the attribute information of the video 1, the bullet screen pool 1 corresponding to the user a and the video 1 is generated in advance, and the bullet screen pool 1 is associated with the user a and the video 1. When the user A selects to share the video 1, the electronic device may determine, according to the feature information of the user A and the attribute information of the video 1, that the target bullet screen pool is the bullet screen pool 1 among the multiple bullet screen pools generated in advance.
In the process of associating the bullet screen pool 1 with the user a and the video 1, the user ID of the user a and the video ID of the video 1 may be adopted to mark the generated bullet screen pool 1, so that the bullet screen pool 1 is managed with the user a and the video 1. Further, according to the user ID of the user a and the video ID of the video 1, the electronic device may determine the bullet screen pool 1 in the bullet screen pools of the videos. In the embodiment of the present invention, association between the bullet screen pool and the user and the video to be shared may also be implemented in other manners, which is not specifically limited.
In another embodiment, the generation manner of the target bullet screen pool may be: under the condition that the user does not share the video, namely before the user does not determine the video to be shared, the electronic equipment does not store the bullet screen pool corresponding to the characteristic information of the user and the attribute information of the video to be shared. Therefore, the occupied storage space can be reduced, and the storage space of the electronic equipment is saved. After determining the video to be shared selected by the user, the electronic device generates a target bullet screen pool containing a plurality of bullet screen contents according to the characteristic information of the user and the attribute information of the video to be shared.
Still taking the user a and the video 1 as an example, before it is determined that the user a selects to share the video 1, the electronic device does not store the bullet screen pool corresponding to the feature information of the user a and the attribute information of the video 1. After determining that the video selected by the user A to share is the video 1, the electronic device generates a target bullet screen pool according to the feature information of the user A and the attribute information of the video 1.
In the embodiment of the invention, the bullet screen content in the target bullet screen pool is determined according to the characteristic information of the user and the attribute information of the video to be shared, so that the bullet screen content selected from the target bullet screen pool and inserted into the video to be shared can embody the personality of the user, the personality of the user is shown when the user shares the video, and the experience of the user is enhanced.
And step S103, selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted.
In this step, the electronic device may select a preset number of bullet screen contents from the target bullet screen pool as bullet screen contents to be inserted. The preset number may be one or more, that is, the number of the bullet screen contents to be inserted may be one or more. The preset number may be set according to a desired effect, a user's demand, and the like.
In one embodiment, the electronic device may randomly select a preset number of bullet screen contents from the target bullet screen pool as the bullet screen contents to be inserted. For example, the preset number is 10, and the electronic device may randomly select 10 bullet screen contents from the target bullet screen pool as the bullet screen contents to be inserted.
In another embodiment, the electronic device may select a preset number of bullet screen contents from the target bullet screen pool as bullet screens to be inserted according to the characteristic information of the user and/or the personal habits of the user. For example, statistics show that some user will almost send bullet screen contents such as "first", "landing success", or "front high energy" when watching each video. If the target barrage pool includes the barrage contents frequently sent by the users, the electronic device may select the barrage contents such as "first", "air drop success", or "front high energy" as the barrage contents to be inserted. For another example, the age information in the characteristic information of a certain user is 24 years old, if the barrage content contained in the target barrage pool has barrage content related to the age information, for example, "aunt old at 24 years old indicates not to take" and other barrage content, the electronic device may select these barrage content related to the age information as the barrage content to be inserted.
In the embodiment of the invention, the selection mode of the bullet screen content to be inserted is not particularly limited.
And step S104, inserting the bullet screen content to be inserted into the video to be shared.
In this step, the electronic device inserts the bullet screen content to be inserted, which is selected from the target bullet screen pool, into the video to be shared.
In one embodiment, in the video to be shared, each video frame has a corresponding time point. The electronic device can randomly select time points corresponding to a plurality of video frames in the video to be shared as time points to be inserted. The electronic device can insert the bullet screen content to be inserted at the time point to be inserted of the video to be shared, that is, the bullet screen content to be inserted is inserted in the video frame corresponding to the selected time point to be inserted.
In another embodiment, the electronic device may determine a to-be-inserted time point in the video to be shared according to the to-be-inserted barrage content and the attribute information of the video to be shared, and insert the to-be-inserted barrage content at the to-be-inserted time point of the video to be shared, that is, insert the to-be-inserted barrage content in the video frame corresponding to the to-be-inserted time point. Taking the bullet screen content to be inserted as 'airborne successfully' and the video to be shared as cartoon as an example. "success in air-drop" is often used to express a pleasure or pride that the user can watch the video content he wants to watch after accurately skipping a certain video. If the animation 3 rd minute is the time point when the movie title music is finished, the time point is the time point when the user is very happy to see the specific content of the video to be shared, so that the 3 rd minute can be used as the time point to be inserted corresponding to the "airborne success", and the "airborne success" is inserted into the video frame corresponding to the 3 rd minute.
In an optional embodiment, the electronic device may determine a display effect of the content to be inserted into the bullet screen according to the feature information of the user, the personal habits of the user, the visual effect of the bullet screen, and the like, and insert the content to be inserted into the bullet screen into the video to be shared based on the display effect.
For example, a user's personal habit is to publish barrage content at the top of a video, and in the video to be shared selected by the user, the electronic device may determine that the display effect of the barrage content to be inserted is top display, and then insert the barrage content to be inserted into the top of the video to be shared. For another example, the video to be shared already contains a large amount of bullet screen content. In order to highlight the bullet screen content to be inserted, the electronic device may determine that the display effect of the bullet screen content to be inserted is highlighted or underlines are added below the bullet screen content to be inserted, and then insert the bullet screen content to be inserted into the video to be shared according to the determined display effect.
Step S105, sharing the video to be shared after the bullet screen content to be inserted is inserted.
In this step, the electronic device shares the video to be shared with the barrage content to be inserted in the network platforms such as the social network circle. For example, the electronic device may share a link address of a video to be shared, which is inserted into the bullet screen content to be inserted, to a social networking circle of the user.
According to the video sharing method provided by fig. 1, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
In an optional embodiment, in the step S102, the determining the target bullet screen pool according to the feature information of the user and the attribute information of the video to be shared may specifically include the following steps.
And S1021, performing text analysis on the first bullet screen content and the second bullet screen content according to the characteristic information of the user to obtain a first bullet screen pool. The first barrage content is barrage content published by a user. The second barrage content is barrage content published by other users praised by the user. The number of the first bullet screen contents may be one or more, and the number of the second bullet screen contents may be one or more.
The following description will be given taking as an example that the feature information of the user includes the age information, the character information, and the interest information.
In one embodiment, the electronic device may analyze the first bullet screen content and the second bullet screen content according to the age information, the personality information, and the interest information of the user, and screen out bullet screen content matched with the age information, the personality information, and the interest information of the user to obtain the first bullet screen pool. For example, the personality information of a user is perceptual, and when the first barrage content and the second barrage content are screened according to the personality information of the user, the electronic device may retain the barrage content with stronger emotional colors, such as "abhated wife, not worn on the same day", and "i never seen people with such thick complexities". For another example, a user age information records that the birthday date of the user is 10 months and 1 days, and when the first bullet screen content and the second bullet screen content are screened according to the user age information, the bullet screen content with the birthday of 10 months and 1 days, such as "my birthday is also 10 months and 1 days", "haha", and 10 months and 1 days are my birthdays "may be included. For another example, the interest information of a user is food, and when the first barrage content and the second barrage content are screened according to the interest information of the user, the electronic device may retain barrage content related to food, such as "the dish looks good and" indicate i can eat three bowls again "and the like.
In one embodiment, the electronic device may generate new bullet screen content as the bullet screen content in the first bullet screen pool according to the age information, the character information, and the interest information of the user based on the first bullet screen content and the second bullet screen content. For example, the existing one-bullet-screen content is the first bullet-screen content of "take away my name 1", where the name 1 is the name of a character that a certain actor performs in the video. According to the bullet screen content, the electronic device may generate new bullet screen content, such as "take away my name 2", where name 2 may be the real name of the actor, or name 2 may also be the nickname of the user to the actor.
In an optional embodiment, the electronic device may assign a first preset weight to the first barrage content, assign a second preset weight to the second barrage content, and determine the first barrage pool according to the assigned weight and the feature information of the user. Namely, according to the characteristic information of the user, the first preset weight and the second preset weight, performing text analysis on the first bullet screen content and the second bullet screen content to obtain a first bullet screen pool.
For example, the first preset weight is greater than the second preset weight. "must be the way I opened is not correct", "yaws! The opening mode is not similar to the meaning and emotion of the two bullet screen contents, and only a certain difference exists in the text content of the expression. Just like! The opening mode not corresponding to "is the first barrage content with larger weight," certainly, the opening mode not corresponding to "is the second barrage content with smaller weight, and then when the first barrage content and the second barrage content are screened, the user can only use" a law! The opening mode is not opposite, the bullet screen content is stored in the first bullet screen pool, and the bullet screen content which is definitely not opposite in the opening mode is discarded.
The first preset weight may be greater than the second preset weight, may also be less than the second preset weight, and may also be equal to the second preset weight. In the embodiment of the present invention, the magnitudes of the first preset weight and the second preset weight are not particularly limited.
Step S1022, performing text analysis on the third bullet screen content according to the attribute information of the video to be shared, so as to obtain a second bullet screen pool. And the third bullet screen content is bullet screen content contained in the video to be shared. The number of the third bullet screen contents may be one or more.
The attribute information of the video to be shared may include one or more of tag information, category information, content information, video ID information, director information, actor information, and the like of the video to be shared.
Regarding the generation method of the second bullet screen pool, the electronic device may generate the second bullet screen pool according to the tag information, the category information, the content information, the video ID information, the director information, the actor information, and the like of the video to be shared. Specifically, reference may be made to a generation method of the first bullet screen pool, which is not described herein again. In the embodiment of the present invention, the generation manner of the first barrage pool and the second barrage pool is not particularly limited.
In the text analysis process of the first bullet screen content, the second bullet screen content and the third bullet screen content, reference may be made to a text analysis process shown in fig. 2. Specifically, for the first barrage content, the second barrage content, and the third barrage content, the electronic device may analyze the first barrage content, the second barrage content, and the third barrage content from three dimensions, i.e., a vocabulary dimension, a syntax dimension, and a semantic dimension, respectively.
In the dimension of the vocabulary, word segmentation processing can be carried out on each bullet screen content to obtain a plurality of word segments corresponding to the bullet screen content. For each participle, the participle is analyzed according to the part of speech, whether the participle is a proper noun or not, the importance of the participle, synonyms or near-synonyms, the position in the bullet screen content before the participle and the like.
In the grammar dimension, the grammar structure of each bullet screen content can be analyzed by methods such as a grammar structure model, a knowledge graph base and word vector analysis.
In semantic dimension, the text information, text semantics, emotional tendency, forbidden words and the like of each bullet screen content can be analyzed.
The electronic device can obtain the first bullet screen pool and the second bullet screen pool from analysis results of the first bullet screen content, the second bullet screen content and the third bullet screen content in the vocabulary dimension, the grammar dimension and the age dimension.
When performing text analysis on the first barrage content, the second barrage content, and the third barrage content, the electronic device may selectively analyze the barrage content from a vocabulary dimension, a syntax dimension, and a semantic dimension according to the specific content of each barrage content. For example, the "front high energy" bullet screen content may be text analyzed from semantic dimensions only. As another example, "must be that I open not in the same way", "will you! The opening mode does not analyze the two bullet screen contents, and text analysis can be performed from the vocabulary dimension and the semantic dimension. In the embodiment of the present invention, the text analysis method is not particularly limited.
According to the feature information of the user and the attribute information of the video to be shared, the determined bullet screen content in the target bullet screen pool can better embody the feature information of the user, so that the to-be-inserted bullet screen content inserted into the video to be shared can sufficiently show the personality of the user, the personality of the user can be shown when the user shares the video, the cost of network social contact of the user is saved, and better experience is brought to the user.
In an optional embodiment, for the first bullet screen pool and the second bullet screen pool, in the step S103, selecting bullet screen content from the target bullet screen pool, as the step to be inserted with the bullet screen content, specifically, the step may include: the electronic equipment selects the bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively according to a preset proportion to obtain a preset number of bullet screen contents to be inserted, wherein the preset proportion is the proportion of the number of the bullet screen contents selected from the first bullet screen pool and the number of the bullet screen contents selected from the second bullet screen pool.
For example, a first bullet screen pool includes 200 bullet screen contents, a second bullet screen pool includes 1000 bullet screen contents, the preset ratio is 2:1, and the preset number is 90, for example, according to the preset ratio of 2:1, 90 × [2/(1+2) ] -60 bullet screen contents may be selected from the first bullet screen pool, 90 [1/(1+2) ] -30 bullet screen contents may be selected from the second bullet screen pool, and 60+30 ═ 90 bullet screen contents are selected as bullet screen contents to be inserted.
In the embodiment of the present invention, the preset ratio may be set according to the feature information of the user, the user requirement, and the attribute feature of the video to be processed. For example, the electronic device records a user's detailed feature information, such as the user's age, education, work, and so on, and when selecting the bullet screen content to be inserted, the electronic device may appropriately reduce the number of bullet screen contents selected from the second bullet screen pool, for example, the preset ratio is set to 1:0, that is, only a preset number of bullet screen contents are selected from the first bullet screen pool as the bullet screen content to be inserted. In the embodiment of the present invention, the preset ratio is not particularly limited.
In summary, according to the method provided by the embodiment of the present invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully represented by the barrage content inserted into the video to be shared, and the personality of the user can be fully represented by the video to be shared inserted into the barrage content, so that the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
In an optional embodiment, an embodiment of the present invention further provides a video sharing method, as shown in fig. 3, and fig. 3 is a second flowchart of the video sharing method according to the embodiment of the present invention. The method may include the following steps.
Step S301, determining the video to be shared selected by the user.
Step S302, determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared. Wherein, the target barrage pool comprises at least one barrage content.
Step S303, selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted.
The above steps S301 to S303 are the same as the above steps S101 to S103.
Step S304, selecting a time point from the time pool as a time point to be inserted.
In this step, the time pool includes a plurality of time points. The electronic device may select a plurality of time points from the time pool as the time points to be inserted. The number of the time points to be inserted is at least one time point.
In an embodiment, the electronic device may generate the time pool according to a time point at which the first barrage content and the second barrage content are inserted into different videos and a time point at which the third barrage content is inserted into a video to be shared. For example, if a time point of a video frame corresponding to a third barrage content in the video to be shared is 5 minutes of the video to be shared, the 5 minutes of the video to be shared may be a time point included in the time pool.
In another embodiment, the electronic device may select a time point at which the watching heat is greater than a preset watching threshold according to the watching heat at a time point corresponding to each video frame in the video to be shared, and generate the time pool. For example, video 1 is a video to be shared, and according to the watching heat curve of video 1, it may be determined that at 10 minutes and 20 minutes of video 1, the watching heat of the user is greater than a preset watching threshold, and then the 10 minutes and 20 minutes corresponding to video 1 may be two time points included in the time pool.
The watching heat degree curve is a curve for recording the watching heat degree, which is generated by statistics according to the watching number, the interaction number, the video closing rate and the like of the video to be shared at the time point corresponding to each video frame of the video to be shared by different users. The preset watching threshold value can be set according to the watching heat at the time point corresponding to each video frame in the video to be shared. In the embodiment of the present invention, the preset viewing threshold is not specifically described.
In an optional embodiment, in order to enable the generated time pool to better reflect the watching heat of the video to be shared at the corresponding time point of each video frame, and further enable the electronic device to insert the bullet screen content to be inserted into a suitable position of the video to be shared, the time pool may be generated according to the following steps.
Step one, a first time point of the third bullet screen content inserted into the video to be shared is obtained.
In an optional embodiment, for each third barrage content included in the video to be shared, the electronic device may obtain a time point corresponding to a video frame of the third barrage content in the video to be shared, as the first time point.
In another optional embodiment, the electronic device may select, as the first time point, a time point including a video frame of which the number of the third barrage content is greater than a preset threshold according to a time point corresponding to a video frame of the third barrage content in the video to be shared. For example, the preset threshold is 20, and if the third bullet screen content published by the user in the video frame at a certain time point is greater than 20, for example, 30>20, the time point may be taken as the first time point by the electronic device.
And step two, according to the watching heat degrees of the video to be shared at different time points, the electronic equipment can select a second time point with the watching heat degree larger than a preset watching heat degree threshold value.
And step three, generating a time pool according to the first time point and the second time point.
In one embodiment, the electronic device may filter the first time point and the second time point to obtain a time pool. For example, there are 5 first time points and 3 second time points, and 4 time points can be randomly selected from the first time points and the second time points to generate a time pool.
In another embodiment, the electronic device may take an intersection of the first time point and the second time point to generate a time pool. For example, the video to be shared is a movie which is recently being shown, the movie has a large amount of viewing, and the movie contains a large amount of bullet screen content. When generating the time pool according to the first time point and the second time point corresponding to the movie, in order to appropriately reduce the number of time points included in the time pool, the electronic device may use an intersection of the first time point and the second time point, that is, the time points belonging to the first time point and the second time point as the time points included in the time pool.
In another embodiment, the electronic device may generate a time pool by merging the first time point and the second time point. For example, the video to be shared is an old movie of 80 years, the movie only has a small amount of viewing, and the movie contains relatively little bullet-screen content. When generating the time pool according to the first time point and the second time point corresponding to the movie, in order to increase the number of time points included in the time pool, the electronic device may merge the first time point and the second time point to generate the time pool, so that both the first time point and the second time point may be included in the time pool.
The time pool can select different generation methods according to the playing condition of the video to be shared, the bullet screen condition and the like. In the embodiment of the present invention, the method for generating the time pool is not particularly limited.
In the embodiment of the present application, the execution order of step S302 and step S304 is not limited.
Step S305, inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
In an embodiment, for each bullet screen content to be inserted, the electronic device may randomly select one time point to be inserted from a plurality of time points to be inserted of the video to be shared, and insert the bullet screen content to be inserted at the time point to be inserted.
The description will be given by taking the number of bullet screen contents to be inserted as 10 and the number of time points to be inserted as 12 as an example. If the 10 bullet screen contents to be inserted are respectively the bullet screen 1 to the bullet screen 10, the electronic device may randomly select a time point to be inserted from the 12 time points to be inserted for the bullet screen 1, and if the selected time point to be inserted is the time point 1, insert the bullet screen 1 into the time point 1 of the video to be shared. By analogy, inserting the bullet screens 2 to 10 into the video to be shared respectively.
In another embodiment, for each bullet screen content to be inserted, the electronic device may select, from a plurality of time points to be inserted, a time point to be inserted having a smallest time interval with the time point according to the time point at which the bullet screen content to be inserted is published in the corresponding video.
For example, there are 2 time points to be inserted, which are time point 1 and time point 2, respectively. The bullet screen content to be inserted is bullet screen content published in a certain video by a user selected from the first bullet screen pool, the electronic device can calculate the difference between the time point 3 and the time points 1 and 2 respectively according to the time point 3 corresponding to the video frame of the bullet screen content in the video by the user, select the time point with smaller difference as the time point to be inserted corresponding to the bullet screen content to be inserted, and insert the bullet screen content to be inserted at the time point to be inserted. And setting the time point with the smaller difference value as a time point 2, and inserting the bullet screen content to be inserted into the video frame of the time point 2 of the video to be shared by the electronic equipment.
The number of the time points to be inserted may be the same as the number of the bullet screen contents to be inserted. The number of the time points to be inserted may also be different from the number of the bullet screen contents to be inserted, for example, the number of the time points to be inserted is greater than or less than the number of the bullet screen contents to be inserted. In the embodiment of the present invention, the relationship between the time point to be inserted and the bullet screen content to be inserted in terms of number is not specifically limited, and the number of bullet screen content to be inserted in each time point to be inserted is also not specifically limited.
And step S306, sharing the video to be shared after the bullet screen content to be inserted is inserted.
Step S306 is the same as step S105.
In an optional embodiment, the generation time of the time pool may be before the generation time of the target bullet screen pool, or may be after the generation time of the target bullet screen pool, and may also be the same as the generation time of the target bullet screen pool. In the embodiment of the present invention, the sequence of the generation times of the time pool and the target bullet screen pool is not specifically limited.
In an optional embodiment, in order to enable content of a bullet screen to be inserted, which is inserted into a video to be shared, to be more matched with the content of the video to be shared, when the electronic device inserts the content of the bullet screen to be inserted into the video to be shared, in addition to inserting the content of the bullet screen to be inserted into a plurality of time points to be inserted, which are selected from the time pool, the electronic device may also insert the content of the bullet screen to be inserted into a time point of a video frame where third bullet screen content similar to the content of the bullet screen to be inserted is located.
For example, the video to be shared is a thriller movie, and the third barrage content of the movie contains a large amount of barrage content of types such as "high energy ahead", "high energy warning", and the like. At present, the bullet screen content to be inserted is "front high energy", and then the bullet screen content to be inserted, of which the bullet screen content is "front high energy", can be inserted at the time point corresponding to the video frame of the movie by referring to the "front high energy" and "high energy early warning" bullet screen content in the third bullet screen content.
By inserting the bullet screen content to be inserted into the video to be shared at the time point to be inserted, each bullet screen content to be inserted is more matched with the video content of the video to be shared, the user experience in the process that the user watches the video to be shared can be reflected, the personality of the user is shown when the user shares the video, the network social contact cost of the user is saved, and better experience is brought to the user.
In an optional embodiment, an embodiment of the present invention further provides a video sharing method, as shown in fig. 4, where fig. 4 is a third schematic flow chart of the video sharing method according to the embodiment of the present invention. The method comprises the following steps.
Step S401, determining the video to be shared selected by the user.
Step S402, determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared. Wherein, the target barrage pool comprises at least one barrage content.
Step S403, selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted.
And S404, inserting the bullet screen content to be inserted into the video to be shared.
The above-described steps S401 to S404 are the same as the above-described steps S101 to S104.
Step S405, the paster with the use frequency larger than the preset frequency value is obtained, and/or the paster used by the user is obtained and used as the paster to be inserted.
In one embodiment, the electronic device may select a sticker with a usage frequency greater than a preset frequency value as the sticker to be inserted. The frequency of use may be the frequency of use of a sticker within a preset time. The preset time may be a week time, a month time, etc. In the embodiment of the present invention, the preset time is not particularly limited.
In another embodiment, the electronic device may select a sticker that has been used by the user as the sticker to be inserted.
In the embodiment of the invention, the sticker to be inserted can also be a user-defined sticker. The user-defined sticker can be a static sticker and also can be a dynamic sticker. For example, a user may animate a love on a screen of an electronic device, and a static sticker may be generated based on the love drawn by the user. Or generating the dynamic paster according to the love-drawing track of the user. And selecting the static sticker and/or the dynamic sticker as the sticker to be inserted. In the embodiment of the present invention, the selection manner and the number of the stickers to be inserted are not particularly limited.
Step S406, insert the to-be-inserted sticker into the to-be-shared video.
The manner of inserting the sticker to be inserted into the video to be shared may refer to the manner of inserting the bullet screen to be inserted into the video to be shared, which is not specifically described herein.
Step S407, sharing the video to be shared with the bullet screen content to be inserted and the sticker to be inserted.
In this step, the electronic device may share the video to be shared in which the bullet screen content to be inserted and the sticker to be inserted are inserted in the social networking circle of the user.
In the embodiment of the present invention, the selection sequence of the to-be-inserted sticker and the to-be-inserted barrage content, and the sequence of inserting the to-be-inserted barrage content and the to-be-inserted sticker in the to-be-shared video are not specifically limited.
By inserting the to-be-inserted sticker into the to-be-shared video, the to-be-shared video can be richer, the personality of the user can be displayed when the user shares the video, the social cost of the user network is saved, the creation enthusiasm of the user on the custom sticker is stimulated, and better experience is brought to the user.
Based on the same inventive concept, according to the video sharing method provided by the embodiment of the invention, the embodiment of the invention also provides a video sharing device. As shown in fig. 5, fig. 5 is a schematic structural diagram of a video sharing device according to an embodiment of the present invention. The apparatus includes the following modules.
The first determining module 501 is configured to determine a video to be shared, which is selected by a user.
The second determining module 502 is configured to determine a target barrage pool according to the feature information of the user and the attribute information of the video to be shared, where the target barrage pool includes at least one barrage content.
And the selecting module 503 is configured to select the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted.
The first inserting module 504 is configured to insert the bullet screen content to be inserted into the video to be shared.
And the sharing module 505 is configured to share the video to be shared after the bullet screen content to be inserted is inserted.
Optionally, the second determining module 502 may be specifically configured to perform text analysis on the first bullet screen content and the second bullet screen content according to the feature information of the user, so as to obtain a first bullet screen pool; performing text analysis on the third bullet screen content according to the attribute information of the video to be shared to obtain a second bullet screen pool; the target bullet screen pool comprises a first bullet screen pool and a second bullet screen pool; the first barrage content is barrage content published by a user; the second barrage content is barrage content published by other users praised by the user; the third barrage content is barrage content contained in the video to be shared.
Optionally, the characteristic information may include: one or more of age information, character information, and interest information of the user.
The attribute information may include: and one or more of label information, category information and content information of the video to be shared.
Optionally, the selecting module 503 may be specifically configured to select, according to a preset ratio, the bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively, so as to obtain a preset number of bullet screen contents to be inserted, where the preset ratio is a ratio between the number of the bullet screen contents selected from the first bullet screen pool and the number of the bullet screen contents selected from the second bullet screen pool.
Optionally, the video sharing apparatus may further include:
the first acquisition module is used for acquiring a first time point when the third barrage content is inserted into the video to be shared; and the third bullet screen content is bullet screen content contained in the video to be shared.
And the selecting module is used for selecting a second time point with the watching heat degree larger than a preset watching heat degree threshold value according to the watching heat degrees of the video to be shared at different time points.
And the generating module is used for generating a time pool according to the first time point and the second time point.
The first insertion module 504 may be specifically configured to select a time point from a time pool as a time point to be inserted; and inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
Optionally, the video sharing apparatus may further include:
and the second acquisition module is used for acquiring the paster with the use frequency greater than the preset frequency value and/or acquiring the paster used by the user as the paster to be inserted.
And the second inserting module is used for inserting the paster to be inserted into the video to be shared.
The sharing module 505 may be specifically configured to share the video to be shared, where the barrage content to be inserted and the sticker to be inserted are inserted.
By the device provided by the embodiment of the invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
Based on the same inventive concept, according to the video sharing method provided by the above embodiment of the present invention, an embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 601, a communication interface 602, a memory 603, and a communication bus 604, where the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604;
a memory 603 for storing a computer program;
the processor 601 is configured to implement the following steps when executing the program stored in the memory 603:
determining a video to be shared selected by a user;
determining a target bullet screen pool according to the characteristic information of the user and the attribute information of the video to be shared, wherein the target bullet screen pool comprises at least one bullet screen content;
selecting bullet screen content from the target bullet screen pool as bullet screen content to be inserted;
inserting the bullet screen content to be inserted into the video to be shared;
and sharing the video to be shared after the bullet screen content to be inserted is inserted.
According to the electronic equipment provided by the embodiment of the invention, the barrage content inserted into the video to be shared is determined based on the characteristic information of the user, so that the personality of the user can be fully embodied by the barrage content inserted into the video to be shared, the personality of the user can be fully embodied by the video to be shared inserted into the barrage content, the personality of the user can be displayed when the user shares the video, and the experience of the user is enhanced.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. 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 is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Based on the same inventive concept, according to the video sharing method provided in the above embodiment of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any of the above video sharing methods.
Based on the same inventive concept, according to the video sharing method provided in the embodiments of the present invention, an embodiment of the present invention further provides a computer program product including instructions, which, when running on a computer, causes the computer to execute any of the video sharing methods in the 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. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. 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, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (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.
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 embodiments such as the apparatus, the electronic device, the computer-readable storage medium, and the computer program product, since they are substantially similar to the method embodiments, the description is simple, and for relevant points, reference may be made to part of the description of the method embodiments.
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 (11)

1. A video sharing method, comprising:
determining a video to be shared selected by a user;
performing text analysis on the first bullet screen content and the second bullet screen content according to the characteristic information of the user to obtain a first bullet screen pool;
performing text analysis on the third bullet screen content according to the attribute information of the video to be shared to obtain a second bullet screen pool;
the target bullet screen pool comprises the first bullet screen pool and the second bullet screen pool; the first barrage content is barrage content published by the user; the second barrage content is barrage content published by other users praised by the user; the third bullet screen content is bullet screen content contained in the video to be shared, and the target bullet screen pool comprises at least one bullet screen content;
selecting bullet screen content from the target bullet screen pool as bullet screen content to be inserted;
inserting the bullet screen content to be inserted into the video to be shared;
and sharing the video to be shared after the bullet screen content to be inserted is inserted.
2. The method of claim 1, wherein the feature information comprises: one or more of age information, personality information, and interest information of the user;
the attribute information includes: and one or more of the label information, the category information and the content information of the video to be shared.
3. The method of claim 1, wherein the step of selecting the bullet screen content from the target bullet screen pool as the bullet screen content to be inserted comprises:
and selecting bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively according to a preset proportion to obtain a preset number of bullet screen contents to be inserted, wherein the preset proportion is the proportion of the number of the bullet screen contents selected from the first bullet screen pool and the number of the bullet screen contents selected from the second bullet screen pool.
4. The method of claim 1, further comprising:
acquiring a first time point of inserting third barrage content into the video to be shared; the third barrage content is barrage content contained in the video to be shared;
selecting a second time point with the watching heat degree larger than a preset watching heat degree threshold value according to the watching heat degrees of the video to be shared at different time points;
generating a time pool according to the first time point and the second time point;
the step of inserting the bullet screen content to be inserted into the video to be shared includes:
selecting a time point from the time pool as a time point to be inserted;
and inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
5. The method of claim 1, further comprising:
acquiring a sticker with the use frequency larger than a preset frequency value and/or acquiring a sticker used by the user as a sticker to be inserted;
inserting the paster to be inserted into the video to be shared;
the step of sharing the video to be shared after the bullet screen content to be inserted is inserted includes:
and sharing and inserting the bullet screen content to be inserted and the video to be shared of the sticker to be inserted.
6. A video sharing apparatus, comprising:
the first determining module is used for determining the video to be shared selected by the user;
the second determining module is used for performing text analysis on the first bullet screen content and the second bullet screen content according to the characteristic information of the user to obtain a first bullet screen pool; performing text analysis on the third bullet screen content according to the attribute information of the video to be shared to obtain a second bullet screen pool; the target bullet screen pool comprises the first bullet screen pool and the second bullet screen pool; the first barrage content is barrage content published by the user; the second barrage content is barrage content published by other users praised by the user; the third bullet screen content is bullet screen content contained in the video to be shared, and the target bullet screen pool comprises at least one bullet screen content;
the selection module is used for selecting the bullet screen content from the target bullet screen pool as bullet screen content to be inserted;
the first inserting module is used for inserting the bullet screen content to be inserted into the video to be shared;
and the sharing module is used for sharing the video to be shared after the bullet screen content to be inserted is inserted.
7. The apparatus of claim 6, wherein the feature information comprises: one or more of age information, personality information, and interest information of the user;
the attribute information includes: and one or more of the label information, the category information and the content information of the video to be shared.
8. The apparatus according to claim 6, wherein the selecting module is specifically configured to select, according to a preset ratio, the bullet screen contents from the first bullet screen pool and the second bullet screen pool respectively to obtain a preset number of bullet screen contents to be inserted, where the preset ratio is a ratio of the number of the bullet screen contents selected from the first bullet screen pool to the number of the bullet screen contents selected from the second bullet screen pool.
9. The apparatus of claim 6, further comprising:
the first acquisition module is used for acquiring a first time point of inserting the third barrage content into the video to be shared; the third barrage content is barrage content contained in the video to be shared;
the selecting module is used for selecting a second time point with the watching heat degree larger than a preset watching heat degree threshold value according to the watching heat degrees of the video to be shared at different time points;
the generating module is used for generating a time pool according to the first time point and the second time point;
the first inserting module is specifically configured to select a time point from the time pool as a time point to be inserted; and inserting the bullet screen content to be inserted at the time point to be inserted of the video to be shared.
10. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring the paster with the use frequency greater than the preset frequency value and/or acquiring the paster used by the user as the paster to be inserted;
the second inserting module is used for inserting the paster to be inserted into the video to be shared;
the sharing module is specifically used for sharing the to-be-shared videos which are inserted with the bullet screen content to be inserted and the to-be-shared videos which are inserted with the stickers.
11. An electronic device 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 mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
CN201910450528.1A 2019-05-28 2019-05-28 Video sharing method and device Active CN110198491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910450528.1A CN110198491B (en) 2019-05-28 2019-05-28 Video sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910450528.1A CN110198491B (en) 2019-05-28 2019-05-28 Video sharing method and device

Publications (2)

Publication Number Publication Date
CN110198491A CN110198491A (en) 2019-09-03
CN110198491B true CN110198491B (en) 2021-07-30

Family

ID=67753204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910450528.1A Active CN110198491B (en) 2019-05-28 2019-05-28 Video sharing method and device

Country Status (1)

Country Link
CN (1) CN110198491B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372116B (en) * 2020-03-27 2023-01-03 咪咕文化科技有限公司 Video playing prompt information processing method and device, electronic equipment and storage medium
CN111880874A (en) * 2020-07-13 2020-11-03 腾讯科技(深圳)有限公司 Media file sharing method, device and equipment and computer readable storage medium
CN112001184B (en) * 2020-08-14 2022-10-11 西华大学 User emotion difference region detection method and system for video bullet screen
CN113784215B (en) * 2021-09-08 2023-07-25 天津智融创新科技发展有限公司 Character feature detection method and device based on intelligent television
CN114697745A (en) * 2022-03-30 2022-07-01 咪咕文化科技有限公司 Video sharing method, device, equipment and storage medium
CN115086742A (en) * 2022-06-13 2022-09-20 北京达佳互联信息技术有限公司 Audio and video generation method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215512A1 (en) * 2012-07-20 2014-07-31 Panasonic Corporation Comment-provided video generating apparatus and comment-provided video generating method
CN104980809A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Barrage processing method and apparatus
CN105898560A (en) * 2016-03-31 2016-08-24 广州华多网络科技有限公司 Video editing method and device
CN106101756A (en) * 2016-06-07 2016-11-09 腾讯科技(北京)有限公司 Barrage display packing, barrage adding method, Apparatus and system
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215512A1 (en) * 2012-07-20 2014-07-31 Panasonic Corporation Comment-provided video generating apparatus and comment-provided video generating method
CN104980809A (en) * 2015-06-30 2015-10-14 北京奇艺世纪科技有限公司 Barrage processing method and apparatus
CN105898560A (en) * 2016-03-31 2016-08-24 广州华多网络科技有限公司 Video editing method and device
CN106101756A (en) * 2016-06-07 2016-11-09 腾讯科技(北京)有限公司 Barrage display packing, barrage adding method, Apparatus and system
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium

Also Published As

Publication number Publication date
CN110198491A (en) 2019-09-03

Similar Documents

Publication Publication Date Title
CN110198491B (en) Video sharing method and device
US10437842B2 (en) Social static ranking for search
CN108369715B (en) Interactive commentary based on video content characteristics
US9396763B2 (en) Computer-assisted collaborative tagging of video content for indexing and table of contents generation
US9892109B2 (en) Automatically coding fact check results in a web page
US10324591B2 (en) System for creating and retrieving contextual links between user interface objects
CN106331778B (en) Video recommendation method and device
AU2013342184B2 (en) Providing content recommendation to users on a site
US10067987B1 (en) Storage, retrieval, and ranking of data objects representing insights
US10528912B2 (en) User profile improvement system
JP2019532422A (en) Display keyframes for videos on online social networks
US10592074B2 (en) Systems and methods for analyzing visual content items
CN109511015B (en) Multimedia resource recommendation method, device, storage medium and equipment
JP2017514194A (en) Ideogram based on sentiment analysis
US11468143B2 (en) System and method for the generation and interactive editing of living documents
US8954868B2 (en) Guided profile editing system
US20160048760A1 (en) Natural language management of online social network connections
CN111010619A (en) Method, apparatus, computer device and storage medium for processing short video data
CN109245989A (en) A kind of processing method, device and computer readable storage medium shared based on information
TW202101252A (en) Method and device for displaying conversation information
CN109116718B (en) Method and device for setting alarm clock
Thurman Real-time online reporting: Best practices for live blogging
US20150134655A1 (en) Topic recommendation in a social network environment
US10579714B1 (en) Dynamic page classifier for ranking content
US20170177719A1 (en) Dynamic video acquisition based on event characteristics

Legal Events

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